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 versioneer to enable Python 3.11 #7765

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oscargus
Copy link
Contributor

versioneer must be updated as the older versions use stuff that is removed in Python 3.11.

So while this may not be enough to run on Python 3.11, it is at least required at some stage.

Reference an existing issue

@esc
Copy link
Member

esc commented Jan 20, 2022

@oscargus thank you, we will begin to work on 3.11 support soon, so this will come in handy!

@esc
Copy link
Member

esc commented Jan 20, 2022

@oscargus question: will this update of the vendored versioneer be needed for llvmlite: https://github.com/numba/llvmlite too? And also, we could just merge this now as the change is backwards compatible with previous Python versions?

@oscargus
Copy link
Contributor Author

Yes. I can provide one for llvmlite as well (as that will bite me sooner or later, trying to get SymPy to pass with 3.11 and while I do not think that numba is actually a (optional) dependency, but useful in general, llvmlite is).

Yes. No harm in merging as such. configparser.SafeConfigParser is removed from 3.11 and newer versioneer use configparser.ConfigParser instead (if I get it correctly).

@oscargus
Copy link
Contributor Author

Updated to latest version of versioneer. (Note that this is in no way dependent on 3.11, so it can be merged earlier if you want. More the opposite: you will not get 3.11 to work without it.)

@oscargus oscargus changed the title Updated versioneer to enable Python 3.11 Update versioneer to enable Python 3.11 Apr 15, 2022
@oscargus
Copy link
Contributor Author

As discussed in numba/llvmlite#812 the current version in numba is also too old to have the problem I was trying to solve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants