tensorflow-macos 3.12 with python 3.11

Tensorflow 3.12 supports python 3.11. However, the tensorflow-macos package does not provide a build for python 3.11. I assume this is an oversight in the build pipeline.

From https://pypi.org/project/tensorflow-macos/#files the current builds are:

tensorflow_macos-2.12.0-cp310-cp310-macosx_12_0_x86_64.whl
tensorflow_macos-2.12.0-cp310-cp310-macosx_12_0_arm64.whl
tensorflow_macos-2.12.0-cp39-cp39-macosx_12_0_x86_64.whl
tensorflow_macos-2.12.0-cp39-cp39-macosx_12_0_arm64.whl 
tensorflow_macos-2.12.0-cp38-cp38-macosx_12_0_x86_64.whl
tensorflow_macos-2.12.0-cp38-cp38-macosx_12_0_arm64.whl

I would like to request that:

tensorflow_macos-2.12.0-cp311-cp311-macosx_12_0_x86_64.whl
tensorflow_macos-2.12.0-cp311-cp311-macosx_12_0_arm64.whl

are added.

Accepted Reply

Sorry for the long turnaround time but the requested tensorflow-macos 2.12 wheels and corresponding tensorflow-metal 0.8.0 wheels have now been added to PyPI. Going forward the python 3.11 versions of the will be automatically released alongside the other python versions.

Replies

Hi @andreas_madsen!

Thanks for reporting this. You are correct the py311 wheel were not in the testing pipeline in time for 2.12 release but they are going to be included going forwards as well. They are actually available in the nightly wheels already (https://pypi.org/project/tf-nightly-macos/2.13.0.dev20230324/#files). Current plan was not to release the py311 wheels for 2.12 but do let me know if this is really urgent for your workflow and I can see if we could do something about it.

  • Hi, I appreciate that python 3.11 will be supported going forward. I did just notice that it was available for the nightly. "Unfortunately", we have recently upgraded to python 3.11 for our HPC environment, so I would appreciate if it's possible to add python 3.11 support for the tensorflow-macos build.

    There is a TensorFlow issue requesting this too: https://github.com/tensorflow/tensorflow/issues/60209

    Thanks in advance.

  • Alright, got it. Sounds like this is a good reason for us to add the py311 support on 2.12 as well since it'll still take a while for the next (non-nightly) version to get released and based on the upvotes on the GitHub issue you're not the only one missing this wheel. I'll start the process but since we need to verify it passes our internal testing it will take us a bit of time. I'll update here with the good news once the wheel is up and available. Thanks for your patience!

  • I'd also appreciate it a lot. I want to upgrade our production environment to Python 3.11 and not being able to a stable Tensorflow version locally on our Devs' M1 Macs is holding us back.

Add a Comment

Sorry for the long turnaround time but the requested tensorflow-macos 2.12 wheels and corresponding tensorflow-metal 0.8.0 wheels have now been added to PyPI. Going forward the python 3.11 versions of the will be automatically released alongside the other python versions.