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

Add support for Python 3.11 #1361

Closed
JPBergsma opened this issue Oct 19, 2022 · 4 comments · Fixed by #1362
Closed

Add support for Python 3.11 #1361

JPBergsma opened this issue Oct 19, 2022 · 4 comments · Fixed by #1362
Labels
enhancement New feature or request

Comments

@JPBergsma
Copy link
Contributor

Python has released their second release candidate of python 3.11 and according to the original release schedule the first version of python 3.11 will be released next week.
It promises that it is on average 25% faster than previous releases of python, so I think we should start to work on adding support for python 3.11 to the optimade python tools.

@JPBergsma JPBergsma added enhancement New feature or request dependency_updates Issues pertaining to updates to our dependencies that are breaking the eager build labels Oct 19, 2022
@ml-evs
Copy link
Member

ml-evs commented Oct 19, 2022

Sounds good! Do you want to make a PR enabling as a Python version 3.11.0-rc.2 in our CI test matrix? It will probably fail for a very long time due to missing dependencies but we can at least use it for tracking.

@JPBergsma
Copy link
Contributor Author

JPBergsma commented Oct 19, 2022

I still have several other things I would like to do first:

So it may be a while before I get around to doing it.
Several dependencies like elasticsearch, fastapi and pyyaml are indeed not yet supporting python 3.11, so it may still take a while before we can add support for python 3.11. So I do not think it is urgent.
I guess I just got a little too excited that it would have a substantial performance improvement and would be released soon.
Feel free to work on this if you want.

@ml-evs
Copy link
Member

ml-evs commented Oct 19, 2022

Sure, I'll just make a quick PR that we can keep an eye on

@ml-evs ml-evs changed the title Add Support for python 3.11 Add support for Python 3.11 Oct 19, 2022
@ml-evs
Copy link
Member

ml-evs commented Oct 25, 2022

The final blocker for Python 3.11 is aiida-core, which has fixed its requirement pins for py311 but has not yet made a release.

@ml-evs ml-evs removed the dependency_updates Issues pertaining to updates to our dependencies that are breaking the eager build label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants