-
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
(📚) Include a blurb in the section for 'Exact requirements' that says the difference without the ==
#7485
Comments
There is no difference:
Relevant part of the code: https://github.com/python-poetry/poetry-core/blob/b5d1934fed190bbfd1a303b44d5e2ef9a600efed/src/poetry/core/constraints/version/parser.py#L155-L165 |
Thought so. Is there any preference? the |
We are currently working towards supporting PEP 621 (pyproject metadata spec) and there will probably be a lot of changes and deprecations then. I don't think it makes sense to deprecate this right now. |
It's not even redundant -- we explicitly support PEP 440 style specifiers, but have our own features 'on top' (no PEP 621 will require Poetry to drop its own custom features in favor of the ecosystem-standard specifiers; if anything we may explore deprecating our syntax sugar. |
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. |
Issue
What is the difference between
pendulum = "2.1.2"
andpendulum = "==2.1.2"
.In fact, the 'Dependency specification' page doesn't mention bare dependencies at all, which are the type that Poetry adds.
ie:
👉 poetry add pendulum==2.1.2
->pendulum = "2.1.2"
.The text was updated successfully, but these errors were encountered: