Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
python-onnxconverter-common
python-onnxconverter-common.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-onnxconverter-common.spec of Package python-onnxconverter-common
# # spec file for package python-onnxconverter-common # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: python-onnxconverter-common Version: 1.14.0 Release: 0 Summary: ONNX Converter and Optimization Tools License: MIT URL: https://github.com/microsoft/onnxconverter-common Source: https://github.com/microsoft/onnxconverter-common/archive/v%{version}.tar.gz#/onnxconverter_common-%{version}.tar.gz # onnx requires numpy < 2 #BuildRequires: %%{python_module numpy} BuildRequires: %{python_module onnx} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pip} BuildRequires: %{python_module protobuf} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-numpy Requires: python-onnx Requires: python-packaging Requires: python-protobuf BuildArch: noarch %python_subpackages %description The onnxconverter-common package provides common functions and utilities for use in converters from various AI frameworks to ONNX. It also enables the different converters to work together to convert a model from mixed frameworks, like a scikit-learn pipeline embedding a xgboost model. %prep %setup -q -n onnxconverter-common-%{version} %build %pyproject_wheel dos2unix README.md %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # no onnxruntime in Factory ignorefiles="--ignore tests/test_float16.py" ignorefiles+=" --ignore tests/test_onnx2py.py" ignorefiles+=" --ignore tests/test_onnxfx.py" ignorefiles+=" --ignore tests/test_auto_mixed_precision.py" ignorefiles+=" --ignore tests/test_auto_mixed_precision_model_path.py" %pytest $ignorefiles %files %{python_files} %license LICENSE %doc README.md %{python_sitelib}/onnxconverter_common %{python_sitelib}/onnxconverter_common-%{version}.dist-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor