-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump dependencies for NumPy 2 compatibility (#511)
All tests pass and `demo.ipynb` works without any errors or warnings using NumPy >= 2.
- Loading branch information
Showing
5 changed files
with
51 additions
and
37 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r docs/requirements.txt | ||
- name: Build documentation | ||
run: | | ||
cd docs | ||
make html |
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 |
---|---|---|
|
@@ -8,11 +8,11 @@ description = "The WFDB Python package: tools for reading, writing, and processi | |
authors = [{name = "The Laboratory for Computational Physiology", email = "[email protected]"}] | ||
license = {text = "MIT License"} | ||
readme = "README.md" | ||
requires-python = ">= 3.8" | ||
requires-python = ">= 3.9" | ||
dependencies = [ | ||
"numpy >= 1.10.1, < 2.0.0", | ||
"scipy >= 1.0.0", | ||
"pandas >= 1.3.0", | ||
"numpy >= 1.26.4", | ||
"scipy >= 1.13.0", | ||
"pandas >= 2.2.3", | ||
"soundfile >= 0.10.0", | ||
"matplotlib >= 3.2.2", | ||
"requests >= 2.8.1", | ||
|
@@ -35,7 +35,7 @@ documentation = "https://wfdb.readthedocs.io/" | |
|
||
[tool.black] | ||
line-length = 80 | ||
target-version = ['py37'] | ||
target-version = ["py39"] | ||
|
||
[tool.hatch.build.targets.sdist] | ||
exclude = [ | ||
|
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