forked from pool/python-importlib-resources
Accepting request 1062933 from home:bnavigator:branches:devel:languages:python
- Remove obsolete cache compilation for tests * fixes d:l:p:backports 15.4_py39 build failure. - Avoid building for not supported Python <= 3.6 OBS-URL: https://build.opensuse.org/request/show/1062933 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-importlib-resources?expand=0&rev=17
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 2 18:51:58 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Remove obsolete cache compilation for tests
|
||||
* fixes d:l:p:backports 15.4_py39 build failure.
|
||||
- Avoid building for not supported Python <= 3.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 2 19:11:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-importlib-resources
|
||||
Version: 5.10.2
|
||||
Release: 0
|
||||
@@ -25,12 +23,12 @@ Summary: Read resources from Python packages
|
||||
License: Apache-2.0
|
||||
URL: https://importlib-resources.readthedocs.io/
|
||||
Source: https://files.pythonhosted.org/packages/source/i/importlib_resources/importlib_resources-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 6}
|
||||
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module testsuite}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: %{python_module wheel}
|
||||
# Breaking the depcycle; not absolutely needed as ZipReader is not executed in tests.
|
||||
# BuildRequires: %%{python_module zipp >= 3.1.0 if %%python-base < 3.10}
|
||||
@@ -66,8 +64,6 @@ consistent semantics.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# create pycache so that update-zips.py does not fail with ValueError
|
||||
python3 -m compileall $PWD/importlib_resources/tests/
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
|
||||
Reference in New Issue
Block a user