Skip to content

Pre release range fix#40

Merged
podhmo merged 2 commits into
podhmo:masterfrom
raphaelzulliger:PreReleaseRangeFix
Sep 15, 2021
Merged

Pre release range fix#40
podhmo merged 2 commits into
podhmo:masterfrom
raphaelzulliger:PreReleaseRangeFix

Conversation

@raphaelzulliger

Copy link
Copy Markdown

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

podhmo commented Sep 15, 2021

Copy link
Copy Markdown
Owner

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