Skip to content

Commit 63e4adf

Browse files
charrisrgommers
andauthored
Update after NumPy 1.26.0 release (#79)
- NumPy 1.26.0 adds support for Python 3.12; - Pin updated to 1.26.1 as it contains some build fixes Co-authored-by: Ralf Gommers <[email protected]>
1 parent 5da7ab4 commit 63e4adf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

setup.cfg

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ install_requires =
6060
# however macOS was broken and it's safe to build against 1.21.6 on all platforms (see gh-28 and gh-45)
6161
numpy==1.21.6; python_version=='3.10' and platform_machine!='loongarch64'
6262
numpy==1.23.2; python_version=='3.11'
63+
numpy==1.26.1; python_version=='3.12'
6364

6465
# PyPy requirements
6566
numpy==1.19.0; python_version=='3.6' and platform_machine!='loongarch64' and platform_python_implementation=='PyPy'
@@ -71,4 +72,4 @@ install_requires =
7172
# we specify an unpinned Numpy which allows source distributions
7273
# to be used and allows wheels to be used as soon as they
7374
# become available.
74-
numpy; python_version>='3.12'
75+
numpy; python_version>='3.13'

tests/test_dependencies.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_has_at_most_one_pinned_dependency(
106106
# for valid combinations, we test more strictly: expect exactly zero or one pins
107107
if valid:
108108
# we only expect a pin for released python versions
109-
expect_pin = False if (python_version == "3.12") else expect_pin
109+
expect_pin = False if (python_version == "3.13") else expect_pin
110110
log_msg = "Expected " + ("exactly one pin" if expect_pin else "no pins")
111111
assert (
112112
len(filtered_requirements) == int(expect_pin)

0 commit comments

Comments
 (0)