Skip to content

Commit 9417d3c

Browse files
authored
fix(deps): pin onnxruntime to last version with python 3.10 support (#488)
* Pin onnxruntime to last version with python 3.10 support * Adjust version pinning to PEP 440
1 parent 6d5b6c5 commit 9417d3c

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers = [
2525
]
2626
dependencies = [
2727
"numpy>=1.16.6",
28+
"onnxruntime~=1.23.0",
2829
"opencv-python-headless",
2930
"openvino>=2025.3",
3031
"pillow",
@@ -190,6 +191,9 @@ lint.ignore = [
190191
lint.fixable = ["ALL"]
191192
lint.unfixable = []
192193

194+
# Allow unused variables when underscore-prefixed.
195+
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
196+
193197
# Exclude a variety of commonly ignored directories.
194198
exclude = [
195199
".bzr",
@@ -217,9 +221,6 @@ exclude = [
217221
# Same as Black.
218222
line-length = 120
219223

220-
# Allow unused variables when underscore-prefixed.
221-
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
222-
223224
# Assume Python 3.10.
224225
target-version = "py310"
225226

uv.lock

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)