Version is not changed in pyproject.toml
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- OS version and name: macOS Mojave
- Poetry version: Poetry 1.0.0
- Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/ktsibikov/c047dec8000bbf622162ebcad0230c54
Issue
Steps to reproduce:
- Add source section in
pyproject.toml
- Patch package version executing command
poetry version patch
Expected behavior: version in pyproject.toml
was updated.
Actual behavior: version in pyproject.toml
was not updated.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Version is not changed in pyproject.toml · Issue #1696 - GitHub
I am on the latest Poetry version. I have searched the issues of this repo and believe that this is not a duplicate....
Read more >Poetry pyproject.toml not updating after running 'poetry add ...
I have a django project, with a single virtual env by poetry. At the root of the project is a pyproject.toml and poetry.lock...
Read more >Frequently Asked Questions - PyScaffold 4.3.1 documentation
Remove the [tool.setuptools_scm] section of pyproject.toml . ... Semantic Versioning and will not change in a backwards incompatible way between releases.
Read more >Configuration — python-semantic-release 7.32.2 documentation
pyproject.toml file in a [tool.semantic_release] section. -D option, like so: ... Whether or not to commit changes when bumping version.
Read more >Configuring setuptools using pyproject.toml files
pip may allow editable install only with pyproject.toml and setup.cfg . However, this behavior may not be consistent over various pip versions and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This has been fixed in tomlkit (see https://github.com/sdispater/tomlkit/pull/68).
I will make a new release of tomlkit today along with a new release of Poetry.
I think the problem is somewhere inside these lines, sometimes the version is not updated correctly in the file content (that is a tomlkit.toml_document.TOMLDocument object). But I didn’t understand why…
In my case, this is my configuration where poetry can’t update the version correctly. I have the isort configuration inside, if I remove it, the poetry is able to update correctly the version in pyproject.toml file…