forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove PyYAML dependency from Python bindings. (iree-org#18262)
Keeping the list of dependencies small will make it easier to depend on us. Installing `iree-compiler` and `iree-runtime` brings these packages along: ``` Installing collected packages: mpmath, sympy, PyYAML, numpy, iree-runtime, iree-compiler Successfully installed PyYAML-6.0.2 iree-compiler-20240816.987 iree-runtime-20240816.987 mpmath-1.3.0 numpy-2.0.1 sympy-1.13.2 ``` Unless LLVM/MLIR somehow needs PyYAML (e.g. for linalg opdsl generators / tests), I think we can drop it now. `git log -S pyyaml` points to only these commits: iree-org@dd787a7, iree-org@3149b6d. * PyYAML is still used by [`build_tools/github_actions/configure_ci.py`](https://github.com/iree-org/iree/blob/main/build_tools/github_actions/configure_ci.py) and [`build_tools/github_actions/configure_ci_test.py`](https://github.com/iree-org/iree/blob/main/build_tools/github_actions/configure_ci_test.py). I just turned off that test in CI. We could install PyYAML (via a `test_dependencies.txt`) to keep running it, but I think we should focus on just what the core project truly needs. * `build_tools/testing/gen_test_matrix.py` hasn't been used in a while and that sort of test generator should now live in an external repository like https://github.com/iree-org/iree-test-suites
- Loading branch information
Showing
12 changed files
with
1 addition
and
540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
# Ensure a recent cmake | ||
cmake>=3.18.4 | ||
ninja | ||
PyYAML>=5.4.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.