Skip to content

Commit

Permalink
Update Python version dependencies for Python 3.12.
Browse files Browse the repository at this point in the history
The NumPy 1.26 release will add Python 3.12 support (currently available via 1.26.0b1).

Bump setuptools version too while we're here.
  • Loading branch information
hawkinsp committed Aug 15, 2023
1 parent 6d05999 commit cd68b01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dependencies = [
"numpy>1.20",
"numpy>=1.21.2; python_version>'3.9'",
"numpy>=1.23.3; python_version>'3.10'",
"numpy>=1.26.0; python_version>'3.12'",
]

[project.urls]
Expand Down Expand Up @@ -49,9 +50,10 @@ pyink-use-majority-quotes = true
requires = [
# Build with oldest supported numpy for each Python version.
"numpy~=1.21.2; python_version<'3.11'",
"numpy~=1.23.3; python_version>='3.11'",
"numpy~=1.23.3; python_version>='3.11' and python_version<'3.12'",
"numpy~=1.26.0; python_version>='3.12'",
"pybind11~=2.11.1",
"setuptools~=68.0.0",
"setuptools~=68.1.0",
]
build-backend = "setuptools.build_meta"

Expand Down

0 comments on commit cd68b01

Please sign in to comment.