- 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/package/show/devel:languages:python/python-importlib-metadata?expand=0&rev=18
This commit is contained in:
Matej Cepl 2021-12-31 12:55:24 +00:00 committed by Git OBS Bridge
parent 46b3d8e145
commit a0b7567741
4 changed files with 18 additions and 7 deletions

View File

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

View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
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

@ -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.10.0
Release: 0
Summary: Read metadata from Python packages
License: Apache-2.0
@ -64,9 +65,7 @@ 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}
%build
%python_build