Skip to content

Commit

Permalink
build with numpy 2.0.0rc1 (or newer) on Python >= 3.9, add python 3.1…
Browse files Browse the repository at this point in the history
…2/remove 3.7 from tests
  • Loading branch information
jswhit committed Apr 16, 2024
1 parent e7c591b commit 579fbbe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10" , "3.11" ]
python-version: [ "3.8", "3.9", "3.10" , "3.11", "3.12" ]
os: [windows-latest, ubuntu-latest, macos-latest]
platform: [x64, x32]
exclude:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11-dev"]
python-version: ["3.12-dev"]
steps:

- uses: actions/checkout@v3
Expand Down
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[build-system]
requires = ["setuptools>=41.2", "cython>=0.29.20", "wheel", "oldest-supported-numpy"]
requires = [
"setuptools>=41.2",
"cython>=0.29.20",
"wheel",
"oldest-supported-numpy ; python_version < '3.9'",
"numpy>=2.0.0rc1 ; python_version >= '3.9'"
]
build-backend = "setuptools.build_meta"

0 comments on commit 579fbbe

Please sign in to comment.