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

Fix Issue #72 #74

Merged
merged 2 commits into from
Feb 11, 2021
Merged

Fix Issue #72 #74

merged 2 commits into from
Feb 11, 2021

Conversation

jynik
Copy link
Collaborator

@jynik jynik commented Feb 11, 2021

Addresses version check regex issue in setup.py and bumps to 0.3.0.dev0.

[PEP440] requires that versions be in the form:

    [N!]N(.N)*[{a|b|rc}N][.postN][.devN]

Local version identifiers are also supported:

    <public version identifier>[+<local version label>]

My use of dashes violates this. However, I'd prefer that the setup.py
still work in light of such mistakes. The updated regex supports
".", "-", and "+".  The match for both .postN.devN together is also
included.

Ensuring strict compliance to the versioning that will be enforced
by PyPi is something should be enforced via unit tests or CI. Opened
issue nccgroup#73 to track  this.

[PEP440]: https://www.python.org/dev/peps/pep-0440/#public-version-identifiers
The upcoming fixes for nccgroup#23 and nccgroup#24 require API additions that
necessitate a minor version increment.
@jynik jynik merged commit 44bc2bf into nccgroup:next Feb 11, 2021
@jynik jynik deleted the issue-72 branch February 11, 2021 15:45
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.

None yet

1 participant