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

Update of setuptools_scm #422

Merged
merged 2 commits into from
Jul 1, 2022
Merged

Update of setuptools_scm #422

merged 2 commits into from
Jul 1, 2022

Conversation

lfarv
Copy link
Contributor

@lfarv lfarv commented Jun 23, 2022

The versioning of pyat is handled by setuptools_scm. Up to now, a bug prevented storing the generated version number in a python file _version.py (just because pyat is not at the root of the git repository). This is now corrected. As a consequence, at run time, we can now import the version number from the _version module, rather than extracting it from the metadata of the package. This makes the import of at simpler and faster.

There is still a trick to handle python 3.6. Another question is: how long do we still need to support python 3.6?

@swhite2401
Copy link
Contributor

The python default at ESRF is 3.7, on our side it is ok to drop support for python 3.6

@lfarv
Copy link
Contributor Author

lfarv commented Jun 30, 2022

@swhite2401 : I' m just asking the question, it's not urgent but it'll allow some simplifications.

@lfarv lfarv merged commit c06b2d6 into master Jul 1, 2022
@lfarv lfarv deleted the setuptools_scm_update branch July 1, 2022 16:49
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

2 participants