forked from pool/python-importlib-metadata
- Update to 8.5.0:
- Features
- Deferred import of zipfile.Path
- Deferred import of json
- Rely on zipp overlay for zipfile.Path.
- Deferred import of inspect for import performance.
- Disallow passing of 'dist' to EntryPoints.select.
- Add SimplePath to importlib_metadata.__all__.
- Prioritize valid dists to invalid dists when retrieving by
name.
- Deferred select imports in for speedup
(python/cpython#109829).
- Updated fixtures for python/cpython#120801.
- Deprecations and Removals
- Message.__getitem__ now raises a KeyError on missing
keys.
- Removed deprecated support for Distribution subclasses not
implementing abstract methods.
- Bugfixes
- When reading installed files from an egg, use
relative_to(walk_up=True) to honor files installed outside
of the installation root.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-importlib-metadata?expand=0&rev=56
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 31 18:37:19 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up the SPEC file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 23 20:30:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-importlib-metadata%{psuffix}
|
||||
@@ -32,7 +31,7 @@ Version: 8.5.0
|
||||
Release: 0
|
||||
Summary: Read metadata from Python packages
|
||||
License: Apache-2.0
|
||||
URL: http://importlib-metadata.readthedocs.io/
|
||||
URL: https://importlib-metadata.readthedocs.io/
|
||||
Source: https://files.pythonhosted.org/packages/source/i/importlib_metadata/importlib_metadata-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
@@ -44,11 +43,11 @@ BuildRequires: %{python_module zipp >= 0.5}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-zipp >= 0.5
|
||||
Provides: python-importlib_metadata = %{version}
|
||||
BuildArch: noarch
|
||||
%if %{python_version_nodots} < 38
|
||||
Requires: python-typing_extensions >= 3.6.4
|
||||
%endif
|
||||
Provides: python-importlib_metadata = %{version}
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module importlib_resources >= 1.3 if %python-base < 3.9}
|
||||
BuildRequires: %{python_module jaraco.test}
|
||||
|
||||
Reference in New Issue
Block a user