Condition numpy version on python version

PiperOrigin-RevId: 490544827
diff --git a/python/requirements.txt b/python/requirements.txt
index ed4f89f..fc88d0b 100644
--- a/python/requirements.txt
+++ b/python/requirements.txt
@@ -1 +1,2 @@
-numpy==1.21.6
\ No newline at end of file
+numpy==1.21.6; python_version < "3.11"
+numpy==1.23.5; python_version >= "3.11"
\ No newline at end of file