@@ -28,6 +28,7 @@ classifiers = [
2828 " Programming Language :: Python :: 3.9" ,
2929 " Programming Language :: Python :: 3.10" ,
3030 " Programming Language :: Python :: 3.11" ,
31+ " Programming Language :: Python :: 3.12" ,
3132 " Topic :: Software Development :: Libraries" ,
3233 " Topic :: Software Development :: Libraries :: Python Modules" ,
3334]
@@ -40,7 +41,7 @@ sahi = "sahi.cli:app"
4041
4142[tool .uv ]
4243find-links = [
43- " https://download.openmmlab.com/mmcv/dist/cpu/torch1.13 .0/index.html" ,
44+ " https://download.openmmlab.com/mmcv/dist/cpu/torch2.1 .0/index.html"
4445]
4546default-groups = [" dev" , " ci" ]
4647
@@ -54,14 +55,14 @@ dev = [
5455]
5556ci = [
5657 # pytorch should be present for all python versions
57- " torch==1.13.1 ;python_version< '3.11 '" ,
58- " torch==2.6 .0+cpu;python_version>='3.11 '" ,
59- " torchvision>=0.14.1;python_version<'3.11' " ,
60- " torchvision==0.21.0 +cpu;python_version>= '3.11 '" ,
61- # mmcv is available for python < 3.11
62- " mmengine==0.7.3 ;python_version<'3.11 '" ,
63- " mmcv==2.0 .0;python_version<'3.11 '" ,
64- " mmdet==3.0 .0;python_version<'3.11 '" ,
58+ " torch==2.6.0+cpu ;python_version>= '3.12 '" ,
59+ " torchvision==0.21 .0+cpu;python_version>='3.12 '" ,
60+ # mmdet is supported for python < 3.12
61+ " torch==2.1.2 +cpu;python_version< '3.12 '" ,
62+ " torchvision==0.16.2+cpu;python_version<'3.12' " ,
63+ " mmengine;python_version<'3.12 '" ,
64+ " mmcv==2.1 .0;python_version<'3.12 '" ,
65+ " mmdet==3.3 .0;python_version<'3.12 '" ,
6566 # deepsparse is only available for python<3.12
6667 " deepsparse;python_version<'3.12'" ,
6768 " onnxruntime<1.20;python_version<'3.12'" ,
0 commit comments