Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Fix compatible prerelease clause (~=7.0.0rc1) #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ddelange
Copy link

@ddelange ddelange commented Oct 7, 2020

Before this change the prerelease rc1 in e.g. ~=7.0.0rc1 would be lost on the low end:

>>> vrange = parse_single_constraint('~=7.0.0rc1')
>>> vrange.min
<Version 7.0.0>

After:

>>> vrange = parse_single_constraint('~=7.0.0rc1')
>>> vrange.min
<Version 7.0.0rc1>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant