-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Numpy dependency and drop oldest-supported-numpy.
- Loading branch information
1 parent
5e0cf27
commit 62b3861
Showing
2 changed files
with
9 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,10 @@ authors = [{ name = "Isak Samsten", email = "[email protected]" }] | |
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" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |