diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 153f0e1..2b6d084 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,15 +16,14 @@ jobs: test_install: runs-on: ${{ matrix.os }} strategy: - max-parallel: 4 matrix: - os: [ 'windows-latest', 'macos-latest', 'ubuntu-latest' ] + os: [ 'windows-2022', 'macos-13', 'ubuntu-22.04' ] python: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] arch: [ 'x64', 'x86' ] exclude: - - os: macos-latest + - os: macos-13 arch: x86 - - os: ubuntu-latest + - os: ubuntu-22.04 arch: x86 steps: diff --git a/README.rst b/README.rst index ac19234..7ffad82 100644 --- a/README.rst +++ b/README.rst @@ -17,8 +17,23 @@ NumPy 1.xx and 2.0. All users should migrate to expressing a build dependency on ``numpy`` directly, according to the guidance given in -`Adding a dependency on NumPy `__. +`Adding a dependency on NumPy `__. +.. code:: toml + + [build-system] + requires = ["numpy>=2.0,<3"] + +Python 3.13 is supported as of NumPy 2.1. For older Python versions +this package can still be used to compile against NumPy 1.xx. + +.. code:: toml + + [build-system] + requires = [ + "oldest-supported-numpy; python_version<='3.8'", + "numpy>=1.25,<2; python_version>'3.8'", + ] About -----