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

Work with setuptools_scm 8.0 (fix #50) #51

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

musicinmybrain
Copy link
Contributor

Make test_write even less brittle (see also #8, #9, #25) so that it works with _version.py files generated by at least setuptools_scm 8.0, 7.1, 7.0, and 6.4.

This is required because setuptools_scm 8.0 added a type-checking comment at the end of the version line.

This is a follow-up to #26.

Make test_write even less brittle (see also ofek#8, ofek#9, ofek#25) so that it
works with _version.py files generated by at least setuptools_scm 8.0,
7.1, 7.0, and 6.4.

This is required because setuptools_scm 8.0 added a type-checking
comment at the end of the version line.

Based on:

https://src.fedoraproject.org/fork/lbalhar/rpms/python-hatch-vcs/c/ca6e8a95dbe50da64ba98c4e0829ae00ccd8025a
@RonnyPfannschmidt
Copy link
Collaborator

@ofek can the ruff job get a own matrix element, the 3.9 failure looks scary else

@ofek ofek merged commit 9448885 into ofek:master Sep 22, 2023
14 of 15 checks passed
@musicinmybrain
Copy link
Contributor Author

With this and #26, do you think it’s time to make a 0.3.1 release soon? On one hand, the fixes are only for the tests and don’t affect the correctness of the PyPI wheels. On the other hand, a new release would reduce the number of patches that various distributors need to carry in order to run the tests.

@ofek
Copy link
Owner

ofek commented Sep 22, 2023

If you have time would you mind fixing the lint errors? After that I can definitely make a release tonight or sometime tomorrow

@kloczek
Copy link

kloczek commented Sep 23, 2023

IMO it would be good to release new 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.

4 participants