From 1cef888bd8389044ff044988b4f18af931bfae202ba103fcc8616edacdbcf2cb Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 31 Oct 2024 18:37:34 +0000 Subject: [PATCH] - 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 --- python-importlib-metadata.changes | 5 +++++ python-importlib-metadata.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-importlib-metadata.changes b/python-importlib-metadata.changes index 86f7328..aea235f 100644 --- a/python-importlib-metadata.changes +++ b/python-importlib-metadata.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 31 18:37:19 UTC 2024 - Matej Cepl + +- Clean up the SPEC file. + ------------------------------------------------------------------- Wed Oct 23 20:30:27 UTC 2024 - Dirk Müller diff --git a/python-importlib-metadata.spec b/python-importlib-metadata.spec index 8958d15..5abb58b 100644 --- a/python-importlib-metadata.spec +++ b/python-importlib-metadata.spec @@ -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}