-
Notifications
You must be signed in to change notification settings - Fork 6
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.9 #66
Comments
Yes, the TF<2.5 req is from #64, but that in turn was only necessary to protect the older h5py<3 from becoming dysfunctional when TF 2.5 was released. At the time, I did not know that Calamari 1.0 models were in fact compatible with h5py 3 on TF 2.5 – I just assumed your restriction must have been the result of a diagnosis to the contrary (and I did see similar incompatibilities elsewhere). But 15bcfde's changelog hints that this was just transient: TF 2.4 itself at the time was not compatible with h5py 3. So, unless I am missing something, the solution to this – as well as to ocrd_all conflicts – is to just ditch both the maximum h5py and TF restrictions. |
That was the usual dance around shortcomings of pip, i.e. install compatible versions of TF and h5py. I'll commit a fix that seems to work for Python 3.6 and Python 3.9! |
This comes up again with #61 - Calamari 2.1 depends on TF 2.4.x, which is not PyPI-available for Python >= 3.9... Great joy! |
This is not an issue at the moment, but might come up again with Calamari 2. |
In a Python 3.9 venv:
Related to #64 and possibly #61.
The text was updated successfully, but these errors were encountered: