Skip to content

Commit

Permalink
Merge pull request #283 from ska-sa/prepare-4.0.2
Browse files Browse the repository at this point in the history
Prepare for 4.0.2 release
  • Loading branch information
bmerry authored Sep 22, 2023
2 parents aca07e2 + 1531a04 commit b07c006
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 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
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.1
4.0.2
16 changes: 16 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
Changelog
=========

.. rubric:: 4.0.2

Note that an oversight lead to some of the changes between 4.0.0b1 and 4.0.0
being omitted from 4.0.1. They are restored in 4.0.2.

- Fix type annotations for :py:class:`spead2.send.UdpStream` and
:py:class:`spead2.send.asyncio.UdpStream`.
- Add more documentation for developers.
- Remove an old :file:`Makefile.am` that should have been removed in 4.0.0.
- Remove mocking of spead2 in readthedocs build.
- Change `.. code::` to `.. code-block::` in documentation.
- 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

- Restore dependency on numpy, which was accidentally removed in 4.0.0.
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 b07c006

Please sign in to comment.