-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for Python 3.13 * Fix imports * Skip numba test for >= 3.13 * Use numpy >= 2 only in build-system * Revert scipy * Bump wfdb * Remove Python 3.9 * Fix style * Fix Python version badge * Add pytest-cov dependency * Add changelog entry
- Loading branch information
Showing
9 changed files
with
40 additions
and
41 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
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
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
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
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,5 +1,5 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm", "wheel", "numpy>=2,<3"] | ||
requires = ["setuptools", "setuptools-scm", "wheel", "numpy>=2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
|
@@ -11,38 +11,38 @@ authors = [ | |
{name = "Clemens Brunner", email = "[email protected]"}, | ||
] | ||
readme = "README.md" | ||
requires-python = ">= 3.9" | ||
requires-python = ">= 3.10" | ||
classifiers = [ | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Typing :: Typed", | ||
] | ||
keywords = ["sleep", "ecg", "qrs", "peak"] | ||
dependencies = [ | ||
"numpy >= 1.25.0, < 3.0.0", | ||
"PyYAML >= 5.4.0", | ||
"requests >= 2.25.0", | ||
"scipy >= 1.7.0", | ||
"tqdm >= 4.60.0", | ||
"numpy >= 1.26.0", | ||
"pyyaml >= 6.0.0", | ||
"requests >= 2.32.3", | ||
"scipy >= 1.13.0", | ||
"tqdm >= 4.66.0", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
full = [ # complete package functionality | ||
"edfio >= 0.4.0", | ||
"joblib >= 1.0.0", | ||
"matplotlib >= 3.5.0", | ||
"numba >= 0.59.1", | ||
"tensorflow >= 2.16.1", | ||
"wfdb >= 3.4.0", | ||
"edfio >= 0.4.4", | ||
"joblib >= 1.4.2", | ||
"matplotlib >= 3.9.2", | ||
"numba >= 0.61.0", | ||
"tensorflow >= 2.17.0; python_version < '3.13'", | ||
"wfdb >= 4.2.0", | ||
] | ||
|
||
dev = [ # everything needed for development | ||
|
@@ -51,21 +51,20 @@ dev = [ # everything needed for development | |
"mypy >= 0.991", | ||
"pre-commit >= 2.13.0", | ||
"pytest >= 6.2.0", | ||
"pytest-cov >= 6.0.0", | ||
"ruff >= 0.4.0", | ||
"setuptools >= 56.0.0", | ||
"setuptools >= 72.1.0", | ||
] | ||
|
||
doc = [ # RTD uses this when building the documentation | ||
"mkdocs-material >= 8.4.0", | ||
"mkdocstrings-python >= 0.8.2", | ||
"mkdocs-material >= 9.5.0", | ||
"mkdocstrings-python >= 1.11.1", | ||
] | ||
|
||
cibw = [ # cibuildwheel uses this for running the test suite | ||
"edfio >= 0.4.0", | ||
"numba >= 0.59.1", | ||
"wfdb >= 3.4.0", | ||
# https://github.com/MIT-LCP/wfdb-python/pull/511 | ||
"numpy < 2.0.0", # TODO: just for wfdb! | ||
"edfio >= 0.4.4", | ||
"numba >= 0.61.0", | ||
"wfdb >= 4.2.0", | ||
] | ||
|
||
[project.urls] | ||
|
@@ -79,7 +78,7 @@ test-requires = "pytest" | |
test-extras = "cibw" | ||
test-command = "pytest {package}" | ||
skip = 'pp* *musllinux*' | ||
build = "cp39-*" # abi3 | ||
build = "cp310-*" # abi3 | ||
|
||
[[tool.cibuildwheel.overrides]] | ||
select = "*" | ||
|
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
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
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
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