From 8c381fdf051f5eb3881d3d0ba37866afd504487a Mon Sep 17 00:00:00 2001 From: aneeshnaik <48957123+aneeshnaik@users.noreply.github.com> Date: Mon, 27 Jul 2026 17:40:16 +0100 Subject: [PATCH 1/4] Allow numpy>2 (by removing upper bound) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fdaa7b2..ceffb0a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ description = "Efficient random sampling via linear interpolation." readme = "README.md" requires-python = ">=3.8" dependencies = [ - "numpy>=1.17,<2.0", + "numpy>=1.17", "scipy>=1.9,<2.0", ] keywords = ["python", "statistics", "numpy", "sampling", "random"] From 62421638f1c6fccf6fa35404afb554eacb6cc02e Mon Sep 17 00:00:00 2001 From: aneeshnaik <48957123+aneeshnaik@users.noreply.github.com> Date: Mon, 27 Jul 2026 17:46:56 +0100 Subject: [PATCH 2/4] Update all test requirement pins --- test_requirements.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test_requirements.txt b/test_requirements.txt index cdd808a..fce5d7d 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -1,6 +1,6 @@ -numpy==1.26.4 -scipy==1.11.4 -pytest==7.4.0 -coverage==6.5.0 -coveralls==3.3.1 +numpy>=1.17 +scipy>=1.12 +pytest>=9.0 +coverage>=7.14 +coveralls>=4.1 -e . \ No newline at end of file From 0d47d5f2183fc719ee54e31e5d3729a867d0b778 Mon Sep 17 00:00:00 2001 From: aneeshnaik <48957123+aneeshnaik@users.noreply.github.com> Date: Mon, 27 Jul 2026 17:51:51 +0100 Subject: [PATCH 3/4] Repin pytest req to 9.1 (for dependabot security warning) --- test_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_requirements.txt b/test_requirements.txt index fce5d7d..789f31f 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -1,6 +1,6 @@ numpy>=1.17 scipy>=1.12 -pytest>=9.0 +pytest>=9.1 coverage>=7.14 coveralls>=4.1 -e . \ No newline at end of file From 0cd86df9593591c9c99411dc5726960ae4ae94ea Mon Sep 17 00:00:00 2001 From: aneeshnaik <48957123+aneeshnaik@users.noreply.github.com> Date: Mon, 27 Jul 2026 17:54:45 +0100 Subject: [PATCH 4/4] Add numpy<3 upper bound --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ceffb0a..714b961 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ description = "Efficient random sampling via linear interpolation." readme = "README.md" requires-python = ">=3.8" dependencies = [ - "numpy>=1.17", + "numpy>=1.17,<3.0", "scipy>=1.9,<2.0", ] keywords = ["python", "statistics", "numpy", "sampling", "random"]