Support Python 3.9 #44485
Support Python 3.9 #44485
Comments
|
We have not released anything for python3.9. Release process is as follows:
As we are already doing the 2.4 release, python3.9 support for TF will come in 2.5 release at the earliest. @ravikyram, @amahendrakar, @rmothukuru let's deduplicate to this issue all py39 requests/issues. I'll monitor this one and provide updates as we start adding support. |
…#1528) * Introduce a sieve for filtering out incompatible TensorFlow for Py3.9 * Python 3.9 support will come in 2.5 release at the earliest tensorflow/tensorflow#44485 (comment)
|
@mihaimaruseac, |
(from #40840 (comment)) The main issue is that we also have C++ code and we need the needed dependencies to also upgrade for their C++ code. By this time, likely most are solved, so 2.5 release will have py3.9 support. We should get py3.9 in nightly soon. |
|
So, all of our depdencies have a release for py3.9 but our |
@mihaimaruseac Any update? (Quite concerned here as we did an upgrade to 3.9 for some various reasons such Python's core enhancements but totally zapped out the TensorFlow's upper bound T_T) Oh, and why limiting on upper bound nightly releases if they are for testing?
|
|
I've built tf 2.4 for python 3.9.1 on windows 10 and ubuntu 18.04 and they work fine, no problem at all |
Curious to know how you did that since you cannot use it because of this “stupid” dependency check. Oh you mean you built it from source? If that’s so, would you mind sharing the commands/options you used? thanks! |
|
@willemavjc I can share my build from source setup. Win 10 and works with python 3.9.1, TF 2.4.
|
|
Sorry but AFAIK protobuf does not support Python 3.9 properly with their Linux wheels. See protocolbuffers/protobuf#7978. |
|
Ah, I think I also left out a few bits here...
This makes it easier to also manage the protobuf installation separately. At least for Windows there is an unofficial Python 3.9 protobuf wheel at https://www.lfd.uci.edu/~gohlke/pythonlibs/#protobuf (not the latest but good enough, 3.12.3, ). |
|
protobuf and gast are current blockers to have 100% tests passing |
gast 0.4.0 seems to support Python 3.9. Haven't tested it yet though. |
|
@willemavjc I've built tensorflow from source of course cuda 11.2 |
It does, but I think @mdanatg has a change to update and there are a few things that need to change to make all tests pass. |
Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information
Describe the feature and the current behavior/state.
TensorFlow should be supported on Python 3.9.
Will this change the current api? How? Significant changes will likely need to be made.
Who will benefit with this feature?
Anyone on Python 3.9
Any Other info.
The text was updated successfully, but these errors were encountered: