As of October 2024, TensorFlow v2.16.2 supports Python 3.12 and can be easily installed:
$ uv add "tensorflow==2.16.2"