From 35dd29ddf67eaed05826cb3489aedebcfed89bc5259fbe56791bf997a5602b7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 24 Nov 2020 09:10:25 +0000 Subject: [PATCH] Accepting request 849807 from home:bnavigator:branches:devel:languages:python - The Python stdlib >= does not provide importlib_metadata or importlib_resources but importlib.metadata and importlib.resources. If a package specifically asks for importlib_*, they actually require the dedicated package with extended API. OBS-URL: https://build.opensuse.org/request/show/849807 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=39 --- python38.changes | 8 ++++++++ python38.spec | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/python38.changes b/python38.changes index 43b7fd4..b000185 100644 --- a/python38.changes +++ b/python38.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Nov 20 14:40:09 UTC 2020 - Benjamin Greiner + +- The Python stdlib >= does not provide importlib_metadata or + importlib_resources but importlib.metadata and importlib.resources. + If a package specifically asks for importlib_*, they actually + require the dedicated package with extended API. + ------------------------------------------------------------------- Mon Nov 9 10:51:30 UTC 2020 - Matej Cepl diff --git a/python38.spec b/python38.spec index 66c9d19..2d50928 100644 --- a/python38.spec +++ b/python38.spec @@ -299,10 +299,6 @@ Provides: %{python_pkg_name}-asyncio = %{version} Provides: %{python_pkg_name}-typing = %{version} # python3-xml was merged into python3, now moved into -base Provides: %{python_pkg_name}-xml = %{version} -# python-importlib-metadata was specifical project which was merged into 3.8 -Provides: %{python_pkg_name}-importlib-metadata = %{version} -# python-importlib_resources is a backport of 3.7 behaviour into older pythons -Provides: %{python_pkg_name}-importlib_resources = %{version} %if %{primary_interpreter} Provides: python3-asyncio = %{version} Provides: python3-base = %{version} @@ -311,10 +307,6 @@ Provides: python3-typing = %{version} Obsoletes: python3-typing < %{version} Provides: python3-xml = %{version} Obsoletes: python3-xml < %{version} -Provides: python3-importlib-metadata = %{version} -Obsoletes: python3-importlib-metadata < %{version} -Provides: python3-importlib_resources = %{version} -Obsoletes: python3-importlib_resources < %{version} %endif %description -n %{python_pkg_name}-base