diff --git a/sdks/python/pyproject.toml b/sdks/python/pyproject.toml index 5adedb63a2ce..c705dcb438cf 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.4.0", # Update setup.py as well. + "numpy>=1.14.3,<2.5.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 c3217e1f0fee..261d079f1462 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -387,7 +387,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.4.0', # Update pyproject.toml as well. + 'numpy>=1.14.3,<2.5.0', # Update pyproject.toml as well. 'objsize>=0.6.1,<0.8.0', 'packaging>=22.0', 'pymongo>=3.8.0,<5.0.0',