Accepting request 975783 from devel:languages:python

- update to 4.11.3:
  * #372: Removed cast of path items in FastPath, not needed.
  * #369: Fixed bug where ``EntryPoint.extras`` was returning
    match objects and not the extras strings.
  * #367: In ``Distribution.requires`` for egg-info, if ``requires.txt``
    is empty, return an empty list.
  * bpo-46246: Added ``__slots__`` to ``EntryPoints``.
  * #365 and bpo-46546: Avoid leaking ``method_name`` in
    ``DeprecatedList``.

- update to 4.10.1:
  - #361: Avoid potential REDoS in ``EntryPoint.pattern``. 

- Update to 4.10.0:
  - #354: Removed Distribution._local factory. This
    functionality was created as a demonstration of the possible
    implementation. Now, the pep517 package provides this
    functionality directly through pep517.meta.load.
  - Require Python 3.7 or later.
  - #357: Fixed requirement generation from egg-info when a URL
    requirement is given.

OBS-URL: https://build.opensuse.org/request/show/975783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-importlib-metadata?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2022-05-10 13:11:33 +00:00 committed by Git OBS Bridge
commit 987ca2f6f3
4 changed files with 39 additions and 8 deletions

View File

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

View File

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

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Mon May 9 10:53:20 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 4.11.3:
* #372: Removed cast of path items in FastPath, not needed.
* #369: Fixed bug where ``EntryPoint.extras`` was returning
match objects and not the extras strings.
* #367: In ``Distribution.requires`` for egg-info, if ``requires.txt``
is empty, return an empty list.
* bpo-46246: Added ``__slots__`` to ``EntryPoints``.
* #365 and bpo-46546: Avoid leaking ``method_name`` in
``DeprecatedList``.
-------------------------------------------------------------------
Mon Jan 31 20:04:23 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 4.10.1:
- #361: Avoid potential REDoS in ``EntryPoint.pattern``.
-------------------------------------------------------------------
Fri Dec 31 12:51:32 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Update to 4.10.0:
- #354: Removed Distribution._local factory. This
functionality was created as a demonstration of the possible
implementation. Now, the pep517 package provides this
functionality directly through pep517.meta.load.
- Require Python 3.7 or later.
- #357: Fixed requirement generation from egg-info when a URL
requirement is given.
-------------------------------------------------------------------
Mon Dec 6 09:40:17 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,8 +26,9 @@
%endif
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%define skip_python36 1
Name: python-importlib-metadata%{psuffix}
Version: 4.8.2
Version: 4.11.3
Release: 0
Summary: Read metadata from Python packages
License: Apache-2.0
@ -64,9 +65,8 @@ This package supplies third-party access to the functionality of
importlib.metadata including improvements added to subsequent Python versions.
%prep
%setup -q -n importlib_metadata-%{version}
# don't import from sourcedir during testing
sed -i -e 's/norecursedirs.*/& importlib_metadata/' pytest.ini
%autosetup -p1 -n importlib_metadata-%{version}
echo "import setuptools; setuptools.setup()" > setup.py
%build
%python_build