Skip to content
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

Increase verboseness of poetry update cli command in documentation #8707

Closed
1 task done
DhenPadilla opened this issue Nov 24, 2023 · 1 comment · Fixed by #8706
Closed
1 task done

Increase verboseness of poetry update cli command in documentation #8707

DhenPadilla opened this issue Nov 24, 2023 · 1 comment · Fixed by #8706
Labels
area/docs Documentation issues/improvements

Comments

@DhenPadilla
Copy link
Contributor

  • I have searched the issues of this repo and believe that this is not a duplicate.

Issue

I was getting quite frustrated with the poetry update <package_name> or poetry update <package_name>@latest command resulting in no-op. Since my pyproject.toml, the specified <package_name> had a version constraint of: ^0.28.0, and the latest version on PyPi was 1.3.4.

However, I finally decided to use poetry add <package_name>@^1.3.4 and this updated my desired package successfully, but this was not prompted via the documentation.

The docs for the poetry update command mentioned no-op for ~ version constraints, which lead me to (naively) believe that there should not be a no-op for ^0.28, although SemVer mentions this constraint as >=0.28, <1.0. I did not understand this beforehand, and was attempting to find constraints in the docs.
I think adding a quick reference to the documentation around SemVer/version constraints in the documentation for poetry update would help anyone new to SemVer.

@DhenPadilla DhenPadilla added area/docs Documentation issues/improvements status/triage This issue needs to be triaged labels Nov 24, 2023
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
@abn abn removed the status/triage This issue needs to be triaged label Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/docs Documentation issues/improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants