Skip to content

Commit e4bfc51

Browse files
committed
Switch most dependencies to ~ and comment on some strict requirements
1 parent 369c2c6 commit e4bfc51

1 file changed

Lines changed: 45 additions & 45 deletions

File tree

pyproject.toml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ finn = "finn.interface.run_finn:main"
3535

3636
[tool.poetry.dependencies]
3737
python = ">=3.10,<3.12"
38-
bitstring = "4.3.1"
39-
clize = "5.0.2"
40-
gspread = "3.6.0"
41-
importlib-resources = "6.5.2"
42-
ipython = "8.37.0"
43-
numpy = "1.26.4"
38+
bitstring = "~4.3.1"
39+
clize = "~5.0.2"
40+
gspread = "~3.6.0"
41+
importlib-resources = "~6.5.2"
42+
ipython = "~8.37.0" # ipython>=9.0.0 requires python>=3.11
43+
numpy = "1.26.4" # numpy<=1.24.4 required by brevitas
4444
# Cannot upgrade onnx and onnxruntime any further. For now this seems to be the
4545
# last compatible pair which is also consistent with qonnx.
4646
# Upgrading onnx will result in model IR version not supported by onnxruntime
@@ -49,49 +49,49 @@ numpy = "1.26.4"
4949
# due to the model IR version support issue...
5050
onnx = "1.17.0"
5151
onnxruntime = "1.20.1"
52-
pre-commit = "4.2.0"
53-
protobuf = "4.25.8"
54-
psutil = "5.9.4"
55-
pyscaffold = "4.6"
56-
scipy = "1.15.0"
52+
pre-commit = "~4.2.0"
53+
protobuf = "3.20.3" # protobuf==3.20.3 required by qonnx
54+
psutil = "~5.9.4"
55+
pyscaffold = "~4.6"
56+
scipy = "~1.15.0" # scipy>=1.16.0 requires python>=3.11
5757
setupext-janitor = "^1.1.2"
58-
sigtools = "4.0.1"
59-
toposort = "1.7.0"
60-
vcdvcd = "1.0.5"
61-
wget = "3.2"
62-
pygments = "2.19.2"
63-
torch = "2.7.1"
64-
torchvision = "0.22.1"
65-
ipykernel = "6.29.5"
66-
jupyter = "1.1.1"
67-
markupsafe = "2.0.1"
68-
matplotlib = "3.10.3"
69-
pytest-dependency = "0.6.0"
70-
pytest-parallel = "0.1.1"
58+
sigtools = "~4.0.1"
59+
toposort = "~1.7.0"
60+
vcdvcd = "~1.0.5"
61+
wget = "~3.2"
62+
pygments = "~2.19.2"
63+
torch = "~2.7.1"
64+
torchvision = "~0.22.1"
65+
ipykernel = "~6.29.5"
66+
jupyter = "~1.1.1"
67+
markupsafe = "~3.0.2"
68+
matplotlib = "~3.10.3"
69+
pytest-dependency = "~0.6.0"
70+
pytest-parallel = "~0.1.1"
7171
netron = ">5.0.0"
72-
pandas = "2.3.0"
73-
scikit-learn = "1.7.0"
74-
tqdm = "4.67.1"
75-
pytest = "8.4.1"
76-
pytest-metadata = "3.1.1"
77-
pytest-html = "4.1.1"
78-
pytest-html-merger = "0.1.0"
79-
pytest-cov = "6.2.1"
80-
pytest-forked = "1.6.0"
81-
pytest-rerunfailures = "15.1"
82-
dvc = { version = "3.59.1", extras = ["webdav"] }
83-
dvclive = {version = "3.48.2", extras = ["image"] }
84-
deap = "1.4.3"
85-
pyyaml = "6.0.2"
86-
mip = "1.13.0"
87-
networkx = "3.4"
72+
pandas = "~2.3.1"
73+
scikit-learn = "~1.7.0"
74+
tqdm = "~4.67.1"
75+
pytest = "~8.4.1"
76+
pytest-metadata = "~3.1.1"
77+
pytest-html = "~4.1.1"
78+
pytest-html-merger = "~0.1.0"
79+
pytest-cov = "~6.2.1"
80+
pytest-forked = "~1.6.0"
81+
pytest-rerunfailures = "~15.1"
82+
dvc = { version = " ~3.59.1", extras = ["webdav"] }
83+
dvclive = {version = "~3.48.2", extras = ["image"] }
84+
deap = "~1.4.3"
85+
pyyaml = "~6.0.2"
86+
mip = "~1.13.0"
87+
networkx = "~3.4.2"
8888
future-annotations = "1.0.0"
89-
dependencies = "2.0.1"
90-
tokenize-rt = "4.2.1"
89+
dependencies = "2.0.1" # dependencies==2.0.1 required by brvitas
90+
tokenize-rt = "~4.2.1"
9191
tclwrapper = "0.0.1"
92-
setuptools = ">40.8.0"
93-
pytest-xdist = {version = "3.6.1", extras = ["setproctitle"]}
94-
cmake = "4.0.3"
92+
setuptools = ">40.8.0,<70.0.0" # setuptools<70.0.0 required by brevitas
93+
pytest-xdist = {version = "~3.6.1", extras = ["setproctitle"]}
94+
cmake = "~4.0.3"
9595

9696
termcolor = "^2.5.0"
9797
rich = "^13.9.4"

0 commit comments

Comments
 (0)