diff --git a/python/pyproject.toml b/python/pyproject.toml index 403b1fa49..3a2789853 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -21,7 +21,7 @@ requires = [ "setuptools>=69", "wheel", "Cython>=3", - "numpy>=2.0.0,<3" + "numpy>=1.26.4,<3" ] build-backend = "setuptools.build_meta" @@ -36,7 +36,7 @@ maintainers = [ {name = "Apache TsFile Developers", email = "dev@tsfile.apache.org"} ] dependencies = [ - "numpy>=2.0.0,<3", + "numpy>=1.26.4,<3", "pandas>=2.0,<2.3; python_full_version < '3.14.0'", "pandas>=2.3.3; python_full_version >= '3.14.0'", "pyarrow>=16.0,<18; python_version<'3.10'", diff --git a/python/requirements.txt b/python/requirements.txt index 8733d9887..057ab3518 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -20,7 +20,7 @@ cython==3.0.10 black==25.11.0; python_version < "3.10" black==26.3.1; python_version >= "3.10" -numpy>=2.0.0,<3 +numpy>=1.26.4,<3 pandas==2.2.2; python_full_version < "3.14.0" pandas>=2.3.3; python_full_version >= "3.14.0" setuptools==78.1.1