tensorflow/text

Wheel for Python 3.11 is missing

bermeitinger-b opened this issue · 5 comments

For tensorflow-text==2.13.0, there is no wheel for Python 3.11.

Previous versions had this wheel, e.g. installing keras-nlp will fallback to tensorflow-text==2.12.1 and subsequentially install tensorflow==2.12.0.

Hello, what platform's whl file do you need? I have a self-compiled tutorial for Apple Silicon (but it should be similar for other platforms) that might help you.

Thanks for the offer, I need the usual x86_64 or however that's called.

I've built it myself, the readme is very clear and works. But the compilation takes too long, I'd rather have the "official" wheels.
Especially because this is not a compatibility issue with py311 but maybe a config issue where it's not built for 3.11 anymore but it was for older versions.

Hi any updates on this ?

Even in 1.12.1, Python 3.11 was not listed as a supported version. I guess the wheels for py311 were built by mistake.
https://github.com/tensorflow/text/blob/v2.12.1/oss_scripts/pip_package/setup.py#L94-L98

        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: 3.10',
        'Programming Language :: Python :: 3 :: Only',

Happy little accident it seems. Too bad because the 3.11 wheel works fine.