Replies: 2 comments 1 reply
-
Due to Poetry's version parsing method, it interprets the version as being >= 0.1.4 and < 0.1.5, and it seems to give higher priority to versions with a "-sha" identifier. if connections with this, I found the following command in the official documentation. It is recommanded to specify the version using the following command: poetry add 'package==0.1.4'
I hope this helps. Have a great day! |
Beta Was this translation helpful? Give feedback.
-
According to the standard What you want is called "arbitrary equality" by the standard and not supported by Poetry. See #7256. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem:
When specifying a poetry add package@version i.e. ([email protected]) it will match [email protected] instead of [email protected] (seems like poetry assumes anything with the extra value is later than the bare version number).
Expectation:
I would expect poetry to match my exact version number I specified rather than attempting to grab a potentially earlier or later version number
Extra Info:
I did in fact verify that the bare version package is marked as latest in our server. So it's not a matter of what is marked as latest.
Is there any syntax that will actively do what is expected? Perhaps specifying with a parameter or with the use of quotes?
Beta Was this translation helpful? Give feedback.
All reactions