From 953d63ff013cb1cf7beab747fd1fab9ce112788c Mon Sep 17 00:00:00 2001 From: Bruce Merry Date: Fri, 8 Sep 2023 14:52:18 +0200 Subject: [PATCH] Fix dependency on numpy and spelling of test-numba There was a typo in pyproject.toml that made 4.0.0 not depend on numpy at runtime. Also normalise the 'test-numba' extra (from 'test_numba'). --- VERSION.txt | 2 +- doc/changelog.rst | 6 ++++++ pyproject.toml | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index fcdb2e109..1454f6ed4 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -4.0.0 +4.0.1 diff --git a/doc/changelog.rst b/doc/changelog.rst index 6dd64e012..a26080b2c 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -1,6 +1,12 @@ Changelog ========= +.. rubric:: 4.0.1 + +- Restore dependency on numpy, which was accidentally removed in 4.0.0. +- Change the ``test_numba`` extra to ``test-numba`` to normalise it in + accordance with :pep:`685`. + .. rubric:: 4.0.0 This release makes major changes to the build system, and removes deprecated diff --git a/pyproject.toml b/pyproject.toml index aa9fe081d..9dff1bd53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ "Topic :: Software Development :: Libraries", "Topic :: System :: Networking" ] -dependencencies = [ +dependencies = [ "numpy>=1.9.2" ] requires-python = ">=3.8" @@ -31,7 +31,7 @@ test = [ "pytest-asyncio", "pytest-timeout" ] -test_numba = [ +test-numba = [ "numba", "scipy" ]