15
0

Accepting request 1032011 from home:yarunachalam:branches:devel:languages:python

- 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).

OBS-URL: https://build.opensuse.org/request/show/1032011
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-importlib-resources?expand=0&rev=11
This commit is contained in:
2022-10-31 07:51:50 +00:00
committed by Git OBS Bridge
parent c363eb7410
commit ce6c0414a9
4 changed files with 14 additions and 4 deletions

View File

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

View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Oct 28 17:45:02 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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 <mcepl@suse.com>

View File

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