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

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Securelist
K
Kaspersky official blog
Scott Helme
Scott Helme
C
CXSECURITY Database RSS Feed - CXSecurity.com
GbyAI
GbyAI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
C
Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - Franky
Security Latest
Security Latest
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Y
Y Combinator Blog
T
Threat Research - Cisco Blogs
L
LINUX DO - 热门话题
C
Cyber Attacks, Cyber Crime and Cyber Security
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
月光博客
月光博客
I
Intezer
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
人人都是产品经理
人人都是产品经理
L
Lohrmann on Cybersecurity
Recorded Future
Recorded Future
Latest news
Latest news
V2EX - 技术
V2EX - 技术
T
The Exploit Database - CXSecurity.com
H
Heimdal Security Blog
F
Fortinet All Blogs
Cloudbric
Cloudbric
IT之家
IT之家
博客园 - 叶小钗
Microsoft Security Blog
Microsoft Security Blog
P
Proofpoint News Feed
博客园 - 司徒正美
Apple Machine Learning Research
Apple Machine Learning Research
PCI Perspectives
PCI Perspectives
AWS News Blog
AWS News Blog
H
Help Net Security
S
Security @ Cisco Blogs
酷 壳 – CoolShell
酷 壳 – CoolShell
Recent Announcements
Recent Announcements
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
F
Full Disclosure
S
Schneier on Security
S
Security Affairs
T
Tenable Blog

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 ===============================