Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ idna>=3.7
cycler
kiwisolver>=1.3.1
matplotlib
# numpy 2.4 ships PEP 695 `type` statements in its stubs, which mypy rejects
# under python_version=3.10 (see [tool.mypy] in pyproject.toml). Cap below 2.4,
# matching rf-detr's typing constraint.
numpy>=1.18.5,<2.4
numpy>=1.18.5
opencv-python-headless>=4.10.0 # relax exact pin to avoid downstream conflicts (#349)
Pillow>=7.1.2
# https://github.com/roboflow/roboflow-python/issues/390
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
"desktop": ["opencv-python==4.8.0.74"],
"dev": [
"mypy",
# Keep NumPy's PEP 695 stubs out of the Python 3.10 mypy target
# without constraining SDK users at runtime.
"numpy<2.4",
"responses",
"ruff",
"types-pyyaml",
Expand Down