From 83e48f46d5c042ae8c3906be0db28850d1f9aeb9375bbc69250f45245e61096e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 10 Dec 2020 11:03:11 +0000 Subject: [PATCH] - Last try before this results in an editwar: * remove importlib_resources and importlib-metadata provides/obsoletes * import importlib_resources is not the same as import importlib.resources, same for metadata * The backport packages from PyPI needed for older flavors are specified as such for setuptools or in pyproject.toml. If a package requires them they typically add them with a python version qualifier and the packages have their own version numbers. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=40 --- python39.changes | 14 ++++++++++++++ python39.spec | 8 -------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/python39.changes b/python39.changes index 419c110..2a265bf 100644 --- a/python39.changes +++ b/python39.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Dec 10 00:26:51 UTC 2020 - Benjamin Greiner + +- Last try before this results in an editwar: + * remove importlib_resources and importlib-metadata + provides/obsoletes + * import importlib_resources is not the same as + import importlib.resources, same for metadata + * The backport packages from PyPI needed for older flavors are + specified as such for setuptools or in pyproject.toml. If a + package requires them they typically add them with a python + version qualifier and the packages have their own version + numbers. + ------------------------------------------------------------------- Sat Dec 5 16:55:12 UTC 2020 - Matej Cepl diff --git a/python39.spec b/python39.spec index 49d3638..1c044af 100644 --- a/python39.spec +++ b/python39.spec @@ -291,10 +291,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} @@ -303,10 +299,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