@@ -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,16 +31,19 @@ classifiers = [
3131dependencies = [
3232 " einops" ,
3333 " matplotlib" ,
34- " numpy>=1.21.0,<2.0" ,
35- " pandas" ,
36- " pybind11>=2.6.0" , # For --no-build-isolation.
34+ " numpy >= 1.24.4" ,
35+ " Pandas >= 2.0.3; python_version < '3.9'" ,
36+ " Pandas >= 2.3.2; python_version >= '3.9'" ,
37+ " pybind11>=2.6.0; python_version < '3.10'" , # For --no-build-isolation.
38+ " pybind11>=2.12.0; python_version >= '3.10'" , # For --no-build-isolation.
3739 " pytorch-msssim" ,
3840 " scipy" ,
3941 " setuptools>=68" , # For --no-build-isolation.
4042 " tomli>=2.2.1" ,
4143 " torch-geometric>=2.3.0" ,
4244 " torch>=1.13.1" ,
43- " torchvision" ,
45+ " torchvision>=0.14.1,<0.20; python_version < '3.9'" ,
46+ " torchvision>=0.17.0; python_version >= '3.9'" ,
4447 " tqdm" ,
4548 " typing-extensions>=4.0.0" ,
4649 " wheel>=0.32.0" , # For --no-build-isolation.
@@ -115,7 +118,7 @@ exclude = ["tests"]
115118
116119[tool .black ]
117120line-length = 88
118- target-version = [' py38' , ' py39' , ' py310' ]
121+ target-version = [' py38' , ' py39' , ' py310' , ' py311 ' , ' py312 ' ]
119122include = ' \.pyi?$'
120123exclude = '''
121124/(
0 commit comments