Skip to content

Commit

Permalink
Test against numpy 1.26.0 final on Python 3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmerry committed Sep 22, 2023
1 parent d38efa9 commit 1531a04
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ repos:
# The pre-commit hook only has python, not pyi.
types: []
types_or: [python, pyi]
# TODO: unify the versions once Numpy 1.26 ships
# TODO: unify the versions once Python 3.8 support is dropped
additional_dependencies: [
'numpy==1.24.4; python_version<"3.12.0rc1"',
'numpy==1.26.0b1; python_version>="3.12.0rc1"'
'numpy==1.26.0; python_version>="3.12.0rc1"'
]
- repo: https://github.com/jazzband/pip-tools
rev: 7.1.0
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ being omitted from 4.0.1. They are restored in 4.0.2.
- Simplify the implementation of :cpp:class:`!thread_pool_wrapper` and
:cpp:class:`!buffer_reader` in Python binding code.
- Directly use pointer-to-member-functions in Python binding code.
- Test against numpy 1.26.0 (instead of 1.26.0rc1) on Python 3.12.

.. rubric:: 4.0.1

Expand Down
2 changes: 1 addition & 1 deletion requirements-3.12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ netifaces==0.11.0
# via
# -c requirements.txt
# -r requirements.in
numpy==1.26.0b1 ; python_version >= "3.12.0rc1"
numpy==1.26.0 ; python_version >= "3.12.0rc1"
# via -r requirements.in
packaging==23.1
# via
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ llvmlite; python_version<"3.12.0rc1"
netifaces
numba; python_version<"3.12.0rc1"
numpy; python_version<"3.12.0rc1"
numpy==1.26.0b1; python_version>="3.12.0rc1"
numpy==1.26.0; python_version>="3.12.0rc1"
pytest
pytest-asyncio
pytest-timeout
Expand Down

0 comments on commit 1531a04

Please sign in to comment.