-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version is not changed in pyproject.toml #1696
Comments
Hello @ktsibikov , could you please test it with the latest preview? Notice that syntax has changed their. fin swimmer |
Tried with the |
Hm, I tried it with the How have you installed |
Hi @finswimmer ! Yes, I did
|
Hm, strange. I'm absolutely unable to reproduce this behavior. Is there anyone else out there with this problem? |
The same behavior is on 1.0.0 version
|
We are experiencing the same issue, it does not happen all the time however. We have currently reproduced the issue by going to the commit that fails in our GitHub Actions build but are still investigating. It seems that when the problem is present, you can't update to any version When I mean it does not happen all the time, we could have a version Note: This happened in |
I am not sure wether this is helpful or not - just hoping to save you some time.
Some time ago I had similar issues. It turned out that when the entries in the pyproject.toml file are not in correct order or grouped together, version bumping fails without error. Details in #1182
Kindest regards,
Dr [Engel]bert Tijskens - HPC Analyst/Consultant
Flemish Supercomputer Center
University of Antwerp / Computational mathematics
++32 3 265 3879, ++32 494 664408
On 21 Feb 2020, at 02:18, Christopher Farrenden <notifications@github.com<mailto:notifications@github.com>> wrote:
We are experiencing the same issue, it does not happen all the time however. We have currently reproduced the issue by going to the commit that fails in our GitHub Actions build but are still investigating. It seems that when the problem is present, you can't update to any version
When I mean it does not happen all the time, we could have a version 5.0.0 and update to 5.0.1dev1, 5.0.1dev2, 5.0.1dev3 but then fail on 5.0.1dev4. Usually after a new release we don't run into the issue for a little while but appears again
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpython-poetry%2Fpoetry%2Fissues%2F1696%3Femail_source%3Dnotifications%26email_token%3DACRDDFQRGEGNYHUMWHX7SM3RD4TU7A5CNFSM4JYPETGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMRFKEY%23issuecomment-589452563&data=02%7C01%7Cengelbert.tijskens%40uantwerpen.be%7C66186e2903674f1454b008d7b66be93f%7C792e08fb2d544a8eaf72202548136ef6%7C0%7C0%7C637178446905558500&sdata=bOto9gvRc6Mq0Cbeqya36WbtBq2m9KzRYnZjqCxwntU%3D&reserved=0>, or unsubscribe<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACRDDFRXY3QCH3RP6FXXIATRD4TU7ANCNFSM4JYPETGA&data=02%7C01%7Cengelbert.tijskens%40uantwerpen.be%7C66186e2903674f1454b008d7b66be93f%7C792e08fb2d544a8eaf72202548136ef6%7C0%7C0%7C637178446905568497&sdata=5ocR7QkTGSlB%2BHNXksOpuko8gwN1Wq%2FrK5VF1vsPrrY%3D&reserved=0>.
|
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. |
This has been fixed in tomlkit (see python-poetry/tomlkit#68). I will make a new release of tomlkit today along with a new release of Poetry. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
Steps to reproduce:
pyproject.toml
poetry version patch
Expected behavior: version in
pyproject.toml
was updated.Actual behavior: version in
pyproject.toml
was not updated.The text was updated successfully, but these errors were encountered: