Modify pytest version

Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit 46362d0424ca2e508c4cdf0e30745a7fa328df74)
This commit is contained in:
cherry530 2023-03-28 14:48:31 +08:00 committed by openeuler-sync-bot
parent 8aedfff438
commit ecf1f105e5
2 changed files with 5 additions and 2 deletions

View File

@ -16,7 +16,7 @@ index d3af51b..44d9393 100644
"pytest11": ["relaxed = pytest_relaxed.plugin"] "pytest11": ["relaxed = pytest_relaxed.plugin"]
}, },
- install_requires=["pytest>=3,<5", "six>=1,<2", "decorator>=4,<5"], - 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=[ classifiers=[
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"Framework :: Pytest", "Framework :: Pytest",

View File

@ -6,7 +6,7 @@ the design (such as a decreased emphasis on the display side of things.)
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.1.5 Version: 1.1.5
Release: 13 Release: 14
Summary: Relaxed test discovery for pytest Summary: Relaxed test discovery for pytest
License: BSD License: BSD
@ -52,6 +52,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version}
%{python3_sitelib}/pytest_relaxed/ %{python3_sitelib}/pytest_relaxed/
%changelog %changelog
* Tue Mar 28 2023 xu_ping <xuping33@h-partners.com> - 1.1.5-14
- Modify pytest version
* Fri May 13 2022 yaoxin <yaoxin30@h-partners.com> - 1.1.5-13 * Fri May 13 2022 yaoxin <yaoxin30@h-partners.com> - 1.1.5-13
- Resolve the compilation failure in the check phase - Resolve the compilation failure in the check phase