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

PEP440 versions #1653

Merged
merged 4 commits into from Jan 3, 2023
Merged

PEP440 versions #1653

merged 4 commits into from Jan 3, 2023

Conversation

samtygier-stfc
Copy link
Collaborator

@samtygier-stfc samtygier-stfc commented Jan 3, 2023

Issue

Closes #1652

Description

Use .post instead of _ for commit count since tag

Also add a test case that would have caught the problem.

Testing

Once merged check that IDAaaS unstable build launches

Acceptance Criteria

Documentation

@coveralls
Copy link

coveralls commented Jan 3, 2023

Coverage Status

Coverage: 77.063%. Remained the same when pulling c84b1b0 on 1652-post-version into a6afe31 on main.

@samtygier-stfc samtygier-stfc marked this pull request as ready for review January 3, 2023 15:08
Test with the style of versions that was dropped in packaging 22
This conforms to PEP440 and avoids issues with packaging 22
For cases with older version numbers we still need to handle underscores

update tests
@DolicaAkelloEgwel DolicaAkelloEgwel merged commit 0e616c9 into main Jan 3, 2023
@DolicaAkelloEgwel DolicaAkelloEgwel deleted the 1652-post-version branch January 3, 2023 15:52
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.

Mantid Imaging not starting packaging.version.InvalidVersion
3 participants