@@ -3,7 +3,7 @@ requires = [
33 " setuptools>=68" ,
44 " wheel" ,
55 " pybind11>=2.6.0" ,
6- " tomli; python_version < '3.11 '" ,
6+ " tomli; python_version < '3.14 '" ,
77]
88build-backend = " setuptools.build_meta"
99
@@ -15,7 +15,7 @@ authors = [
1515 {
name =
" InterDigital AI Lab" ,
email =
" [email protected] " },
1616]
1717readme = " Readme.md"
18- requires-python = " >=3.8"
18+ requires-python = " >=3.8,<14 "
1919urls = { Homepage = " https://github.com/InterDigitalInc/CompressAI" }
2020classifiers = [
2121 " Development Status :: 3 - Alpha" ,
@@ -31,10 +31,9 @@ classifiers = [
3131dependencies = [
3232 " einops" ,
3333 " matplotlib" ,
34- " numpy >= 1.24.4,<2.0; python_version < '3.10'" ,
35- " numpy >= 2.2.4; python_version >= '3.10'" ,
36- " Pandas >= 2.0; python_version < '3.10'" ,
37- " Pandas >= 2.2.0; python_version >= '3.10'" ,
34+ " numpy >= 1.24.4,<2.0" ,
35+ " Pandas >= 2.0.3; python_version < '3.9'" ,
36+ " Pandas >= 2.3.2; python_version >= '3.9'" ,
3837 " pybind11>=2.6.0; python_version < '3.10'" , # For --no-build-isolation.
3938 " pybind11>=2.12.0; python_version >= '3.10'" , # For --no-build-isolation.
4039 " pytorch-msssim" ,
@@ -43,7 +42,8 @@ dependencies = [
4342 " tomli>=2.2.1" ,
4443 " torch-geometric>=2.3.0" ,
4544 " torch>=1.13.1" ,
46- " torchvision" ,
45+ " torchvision>=0.14.1,<0.20; python_version < '3.9'" ,
46+ " torchvision>=0.17.0; python_version >= '3.9'" ,
4747 " tqdm" ,
4848 " typing-extensions>=4.0.0" ,
4949 " wheel>=0.32.0" , # For --no-build-isolation.
@@ -118,7 +118,7 @@ exclude = ["tests"]
118118
119119[tool .black ]
120120line-length = 88
121- target-version = [' py38' , ' py39' , ' py310' ]
121+ target-version = [' py38' , ' py39' , ' py310' , ' py311 ' , ' py312 ' ]
122122include = ' \.pyi?$'
123123exclude = '''
124124/(
0 commit comments