Skip to content

Commit

Permalink
dependencies: (onnx) use versioned onnx instead of weekly (#2515)
Browse files Browse the repository at this point in the history
The onnx project added type annotations in 1.16
  • Loading branch information
superlopuh authored May 2, 2024
1 parent 588f1e6 commit d588ab7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci-mlir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ jobs:
# Change directory so that xdsl-opt can be found during installation.
cd xdsl
pip install -r requirements.txt
# install onnx dependencies
pip install -e ".[onnx]"
- name: Cache binaries
id: cache-binary
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dynamic = ["version"]

[project.optional-dependencies]
extras = ["riscemu==2.2.5", "wgpu==0.15.1", "textual==0.58.1", "pyclip==0.7"]
onnx = ["onnx-weekly"]
onnx = ["onnx==1.16"]

[project.urls]
Homepage = "https://xdsl.dev/"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ pytest-asyncio==0.23.6
# pyright version has to be fixed with `==`. The CI parses this file
# and installs the according version for typechecking.
pyright==1.1.345
-e .[extras]
-e .[extras,onnx]

0 comments on commit d588ab7

Please sign in to comment.