Hello community, here is the log from the commit of package python-pytest4 for openSUSE:Factory checked in at 2019-09-19 15:49:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest4 (Old) and /work/SRC/openSUSE:Factory/.python-pytest4.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest4" Thu Sep 19 15:49:44 2019 rev:8 rq:730109 version:4.6.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest4/python-pytest4.changes 2019-08-27 15:20:39.908862643 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest4.new.7948/python-pytest4.changes 2019-09-19 15:49:45.387306549 +0200 @@ -1,0 +2,6 @@ +Wed Sep 11 11:22:31 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Add patch to not pull importlib_metadata on python 3.8: + * importlib-py38.patch + +------------------------------------------------------------------- New: ---- importlib-py38.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest4.spec ++++++ --- /var/tmp/diff_new_pack.nkzf0d/_old 2019-09-19 15:49:45.795306466 +0200 +++ /var/tmp/diff_new_pack.nkzf0d/_new 2019-09-19 15:49:45.803306464 +0200 @@ -33,6 +33,7 @@ Group: Development/Languages/Python URL: https://github.com/pytest-dev/pytest Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz +Patch0: importlib-py38.patch BuildRequires: %{python_module setuptools >= 40.0} BuildRequires: %{python_module setuptools_scm} BuildRequires: fdupes @@ -85,6 +86,7 @@ %prep %setup -q -n pytest-%{version} +%patch0 -p1 %build %python_build ++++++ importlib-py38.patch ++++++ Index: pytest-4.6.5/setup.py =================================================================== --- pytest-4.6.5.orig/setup.py +++ pytest-4.6.5/setup.py @@ -15,7 +15,7 @@ INSTALL_REQUIRES = [ 'pathlib2>=2.2.0;python_version<"3.6"', 'colorama;sys_platform=="win32"', "pluggy>=0.12,<1.0", - "importlib-metadata>=0.12", + 'importlib-metadata>=0.12;python_version<"3.8"', "wcwidth", ]