Skip to content
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

Update after NumPy 1.26.0 release #79

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ install_requires =
# however macOS was broken and it's safe to build against 1.21.6 on all platforms (see gh-28 and gh-45)
numpy==1.21.6; python_version=='3.10' and platform_machine!='loongarch64'
numpy==1.23.2; python_version=='3.11'
numpy==1.26.1; python_version=='3.12'

# PyPy requirements
numpy==1.19.0; python_version=='3.6' and platform_machine!='loongarch64' and platform_python_implementation=='PyPy'
Expand All @@ -71,4 +72,4 @@ install_requires =
# we specify an unpinned Numpy which allows source distributions
# to be used and allows wheels to be used as soon as they
# become available.
numpy; python_version>='3.12'
numpy; python_version>='3.13'
2 changes: 1 addition & 1 deletion tests/test_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_has_at_most_one_pinned_dependency(
# for valid combinations, we test more strictly: expect exactly zero or one pins
if valid:
# we only expect a pin for released python versions
expect_pin = False if (python_version == "3.12") else expect_pin
expect_pin = False if (python_version == "3.13") else expect_pin
log_msg = "Expected " + ("exactly one pin" if expect_pin else "no pins")
assert (
len(filtered_requirements) == int(expect_pin)
Expand Down