From ecf1f105e548d1ad74751db4dc7109f09c958997 Mon Sep 17 00:00:00 2001 From: cherry530 Date: Tue, 28 Mar 2023 14:48:31 +0800 Subject: [PATCH] Modify pytest version Signed-off-by: cherry530 (cherry picked from commit 46362d0424ca2e508c4cdf0e30745a7fa328df74) --- 0001-upgrade-pytest-version.patch | 2 +- python-pytest-relaxed.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/0001-upgrade-pytest-version.patch b/0001-upgrade-pytest-version.patch index 0decf1c..158004c 100644 --- a/0001-upgrade-pytest-version.patch +++ b/0001-upgrade-pytest-version.patch @@ -16,7 +16,7 @@ index d3af51b..44d9393 100644 "pytest11": ["relaxed = pytest_relaxed.plugin"] }, - install_requires=["pytest>=3,<5", "six>=1,<2", "decorator>=4,<5"], -+ install_requires=["pytest>=3,<7", "six>=1,<2", "decorator>=4,<6"], ++ install_requires=["pytest>=3,<=7.0.1", "six>=1,<2", "decorator>=4,<6"], classifiers=[ "Development Status :: 5 - Production/Stable", "Framework :: Pytest", diff --git a/python-pytest-relaxed.spec b/python-pytest-relaxed.spec index e37e8c6..21ea7a2 100644 --- a/python-pytest-relaxed.spec +++ b/python-pytest-relaxed.spec @@ -6,7 +6,7 @@ the design (such as a decreased emphasis on the display side of things.) Name: python-%{srcname} Version: 1.1.5 -Release: 13 +Release: 14 Summary: Relaxed test discovery for pytest License: BSD @@ -52,6 +52,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} %{python3_sitelib}/pytest_relaxed/ %changelog +* Tue Mar 28 2023 xu_ping - 1.1.5-14 +- Modify pytest version + * Fri May 13 2022 yaoxin - 1.1.5-13 - Resolve the compilation failure in the check phase