From 47fac405661991ac186ddb00de3b2ba967261889ef9a93c89de0d1ef2dd9b80a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 6 Nov 2021 18:24:56 +0000 Subject: [PATCH] - update to 5.4.0: * Test suite now relies entirely on the traversable API. * Now raise a ``DeprecationWarning`` for all legacy functions. Instead, users should rely on the ``files()`` API introduced in importlib_resources 1.3. See * Updated readme to reflect current behavior and show which versions correspond to which behavior in CPython. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-importlib-resources?expand=0&rev=6 --- importlib_resources-5.2.2.tar.gz | 3 --- importlib_resources-5.4.0.tar.gz | 3 +++ python-importlib-resources.changes | 11 +++++++++++ python-importlib-resources.spec | 4 ++-- 4 files changed, 16 insertions(+), 5 deletions(-) delete mode 100644 importlib_resources-5.2.2.tar.gz create mode 100644 importlib_resources-5.4.0.tar.gz diff --git a/importlib_resources-5.2.2.tar.gz b/importlib_resources-5.2.2.tar.gz deleted file mode 100644 index 76483b7..0000000 --- a/importlib_resources-5.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a65882a4d0fe5fbf702273456ba2ce74fe44892c25e42e057aca526b702a6d4b -size 29651 diff --git a/importlib_resources-5.4.0.tar.gz b/importlib_resources-5.4.0.tar.gz new file mode 100644 index 0000000..b2f75e9 --- /dev/null +++ b/importlib_resources-5.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d756e2f85dd4de2ba89be0b21dba2a3bbec2e871a42a3a16719258a11f87506b +size 30554 diff --git a/python-importlib-resources.changes b/python-importlib-resources.changes index da97b38..22320e3 100644 --- a/python-importlib-resources.changes +++ b/python-importlib-resources.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Nov 6 18:19:08 UTC 2021 - Dirk Müller + +- update to 5.4.0: + * Test suite now relies entirely on the traversable API. + * Now raise a ``DeprecationWarning`` for all legacy + functions. Instead, users should rely on the ``files()`` + API introduced in importlib_resources 1.3. See + * Updated readme to reflect current behavior and show + which versions correspond to which behavior in CPython. + ------------------------------------------------------------------- Mon Sep 20 10:47:28 UTC 2021 - Ben Greiner diff --git a/python-importlib-resources.spec b/python-importlib-resources.spec index 057854d..b8a06ea 100644 --- a/python-importlib-resources.spec +++ b/python-importlib-resources.spec @@ -19,13 +19,13 @@ %{?!python_module:%define python3-%{**}} %define skip_python2 1 Name: python-importlib-resources -Version: 5.2.2 +Version: 5.4.0 Release: 0 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 pytest} +BuildRequires: %{python_module pytest >= 6} BuildRequires: %{python_module setuptools_scm >= 3.4.1} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testsuite}