Skip to content

Commit af0e172

Browse files
cdeilclaude
andauthored
Remove the numpy<2.4 cap from runtime requirements (#519)
* fix: keep NumPy type-check cap out of runtime metadata * Drop the dev-only NumPy cap The mypy override for numpy in pyproject.toml and current mypy releases type-check the package with NumPy 2.5 under python_version 3.10, so the dev extra no longer needs a NumPy upper bound. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 7faa0dd commit af0e172

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎requirements.txt‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ idna>=3.7
33
cycler
44
kiwisolver>=1.3.1
55
matplotlib
6-
# numpy 2.4 ships PEP 695 `type` statements in its stubs, which mypy rejects
7-
# under python_version=3.10 (see [tool.mypy] in pyproject.toml). Cap below 2.4,
8-
# matching rf-detr's typing constraint.
9-
numpy>=1.18.5,<2.4
6+
numpy>=1.18.5
107
opencv-python-headless>=4.10.0 # relax exact pin to avoid downstream conflicts (#349)
118
Pillow>=7.1.2
129
pillow-avif-plugin<2

0 commit comments

Comments
 (0)