Skip to content

Commit

Permalink
Relax NumPy requirement to 2.0 - 2.1 doesn't support Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
SpecLad committed Nov 20, 2024
1 parent 7c00308 commit d9b2861
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cvat-sdk/gen/templates/openapi-generator/setup.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ setup(
python_requires="{{{generatorLanguageVersion}}}",
install_requires=BASE_REQUIREMENTS,
extras_require={
"masks": ["numpy>=2.1"],
"masks": ["numpy>=2"],
"pytorch": ['torch', 'torchvision', 'scikit-image>=0.24', 'cvat_sdk[masks]'],
},
package_dir={"": "."},
Expand Down
2 changes: 1 addition & 1 deletion tests/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ boto3==1.17.61
Pillow==10.3.0
python-dateutil==2.8.2
pyyaml==6.0.0
numpy==2.1.0
numpy==2.0.0

0 comments on commit d9b2861

Please sign in to comment.