Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
python-joblib
python-joblib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-joblib.spec of Package python-joblib
# # spec file for package python-joblib # # Copyright (c) 2020 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global skip_python2 1 Name: python-joblib Version: 0.16.0 Release: 0 Summary: Module for using Python functions as pipeline jobs License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/joblib/joblib Source: https://files.pythonhosted.org/packages/source/j/joblib/joblib-%{version}.tar.gz Patch1: disable_test_on_big_endian.patch # PATCH-FIX-OPENSUSE - Disable tests failing often in OBS Patch2: joblib-disable-unrelialble-tests.patch BuildRequires: %{python_module lz4} BuildRequires: %{python_module numpy} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-threadpoolctl Requires: python-lz4 Recommends: python-numpy Recommends: python-psutil BuildArch: noarch %python_subpackages %description Joblib is a set of tools to provide lightweight pipelining in Python. In particular, joblib offers: 1. transparent disk-caching of the output values and lazy re-evaluation (memoize pattern) 2. parallel computing 3. logging and tracing of the execution Joblib can handle large data and has specific optimizations for `numpy` arrays. %prep %setup -q -n joblib-%{version} %patch1 -p1 %ifarch aarch64 %arm ppc64 %{ix86} %patch2 -p1 %endif %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 # turn off unreliable tests across architectures # https://bugzilla.suse.com/show_bug.cgi?id=1177209 # they have been seen failing for the first time on following # architectures: # s390x: # test_hash_numpy_noncontiguous # test_hashes_are_different_between_c_and_fortran_contiguous_arrays # test_hashes_stay_the_same_with_numpy_objects # test_non_contiguous_array_pickling # x86_64: # test_multithreaded_parallel_termination_resource_tracker_silent # aarch64: # test_resource_tracker_silent_when_reference_cycles # test_child_raises_parent_exits_cleanly # i586: # test_nested_loop_error_in_grandchild_resource_tracker_silent # s390x: # test_hash_numpy_noncontiguous # test_hashes_are_different_between_c_and_fortran_contiguous_arrays # test_hashes_stay_the_same_with_numpy_objects # test_non_contiguous_array_pickling DISABLED_TESTS="test_hash_numpy_noncontiguous or \ test_hashes_are_different_between_c_and_fortran_contiguous_arrays or \ test_hashes_stay_the_same_with_numpy_objects or \ test_non_contiguous_array_pickling or \ test_multithreaded_parallel_termination_resource_tracker_silent or \ test_resource_tracker_silent_when_reference_cycles or \ test_child_raises_parent_exits_cleanly or \ test_nested_loop_error_in_grandchild_resource_tracker_silent or \ test_hash_numpy_noncontiguous or \ test_hashes_are_different_between_c_and_fortran_contiguous_arrays or \ test_hashes_stay_the_same_with_numpy_objects or \ test_non_contiguous_array_pickling" %pytest -k "not ($DISABLED_TESTS)" %files %{python_files} %license LICENSE.txt %doc README.rst %{python_sitelib}/joblib-%{version}-py*.egg-info %{python_sitelib}/joblib/ %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