15
0

Accepting request 929912 from devel:languages:python

- 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/request/show/929912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-importlib-resources?expand=0&rev=3
This commit is contained in:
2021-11-21 22:51:35 +00:00
committed by Git OBS Bridge
4 changed files with 16 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a65882a4d0fe5fbf702273456ba2ce74fe44892c25e42e057aca526b702a6d4b
size 29651

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d756e2f85dd4de2ba89be0b21dba2a3bbec2e871a42a3a16719258a11f87506b
size 30554

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Nov 6 18:19:08 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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 <code@bnavigator.de>

View File

@@ -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}