-
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
Wrong version installed when using PEP 440 version epochs #892
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I believe this issue is still valid and should be treated as a bug. |
The semver.Version doesn't support it, but the version.Version parser does. It seems a bit strange to have two different parsers, I think if the semver Parser only parsed the constraint out but not the versions that could work? @sdispater how do you think this should be structured? Separating it into: # constraint_parser being a regex that has ((named constraint 1)?|(named constraint 2)?...)?(+rest_of_string)
constraint_parser = m.parse(constraint)
version_string = m.groups('rest_of_string') Then pass the version to I don't really know what semver versions are used for as opposed to version versions. |
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
1!2019.2.12
is requested but1!2015.2.1
is installed:I see code that seems to support this, but no tests: https://github.com/sdispater/poetry/search?q=epoch&unscoped_q=epoch
The text was updated successfully, but these errors were encountered: