diff --git a/pyproject.toml b/pyproject.toml index ef0dcd72c1..23a7e98e7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,11 +5,10 @@ authors = [{ name = "Isak Samsten", email = "isak@samsten.se" }] description = "Time series learning with Python." dynamic = ["version", "readme"] license = { file = "LICENSE" } -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ - "numpy>=1.19.2; platform_python_implementation == 'PyPy'", - "numpy>=1.17.3; platform_python_implementation != 'PyPy'", - "scipy>=1.5.0", + "numpy>=1.19.5", + "scipy>=1.6.0", "scikit-learn>=1.3" ] classifiers = [ @@ -61,23 +60,11 @@ where = ["src"] requires = [ "setuptools>=61.0", "wheel", - "cython>=3.0.0", + "cython>=3.0.8", "setuptools_scm[toml]>=6.2", - - # use oldest-supported-numpy which provides the oldest numpy version with - # wheels on PyPI - # - # see: https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg - "oldest-supported-numpy; python_version!='3.10' or platform_system!='Windows' or platform_python_implementation=='PyPy'", - - # For CPython 3.10 under Windows, SciPy requires NumPy 1.22.3 while the - # oldest supported NumPy is defined as 1.21.6. We therefore need to force - # it for this specific configuration. For details, see - # https://github.com/scipy/scipy/blob/c58b608c83d30800aceee6a4dab5c3464cb1de7d/pyproject.toml#L38-L41 - "numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'", - + "numpy>=1.25", "scikit-learn>=1.3", - "scipy>=1.5.0", + "scipy>=1.6.0", ] build-backend = "setuptools.build_meta" diff --git a/requirements.txt b/requirements.txt index b2fa65a160..200459b72d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Cython>=0.29.24 -numpy>=1.21.0 +Cython>=3.0.8 +numpy>=1.25.0 scikit-learn>=1.3 -scipy>=1.3.2 +scipy>=1.6.0