Python3.11 & TensorFlow >=2.12 how to?

It seems that this line:

Was added in Python updates 2022-03-02 by mweinelt · Pull Request #162538 · NixOS/nixpkgs · GitHub . I wonder why was that. In anycase, it ought to get an update to 2.13.0, and if you test that it works with python 3.11, I think you can write a PR to remove that condition (along with the update) - Since Python 3.6 packages are not built by default anymore in anycase.