Skip to content

Commit

Permalink
DOC: add instructions to deprecation notice (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange authored Sep 15, 2024
1 parent 23ece5a commit 687ffc2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
17 changes: 16 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://numpy.org/devdocs/dev/depending_on_numpy.html#adding-a-dependency-on-numpy>`__.
`Adding a dependency on NumPy <https://numpy.org/doc/2.1/dev/depending_on_numpy.html#build-time-dependency>`__.

.. 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
-----
Expand Down

0 comments on commit 687ffc2

Please sign in to comment.