diff --git a/sdks/python/pyproject.toml b/sdks/python/pyproject.toml index 9f5c4788e200..5adedb63a2ce 100644 --- a/sdks/python/pyproject.toml +++ b/sdks/python/pyproject.toml @@ -27,7 +27,7 @@ requires = [ # Avoid https://github.com/pypa/virtualenv/issues/2006 "distlib==0.3.9", # Numpy headers - "numpy>=1.14.3,<2.3.0", # Update setup.py as well. + "numpy>=1.14.3,<2.4.0", # Update setup.py as well. # having cython here will create wheels that are platform dependent. "cython>=3.0,<4", ## deps for generating external transform wrappers: diff --git a/sdks/python/setup.py b/sdks/python/setup.py index 289433f9ea5b..5d4fa81f042e 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -384,7 +384,7 @@ def get_portability_package_data(): 'jsonpickle>=3.0.0,<4.0.0', # numpy can have breaking changes in minor versions. # Use a strict upper bound. - 'numpy>=1.14.3,<2.3.0', # Update pyproject.toml as well. + 'numpy>=1.14.3,<2.4.0', # Update pyproject.toml as well. 'objsize>=0.6.1,<0.8.0', 'packaging>=22.0', 'pymongo>=3.8.0,<5.0.0',