diff --git a/pytest-7.0.1.tar.gz b/pytest-7.0.1.tar.gz deleted file mode 100644 index aba6644e52972b24f675742083d7d9e5d02a04c3..0000000000000000000000000000000000000000 Binary files a/pytest-7.0.1.tar.gz and /dev/null differ diff --git a/pytest-7.3.2.tar.gz b/pytest-7.3.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9790f524843b8d387f132337d3bf6b903eaed21d Binary files /dev/null and b/pytest-7.3.2.tar.gz differ diff --git a/pytest.spec b/pytest.spec index dc4802eb24f376307962bb8669fd53c7bdeca8f1..89948530375d260fa624b77aa23619321f069d7f 100644 --- a/pytest.spec +++ b/pytest.spec @@ -1,10 +1,10 @@ Name: pytest -Version: 7.0.1 +Version: 7.3.2 Release: 1 Summary: Simple powerful testing with Python License: MIT URL: https://pytest.org -Source0: https://files.pythonhosted.org/packages/3e/2c/a67ad48759051c7abf82ce182a4e6d766de371b183182d2dde03089e8dfb/pytest-7.0.1.tar.gz +Source0: https://files.pythonhosted.org/packages/ec/d9/36b65598f3d19d0a14d13dc87ad5fa42869ae53bb7471f619a30eaabc4bf/%{name}-%{version}.tar.gz %bcond_with tests %bcond_with optional_tests @@ -20,7 +20,10 @@ BuildRequires: python3-packaging BuildRequires: python3-pluggy >= 0.12 BuildRequires: python3-py >= 1.5.0 BuildRequires: python3-wcwidth -Requires: python3-tomli +BuildRequires: python3-docutils +BuildRequires: python3-pip +BuildRequires: python3-wheel +Requires: python3-tomli %if %{with tests} BuildRequires: python3-hypothesis BuildRequires: python3-xmlschema @@ -45,6 +48,8 @@ BuildRequires: %{_bindir}/rst2html BuildRequires: make %endif +Requires: python3.10dist(exceptiongroup) + BuildArch: noarch %description @@ -69,7 +74,7 @@ Help documents for pytest. %autosetup -p1 %build -%py3_build +%pyproject_build %if %{with docs} for f in README CHANGELOG CONTRIBUTING ; do @@ -78,7 +83,7 @@ done %endif %install -%py3_install +%pyproject_install mv %{buildroot}%{_bindir}/pytest %{buildroot}%{_bindir}/pytest-%{python3_version} ln -snf pytest-%{python3_version} %{buildroot}%{_bindir}/pytest-3 mv %{buildroot}%{_bindir}/py.test %{buildroot}%{_bindir}/py.test-%{python3_version} @@ -114,14 +119,20 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %{_bindir}/py.test %{_bindir}/py.test-3 %{_bindir}/py.test-%{python3_version} -%{python3_sitelib}/pytest-*.egg-info/ %{python3_sitelib}/_pytest/ %{python3_sitelib}/pytest/ +%{python3_sitelib}/__pycache__/py.cpython-310.opt-1.pyc +%{python3_sitelib}/__pycache__/py.cpython-310.pyc +%{python3_sitelib}/py.py +%{python3_sitelib}/pytest-*.dist-info/ %files help %doc CHANGELOG.html README.html CONTRIBUTING.html _htmldocs/html %changelog +* Fri Jun 9 2023 li-miaomiao_zhr - 7.3.2-1 +- Upgrade package pytest to version 7.3.2 + * Tue Jul 12 2022 renliang16 - 7.0.1-1 - Upgrade package pytest to version 7.0.1 @@ -142,5 +153,3 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ * Tue Dec 10 2019 mengxian - 3.6.4-2 - Package init - -