You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
I have searched the documentation and believe that my question is not covered.
Feature Request
Assume a package "mypackage" exists with the following versions:
0.1.0
0.1.0+dirty.1
0.1.1
And we define the following dependency in poetry: mypackage = {version = ">=0.1.0,<0.1.1", allow-prereleases = false}
Poetry will resolve to version 0.1.0+dirty.1.
A feature similar to allow-prereleases that disables local version identifiers in the search would be helpful.
Example: mypackage = {version = ">=0.1.0,<0.1.1", allow-local = false} should resolve to 0.1.0.
AFAIK the only possible way to do that now is: mypackage = {version = ">=0.1.0,<0.1.1,!=0.1.0+dirty.1"}, i.e. listing any version with a local identifier.
Feature Request
Assume a package "mypackage" exists with the following versions:
And we define the following dependency in poetry:
mypackage = {version = ">=0.1.0,<0.1.1", allow-prereleases = false}
Poetry will resolve to version
0.1.0+dirty.1
.A feature similar to
allow-prereleases
that disables local version identifiers in the search would be helpful.Example:
mypackage = {version = ">=0.1.0,<0.1.1", allow-local = false}
should resolve to0.1.0
.AFAIK the only possible way to do that now is:
mypackage = {version = ">=0.1.0,<0.1.1,!=0.1.0+dirty.1"}
, i.e. listing any version with a local identifier.Possibly related to #2543
The text was updated successfully, but these errors were encountered: