[packages/python3-pytest] - up to 6.2.2

arekm arekm at pld-linux.org
Sun Feb 28 15:27:42 CET 2021


commit dcfaa02776a152618096c4197ca5f31516e1ef1e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Feb 28 15:27:35 2021 +0100

    - up to 6.2.2

 python3-pytest-tests.patch | 8 ++++----
 python3-pytest.spec        | 7 ++++---
 2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/python3-pytest.spec b/python3-pytest.spec
index 760ef99..a492de3 100644
--- a/python3-pytest.spec
+++ b/python3-pytest.spec
@@ -10,13 +10,13 @@
 Summary:	Simple and popular testing tool for Python
 Summary(pl.UTF-8):	Proste i popularne narzędzie testujące dla Pythona
 Name:		python3-%{module}
-Version:	5.4.3
-Release:	2
+Version:	6.2.2
+Release:	1
 License:	MIT
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.org/simple/pytest/
 Source0:	https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
-# Source0-md5:	4b6b06b2818516c7c400d4cafe3b9257
+# Source0-md5:	828d15f426ce9740627a9b07e47a318a
 Patch0:		%{name}-tests.patch
 URL:		https://pytest.org/
 BuildRequires:	python3-devel >= 1:3.5
@@ -33,6 +33,7 @@ BuildRequires:	python3-hypothesis >= 3.56
 %if "%{py3_ver}" < "3.8"
 BuildRequires:	python3-importlib_metadata >= 0.12
 %endif
+BuildRequires:	python3-initconfig
 BuildRequires:	python3-more_itertools >= 4.0.0
 BuildRequires:	python3-nose
 BuildRequires:	python3-packaging
diff --git a/python3-pytest-tests.patch b/python3-pytest-tests.patch
index 8d4d29f..1f97228 100644
--- a/python3-pytest-tests.patch
+++ b/python3-pytest-tests.patch
@@ -1,10 +1,10 @@
---- pytest-4.6.11/testing/acceptance_test.py.orig	2020-06-05 14:09:02.000000000 +0200
-+++ pytest-4.6.11/testing/acceptance_test.py	2020-09-15 19:53:44.014482984 +0200
-@@ -145,6 +145,7 @@
+--- pytest-6.2.2/testing/acceptance_test.py~	2021-01-25 15:51:22.000000000 +0100
++++ pytest-6.2.2/testing/acceptance_test.py	2021-02-28 15:25:46.086814937 +0100
+@@ -142,6 +142,7 @@ class TestGeneralUsage:
              return (DummyDist(entry_points),)
  
          monkeypatch.setattr(importlib_metadata, "distributions", my_dists)
 +        monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", raising=False)
          params = ("-p", "mycov") if load_cov_early else ()
-         testdir.runpytest_inprocess(*params)
+         pytester.runpytest_inprocess(*params)
          if load_cov_early:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pytest.git/commitdiff/dcfaa02776a152618096c4197ca5f31516e1ef1e



More information about the pld-cvs-commit mailing list