惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Full Disclosure
V
Vulnerabilities – Threatpost
Attack and Defense Labs
Attack and Defense Labs
N
News and Events Feed by Topic
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
Schneier on Security
Schneier on Security
B
Blog
TaoSecurity Blog
TaoSecurity Blog
The Last Watchdog
The Last Watchdog
H
Hacker News: Front Page
Hacker News - Newest:
Hacker News - Newest: "LLM"
博客园_首页
D
Docker
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Y
Y Combinator Blog
W
WeLiveSecurity
N
News and Events Feed by Topic
F
Fortinet All Blogs
PCI Perspectives
PCI Perspectives
WordPress大学
WordPress大学
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Recent Announcements
Recent Announcements
Forbes - Security
Forbes - Security
T
Tailwind CSS Blog
Hacker News: Ask HN
Hacker News: Ask HN
爱范儿
爱范儿
腾讯CDC
Last Week in AI
Last Week in AI
月光博客
月光博客
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
Help Net Security
Help Net Security
V
V2EX
C
Cyber Attacks, Cyber Crime and Cyber Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
H
Heimdal Security Blog
L
LINUX DO - 最新话题
GbyAI
GbyAI
The Hacker News
The Hacker News
罗磊的独立博客
S
SegmentFault 最新的问题
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 【当耐特】
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
V2EX - 技术
V2EX - 技术
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
O
OpenAI News
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

AUR Newest Packages

AUR (en) - luna-translator AUR (en) - allium-tools AUR (en) - braincup-bin AUR (en) - todarchy-git AUR (en) - ioruba-desktop-bin AUR (en) - ioruba-desktop AUR (en) - synca-bin AUR (en) - deadsync-bin AUR (en) - deadsync AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - smolvm-bin AUR (en) - smolvm AUR (en) - uac-launch-control-bin AUR (en) - openclaw AUR (en) - keyviz-zh-bin AUR (en) - runex-bin AUR (en) - sing-box-ref1nd-beta-bin AUR (en) - netscan-tui AUR (en) - koharu-appimage AUR (en) - pulsedb AUR (en) - clashmi-bin AUR (en) - viper-py AUR (en) - netwatch-tui-bin AUR (en) - scran AUR (en) - snapdog-client AUR (en) - snapdog AUR (en) - opentubex AUR (en) - fafind-bin AUR (en) - smosummary AUR (en) - stremio-linux-shell AUR (en) - cardwire AUR (en) - android-cli AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - pentest-ghostwriter AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - byedroid AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - opennow AUR (en) - kapi-bin AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - elio-bin AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - ascendara-bin
AUR (en) - python-onnxoptimizer
2026-06-01 · via AUR Newest Packages

Package Details: python-onnxoptimizer 0.4.2-2

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-06-01 11:01 (UTC)

Latest Comments

micwoj92 commented on 2026-02-17 05:23 (UTC)

Thanks for quick fix. Fyi it should not be necessary to add numpy to 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:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import onnxoptimizer; print(onnxoptimizer.__version__)
    ^^^^^^^^^^^^^^^^^^^^
  File "/build/python-onnxoptimizer/src/onnx-optimizer/onnxoptimizer/__init__.py", line 14, in <module>
    import onnxoptimizer.onnx_opt_cpp2py_export as C
ModuleNotFoundError: No module named 'onnxoptimizer.onnx_opt_cpp2py_export'
Warning: Import test failed

micwoj92 commented on 2025-12-11 20:27 (UTC)

Check fails:

============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0
rootdir: /build/python-onnxoptimizer/src/onnx-optimizer
configfile: setup.cfg
testpaths: onnxoptimizer/test/
plugins: nbval-0.11.0
collected 0 items / 1 error

==================================== ERRORS ====================================
____________ ERROR collecting onnxoptimizer/test/optimizer_test.py _____________
ImportError while importing test module '/build/python-onnxoptimizer/src/onnx-optimizer/onnxoptimizer/test/optimizer_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxoptimizer/test/optimizer_test.py:19: in <module>
    import onnx
/usr/lib/python3.13/site-packages/onnx/__init__.py:131: in <module>
    from onnx import (
/usr/lib/python3.13/site-packages/onnx/compose.py:8: in <module>
    from onnx import (
/usr/lib/python3.13/site-packages/onnx/helper.py:21: in <module>
    from onnx import _mapping, defs, subbyte
/usr/lib/python3.13/site-packages/onnx/_mapping.py:8: in <module>
    import ml_dtypes
E   ModuleNotFoundError: No module named 'ml_dtypes'
=========================== short test summary info ============================
ERROR onnxoptimizer/test/optimizer_test.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 1.96s ===============================