diff --git a/importlib_resources-5.10.0.tar.gz b/importlib_resources-5.10.0.tar.gz new file mode 100644 index 0000000..e158180 --- /dev/null +++ b/importlib_resources-5.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c01b1b94210d9849f286b86bb51bcea7cd56dde0600d8db721d7b81330711668 +size 37906 diff --git a/importlib_resources-5.9.0.tar.gz b/importlib_resources-5.9.0.tar.gz deleted file mode 100644 index 6aed1b1..0000000 --- a/importlib_resources-5.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5481e97fb45af8dcf2f798952625591c58fe599d0735d86b10f54de086a61681 -size 36314 diff --git a/python-importlib-resources.changes b/python-importlib-resources.changes index f315536..b2407eb 100644 --- a/python-importlib-resources.changes +++ b/python-importlib-resources.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Oct 28 17:45:02 UTC 2022 - Yogalakshmi Arunachalam + +- Update to v5.10.0 + * #203: Lifted restriction on modules passed to files. Now modules need not be a package and if a non-package module is passed, + resources will be resolved adjacent to those modules, even for modules not found in any package. For example, + files(import_module('mod.py')) will resolve resources found at the root. The parameter to files was renamed from 'package' to 'anchor', + with a compatibility shim for those passing by keyword. + * #259: files no longer requires the anchor to be specified and can infer the anchor from the caller's scope (defaults to the caller's module). + ------------------------------------------------------------------- Tue Sep 13 06:45:26 UTC 2022 - Matej Cepl diff --git a/python-importlib-resources.spec b/python-importlib-resources.spec index e42b7d3..960beb7 100644 --- a/python-importlib-resources.spec +++ b/python-importlib-resources.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python3-%{**}} %define skip_python2 1 Name: python-importlib-resources -Version: 5.9.0 +Version: 5.10.0 Release: 0 Summary: Read resources from Python packages License: Apache-2.0