Skip to content
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

Pre release range fix #40

Merged
merged 2 commits into from
Sep 15, 2021
Merged

Conversation

raphaelzulliger
Copy link

This merge request fixes a bunch of issues with 'range checks'. It therefore adds several tests along with a proposed fix.

I compared the behavior with node-semver and by this PR, we'd come much closer to its behavior.

I'm not sure how the version of this Python module should be handled: While it's a bugfix, it certainly may affect existing software out there... such as Conan packages. Therefore, an increase in major should be considered.

See also the issue /issues/37

Some of which currently fail
E.g. a version '1.0.0-beta' was not selected by a range define like '1.x'
@podhmo
Copy link
Owner

podhmo commented Sep 15, 2021

Sorry for late response.
OK. This changes is a bit danger, right?. if upload the version include this change, update major version.

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

Successfully merging this pull request may close these issues.

3 participants