Search Criteria
Package Details: python-onnxoptimizer 0.4.2-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python-onnxoptimizer.git (read-only, click to copy) |
|---|---|
| Package Base: | python-onnxoptimizer |
| Description: | ONNX model optimizer |
| Upstream URL: | https://github.com/onnx/optimizer |
| Licenses: | Apache-2.0 |
| Submitter: | yan12125 |
| Maintainer: | Smoolak |
| Last Packager: | Smoolak |
| Votes: | 3 |
| Popularity: | 0.000000 |
| First Submitted: | 2021-04-10 15:29 (UTC) |
| Last Updated: | 2026-02-16 22:26 (UTC) |
Dependencies (13)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- protobuf (protobuf-gitAUR)
- python
- python-onnx
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- protobuf (protobuf-gitAUR) (make)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
- python-numpy (python-numpy-gitAUR, python-numpy-mkl-binAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR) (check)
- python-pytest (check)
Required by (1)
- chainner-bin (optional)
Latest Comments
micwoj92 commented on 2026-02-17 05:23 (UTC)
Thanks for quick fix. Fyi it should not be necessary to add
numpyto checkdeps as it is (implicitly) pulled in via python-onnx.Smoolak commented on 2026-02-16 22:45 (UTC)
@micwoj92 The test suite was inadvertently dropped when updating to 0.4.2 due to switching the PKGBUILD to the PEP 517 build method (python -m build --wheel), which doesn't leave the C++ extension in the build tree where pytest could find it. The check() wasn't adapted for that change, and as you noted, the fallback import test had the same problem since it could only succeed if the package was already installed. Fixed in 0.4.2-2 by installing the built wheel to a temporary directory and running the full test suite against it. Sorry for the inconvenience, and thanks for reporting.
micwoj92 commented on 2026-02-16 21:51 (UTC)
Why was running test suite replaced by just import test? It also fails without onnxoptimizer already installed:
micwoj92 commented on 2025-12-11 20:27 (UTC)
Check fails: