-
Notifications
You must be signed in to change notification settings - Fork 314
Bump dependencies for NumPy 2 compatibility #511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
bdc7c7f
Bump dependencies for NumPy 2 compatibility
cbrnr a7ab06f
Fix CI
cbrnr 03be479
Bump scipy for Python 3.13
cbrnr ebfa756
Bump Python to 3.10
cbrnr 11c001b
Include Python 3.9 again
cbrnr 8a48648
Try to replace uv run
cbrnr 5e15a41
Downgrade scipy
cbrnr bb7e98f
Run as module
cbrnr d70a0dd
Back to uv run
cbrnr 1d9f9c1
Use --system option
cbrnr 9ec5be8
Revert
cbrnr f61bc1b
Sync
cbrnr a8e4ee9
Try forking
cbrnr 4f2b82b
Try >= 3.10
cbrnr ec8f039
Try with setup-python action
cbrnr 30e50cf
Revert "Try with setup-python action"
cbrnr b59f4ad
Remove 3.13 (and add 3.9) for now
cbrnr e0a0d02
Force numpy >= 2.0.0
cbrnr 14a4258
Revert to numpy >= 1.26.4
cbrnr 6e7423d
Use uv pip
cbrnr a51ee56
Activate venv
cbrnr 6839f64
Use system Python
cbrnr 8155d85
Use setup-python
cbrnr f646425
Ping
cbrnr 4836714
Add 3.13
cbrnr ee22dc4
Split jobs
cbrnr bf1917c
Rename
cbrnr ed08257
Remove numpy matrix
cbrnr 9be66c1
Fix name for Debian test
cbrnr 9b5c046
Downgrade pandas
cbrnr eb7f250
Revert pandas
cbrnr 392d420
Numpy matrix
cbrnr 9d09a00
Fix matrix
cbrnr 8e90adb
Temporarily remove Debian
cbrnr 31e8463
Re-enable
cbrnr 3acea30
Test single OS
cbrnr cb7b529
Fix name
cbrnr 96c2e3b
Remove quotes
cbrnr 14eaa44
Forgot $
cbrnr 100aaed
Try single command
cbrnr 556a4d3
Simplify matrix
cbrnr b3a5498
Add OS name
cbrnr 25b75c1
Improve name
cbrnr 802fd3a
Revert
cbrnr 9e8136d
Try another variant
cbrnr a9c7b74
OK forget it
cbrnr e2692f2
Only test NumPy 1.26.4 on Python 3.9
cbrnr c8ba35e
Try with condition
cbrnr ab64860
Use weak_and_warn
cbrnr ed25100
Don't fail fast
cbrnr 96a52bb
Fix syntax
cbrnr ba4e1ab
Fix invalid escape sequence
cbrnr 102e60c
Fix dtype promotion warning
cbrnr 0d2a505
Try again
cbrnr 99c7f7b
Maybe better
cbrnr fd12ec1
Use uv run again
cbrnr 397c09d
Better name
cbrnr ec5e24f
Revert
cbrnr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.