!8 [sync] PR-7: 修改依赖pytest的版本限制,解决依赖不上pytest的问题

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-03-28 07:10:34 +00:00 committed by Gitee
commit cf9bf7e97b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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