Package Details: python-onnx 1:1.14.1-1

Git Clone URL: https://aur.archlinux.org/python-onnx.git (read-only, click to copy)
Package Base: python-onnx
Description: Open Neural Network Exchange
Upstream URL: https://onnx.ai
Licenses: MIT
Submitter: hottea
Maintainer: hottea (lilac)
Last Packager: lilac
Votes: 3
Popularity: 0.002606
First Submitted: 2019-03-12 09:09 (UTC)
Last Updated: 2023-08-26 04:58 (UTC)

Latest Comments

hottea commented on 2021-10-26 14:17 (UTC)

@marcelroed You could report issue or bug to upstream, not here.

marcelroed commented on 2021-10-26 12:13 (UTC) (edited on 2021-10-26 12:56 (UTC) by marcelroed)

After the latest update I have a bunch of the tests running the example notebooks failing, which is weird, because they work fine when I run them myself. Specifically in the Protobufs.ipynb notebook it fails to have helpers defined after running from onnx import *. Here's a complete list of the tests that fail.

FAILED onnx/examples/Protobufs.ipynb::Cell 2
FAILED onnx/examples/np_array_tensorproto.ipynb::Cell 4
FAILED onnx/examples/np_array_tensorproto.ipynb::Cell 3
FAILED onnx/examples/shape_inference.ipynb::Cell 1
FAILED onnx/examples/np_array_tensorproto.ipynb::Cell 2
FAILED onnx/examples/Protobufs.ipynb::Cell 7
FAILED onnx/examples/Protobufs.ipynb::Cell 3
FAILED onnx/examples/Protobufs.ipynb::Cell 1
FAILED onnx/examples/Protobufs.ipynb::Cell 6
FAILED onnx/examples/Protobufs.ipynb::Cell 4
FAILED onnx/examples/Protobufs.ipynb::Cell 5
FAILED onnx/examples/check_model.ipynb::Cell 1
FAILED onnx/test/automatic_upgrade_test.py::TestAutomaticUpgrade::test_ops_tested - AssertionError: assert 70 == 0

milesxu commented on 2021-02-03 03:57 (UTC)

I've got the same unrecognized nbval error.

After I reinstalled the python-nbval, the error is solved.

OniLink commented on 2021-01-31 21:20 (UTC)

Fails to build with error

ERROR: Requested pytest-runner from https://files.pythonhosted.org/packages/16/45/81b5262c0efc08882bdf183b788e6d28e3d684863990996d8b60967d48da/pytest_runner-5.2-py2.py3-none-any.whl#sha256=5534b08b133ef9a5e2c22c7886a8f8508c95bb0b0bdc6cc13214f269c3c70d51 has different version in metadata: '5.2'
Traceback (most recent call last):
  File "/home/violet/.local/lib/python3.9/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmppe2f8gs3', '--quiet', 'pytest-runner']' returned non-zero exit status 1.

leidola commented on 2021-01-31 19:13 (UTC) (edited on 2021-01-31 19:13 (UTC) by leidola)

Any idea what might be wrong here?

[...]
==> Beginne check()...
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --nbval --current-env
  inifile: /home/oleid/.cache/rua/build/python-onnx/src/python-onnx/setup.cfg
  rootdir: /home/oleid/.cache/rua/build/python-onnx/src/python-onnx


Fails with rua or when building manually.

It would seem I have pytest and python-nbval installed, as suggested here:
https://github.com/onnx/onnx/issues/975


$ whereis pytest
pytest: /usr/bin/pytest

$ pytest --version
pytest 6.2.1

$ python --version
Python 3.9.1

dront78 commented on 2019-06-10 10:09 (UTC)

onnx-1.4.1.tar.gz ... FAILED

==> ERROR: One or more files did not pass the validity check! ==> ERROR: Makepkg was unable to build python-onnx.