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

Support Python 3.12 #122

Open
cneud opened this issue Mar 19, 2024 · 1 comment
Open

Support Python 3.12 #122

cneud opened this issue Mar 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cneud
Copy link
Member

cneud commented Mar 19, 2024

With aot distutils being removed from Python 3.12 (see PEP 632), most dependencies require updates.

  • ocrd: not supporting Python 3.12 yet
  • numpy: the last version supporting Python 3.8 is 1.24.4 and the first version supporting Python 3.12 is 1.26.0.
  • scikit-learn: only version 1.3.2 supports Python 3.8-3.12.
  • tensorflow: the last version supporting Python 3.8 is 2.13.1 and the first version supporting Python 3.12 is 2.16.1 (which requires updating Keras from v2 to v3...).
  • matplotlib: the last version supporting Python 3.8-3.12 is 3.7.5, releases >=3.8.0 no longer support Python 3.8.

Still need to check imutils.

Python 3.8 eol is 2024-10.

@cneud cneud added the enhancement New feature or request label Mar 22, 2024
@cneud
Copy link
Member Author

cneud commented Aug 13, 2024

  • tensorflow: the last version supporting Python 3.8 is 2.13.1 and the first version supporting Python 3.12 is 2.16.1 (which requires updating Keras from v2 to v3...)

https://keras.io/guides/migrating_to_keras_3/#going-from-keras-2-to-keras-3-with-the-tensorflow-backend

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

No branches or pull requests

1 participant