forked from pool/python-onnx
Accepting request 947377 from home:Guillaume_G:branches:science:machinelearning
- Update to 1.10.2: https://github.com/onnx/onnx/releases/tag/v1.10.2 - Rebase no-python2.patch - Disable python 3.10 support as onnx is not ready yet. - Do not run tests in parallel, since it is not parallel safe. OBS-URL: https://build.opensuse.org/request/show/947377 OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=30
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
Index: onnx-1.6.0/tools/protoc-gen-mypy.py
|
||||
===================================================================
|
||||
--- onnx-1.6.0.orig/tools/protoc-gen-mypy.py
|
||||
+++ onnx-1.6.0/tools/protoc-gen-mypy.py
|
||||
--- onnx-1.10.2/tools/protoc-gen-mypy.py.orig 2022-01-19 10:03:51.018636231 +0100
|
||||
+++ onnx-1.10.2/tools/protoc-gen-mypy.py 2022-01-19 10:04:17.218928895 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
+#!/usr/bin/python3
|
||||
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Taken from https://github.com/dropbox/mypy-protobuf/blob/d984389124eae6dbbb517f766b9266bb32171510/python/protoc-gen-mypy
|
||||
# (Apache 2.0 License)
|
||||
|
3
onnx-1.10.2.tar.gz
Normal file
3
onnx-1.10.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:520b3aa34272cc215e2eb41385f58adf01750d88858d4722563edca8410c5dc9
|
||||
size 9415481
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0054c7eeed97e8ee43921c3f944b0450782a081d910a14b3b6e662bc87065192
|
||||
size 4934809
|
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 14 07:29:10 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Update to 1.10.2: https://github.com/onnx/onnx/releases/tag/v1.10.2
|
||||
- Rebase no-python2.patch
|
||||
- Disable python 3.10 support as onnx is not ready yet.
|
||||
- Do not run tests in parallel, since it is not parallel safe.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 15 18:25:39 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-onnx
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -20,8 +20,10 @@
|
||||
%define skip_python2 1
|
||||
# Tumbleweed does not have a python36-numpy anymore: NEP 29 dropped Python 3.6 for NumPy 1.20
|
||||
%define skip_python36 1
|
||||
# onnx 1.10.2 is not yet ready for python 3.10
|
||||
%define skip_python310 1
|
||||
Name: python-onnx
|
||||
Version: 1.8.1
|
||||
Version: 1.10.2
|
||||
Release: 0
|
||||
Summary: Open Neural Network eXchange
|
||||
License: MIT
|
||||
@@ -152,7 +154,8 @@ donttest=" test_bvlc_alexnet_cpu \
|
||||
or test_inception_v2_cpu \
|
||||
or test_zfnet512_cpu \
|
||||
or test_resnet50_cpu"
|
||||
%pytest_arch -n auto -k "not ($donttest)" -ra
|
||||
# do not run in parallel yet - https://github.com/onnx/onnx/issues/3946#issuecomment-1015634235
|
||||
%pytest_arch -n 1 -k "not ($donttest)" -ra
|
||||
popd
|
||||
|
||||
%post
|
||||
|
Reference in New Issue
Block a user