Compare commits
10 Commits
edccdc38cc
...
1871aa7225
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1871aa7225 | ||
|
|
eb3731e0cb | ||
|
|
ff8511fd7e | ||
|
|
78165136ed | ||
|
|
c3f4dd63fd | ||
|
|
1c9bff0f93 | ||
|
|
84d4d50d02 | ||
|
|
a3bade0e96 | ||
|
|
e09d688dcb | ||
|
|
4a1dad5dab |
Binary file not shown.
BIN
pytest-7.4.4.tar.gz
Normal file
BIN
pytest-7.4.4.tar.gz
Normal file
Binary file not shown.
41
pytest.spec
41
pytest.spec
@ -1,10 +1,10 @@
|
|||||||
Name: pytest
|
Name: pytest
|
||||||
Version: 6.2.5
|
Version: 7.4.4
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Simple powerful testing with Python
|
Summary: Simple powerful testing with Python
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pytest.org
|
URL: https://pytest.org
|
||||||
Source0: https://files.pythonhosted.org/packages/4b/24/7d1f2d2537de114bdf1e6875115113ca80091520948d370c964b88070af2/pytest-6.2.5.tar.gz
|
Source0: https://files.pythonhosted.org/packages/80/1f/9d8e98e4133ffb16c90f3b405c43e38d3abb715bb5d7a63a5a684f7e46a3/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
%bcond_with optional_tests
|
%bcond_with optional_tests
|
||||||
@ -20,7 +20,10 @@ BuildRequires: python3-packaging
|
|||||||
BuildRequires: python3-pluggy >= 0.12
|
BuildRequires: python3-pluggy >= 0.12
|
||||||
BuildRequires: python3-py >= 1.5.0
|
BuildRequires: python3-py >= 1.5.0
|
||||||
BuildRequires: python3-wcwidth
|
BuildRequires: python3-wcwidth
|
||||||
|
BuildRequires: python3-docutils
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
Requires: python3-tomli
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: python3-hypothesis
|
BuildRequires: python3-hypothesis
|
||||||
BuildRequires: python3-xmlschema
|
BuildRequires: python3-xmlschema
|
||||||
@ -45,6 +48,8 @@ BuildRequires: %{_bindir}/rst2html
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Requires: python3-exceptiongroup
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -69,7 +74,7 @@ Help documents for pytest.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
for f in README CHANGELOG CONTRIBUTING ; do
|
for f in README CHANGELOG CONTRIBUTING ; do
|
||||||
@ -78,7 +83,7 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
mv %{buildroot}%{_bindir}/pytest %{buildroot}%{_bindir}/pytest-%{python3_version}
|
mv %{buildroot}%{_bindir}/pytest %{buildroot}%{_bindir}/pytest-%{python3_version}
|
||||||
ln -snf pytest-%{python3_version} %{buildroot}%{_bindir}/pytest-3
|
ln -snf pytest-%{python3_version} %{buildroot}%{_bindir}/pytest-3
|
||||||
mv %{buildroot}%{_bindir}/py.test %{buildroot}%{_bindir}/py.test-%{python3_version}
|
mv %{buildroot}%{_bindir}/py.test %{buildroot}%{_bindir}/py.test-%{python3_version}
|
||||||
@ -114,14 +119,34 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
|||||||
%{_bindir}/py.test
|
%{_bindir}/py.test
|
||||||
%{_bindir}/py.test-3
|
%{_bindir}/py.test-3
|
||||||
%{_bindir}/py.test-%{python3_version}
|
%{_bindir}/py.test-%{python3_version}
|
||||||
%{python3_sitelib}/pytest-*.egg-info/
|
|
||||||
%{python3_sitelib}/_pytest/
|
%{python3_sitelib}/_pytest/
|
||||||
%{python3_sitelib}/pytest/
|
%{python3_sitelib}/pytest/
|
||||||
|
%{python3_sitelib}/__pycache__/*.pyc
|
||||||
|
%{python3_sitelib}/py.py
|
||||||
|
%{python3_sitelib}/pytest-*.dist-info/
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc CHANGELOG.html README.html CONTRIBUTING.html _htmldocs/html
|
%doc CHANGELOG.html README.html CONTRIBUTING.html _htmldocs/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 5 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 7.4.4-1
|
||||||
|
- Update package with version 7.4.4
|
||||||
|
Fix non-string constants at the top of file being detected as docstrings on Python>=3.8.
|
||||||
|
Removed unhelpful error message from assertion rewrite mechanism
|
||||||
|
Updated documentation to refer to hyphenated options
|
||||||
|
Markers are now considered in the reverse mro order to ensure base class markers are considered first
|
||||||
|
Improved disclaimer on pytest plugin reference page to better indicate this is an automated
|
||||||
|
Added ExceptionInfo.from_exception() <pytest.ExceptionInfo.from_exception>
|
||||||
|
|
||||||
|
* Wed Jul 19 2023 zhuofeng <zhuofeng2@huawei.com> - 7.3.2-2
|
||||||
|
- Modify the file to adapt to the new Python version
|
||||||
|
|
||||||
|
* Fri Jun 9 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 7.3.2-1
|
||||||
|
- Upgrade package pytest to version 7.3.2
|
||||||
|
|
||||||
|
* Tue Jul 12 2022 renliang16 <renliang@uniontech.com> - 7.0.1-1
|
||||||
|
- Upgrade package pytest to version 7.0.1
|
||||||
|
|
||||||
* Mon Dec 13 2021 shixuantong <shixuantong@huawei.com> - 6.2.5-1
|
* Mon Dec 13 2021 shixuantong <shixuantong@huawei.com> - 6.2.5-1
|
||||||
- update version to 6.2.5
|
- update version to 6.2.5
|
||||||
|
|
||||||
@ -131,7 +156,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
|||||||
* Mon Jul 19 2021 OpenStack_SIG <openstack@openeuler.org> - 6.2.2-1
|
* Mon Jul 19 2021 OpenStack_SIG <openstack@openeuler.org> - 6.2.2-1
|
||||||
- update to 6.2.2
|
- update to 6.2.2
|
||||||
|
|
||||||
* Fri Jan 9 2021 wutao <wutao61@huawei.com> - 5.4.3-1
|
* Mon Jan 11 2021 wutao <wutao61@huawei.com> - 5.4.3-1
|
||||||
- Update to 5.4.3
|
- Update to 5.4.3
|
||||||
|
|
||||||
* Mon Nov 2 2020 wutao <wutao61@huawei.com> - 3.6.4-4
|
* Mon Nov 2 2020 wutao <wutao61@huawei.com> - 3.6.4-4
|
||||||
@ -139,5 +164,3 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
|||||||
|
|
||||||
* Tue Dec 10 2019 mengxian <mengxian@huawei.com> - 3.6.4-2
|
* Tue Dec 10 2019 mengxian <mengxian@huawei.com> - 3.6.4-2
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user