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 versioneer.py for Python 3.12 #93

Merged
merged 9 commits into from
Oct 22, 2024

Conversation

RemiLehe
Copy link
Contributor

@RemiLehe RemiLehe commented Aug 28, 2024

It seems that SafeConfigParser has been replaced by ConfigParser (optional since Python 3.2, required since Python 3.12)
https://docs.python.org/3/whatsnew/3.2.html#configparser
https://docs.python.org/3/whatsnew/3.12.html#configparser

Similarly, the method read_file seems to now replace readfp:
https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.read_file

This PR also adds an automated test with Python 3.12 (in addition to the existing automated test with Python 3.9)

@RemiLehe
Copy link
Contributor Author

Fixes #92

@RemiLehe RemiLehe changed the title Fix versioneer.py for Python 3.12 [WIP] Fix versioneer.py for Python 3.12 Oct 22, 2024
@RemiLehe RemiLehe changed the title [WIP] Fix versioneer.py for Python 3.12 Fix versioneer.py for Python 3.12 Oct 22, 2024
@roussel-ryan roussel-ryan merged commit 8b9c256 into slaclab:master Oct 22, 2024
2 checks passed
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.

2 participants