Update to 6.0.0rc1
This commit is contained in:
parent
69fd070d6b
commit
e60217fad3
22
pytest.spec
22
pytest.spec
@ -1,6 +1,6 @@
|
||||
Name: pytest
|
||||
Version: 5.4.3
|
||||
Release: 2%{?dist}
|
||||
Version: 6.0.0~rc1
|
||||
Release: 1%{?dist}
|
||||
Summary: Simple powerful testing with Python
|
||||
License: MIT
|
||||
URL: https://pytest.org
|
||||
@ -35,10 +35,12 @@ BuildRequires: python3-setuptools_scm
|
||||
# We keep them unconditionality, so we don't accidentally build pytest
|
||||
# before them and get broken dependencies
|
||||
BuildRequires: python3-attrs
|
||||
BuildRequires: python3-iniconfig
|
||||
BuildRequires: python3-more-itertools
|
||||
BuildRequires: python3-packaging
|
||||
BuildRequires: python3-pluggy >= 0.12
|
||||
BuildRequires: python3-py >= 1.5.0
|
||||
BuildRequires: python3-toml
|
||||
BuildRequires: python3-wcwidth
|
||||
|
||||
%if %{with tests}
|
||||
@ -53,7 +55,6 @@ BuildRequires: python3-mock
|
||||
BuildRequires: python3-nose
|
||||
BuildRequires: python3-numpy
|
||||
BuildRequires: python3-pexpect
|
||||
BuildRequires: python3-pytest-xdist
|
||||
BuildRequires: python3-twisted
|
||||
%endif
|
||||
%if %{with timeout}
|
||||
@ -64,6 +65,7 @@ BuildRequires: python3-pytest-timeout
|
||||
%if %{with docs}
|
||||
BuildRequires: %{_bindir}/rst2html
|
||||
BuildRequires: python3-pygments-pytest
|
||||
BuildRequires: python3-Pallets-Sphinx-Themes
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-sphinx-removed-in
|
||||
BuildRequires: python3-sphinxcontrib-trio
|
||||
@ -86,7 +88,7 @@ Conflicts: python-pytest < 4.6
|
||||
py.test provides simple, yet powerful testing for Python.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup -p1 -n %{name}-%{version_no_tilde %{quote:}}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -127,13 +129,8 @@ find %{buildroot}%{python3_sitelib} \
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
PYTHONDONTWRITEBYTECODE=1 \
|
||||
PATH=%{buildroot}%{_bindir}:${PATH} \
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
||||
%{buildroot}%{_bindir}/pytest-%{python3_version} -r s testing \
|
||||
%if %{with timeout}
|
||||
--timeout=30
|
||||
%endif
|
||||
%global __pytest %{buildroot}%{_bindir}/pytest
|
||||
%pytest testing %{?with_timeout:--timeout=30}
|
||||
%endif
|
||||
|
||||
%files -n python3-%{name}
|
||||
@ -155,6 +152,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
||||
%{python3_sitelib}/pytest/
|
||||
|
||||
%changelog
|
||||
* Mon Jul 28 2020 Miro Hrončok <mhroncok@redhat.com> - 6.0.0~rc1-1
|
||||
- Update to 6.0.0rc1
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (pytest-5.4.3.tar.gz) = 0a07d4f4f791969c6f21961a0ba0f8c6670e5870c6cc1cebf93766587bb9cb3e10db8e57f0bd33dd22b275f3aad7aa674949f124ac80e0ccca64e35be4beee4e
|
||||
SHA512 (pytest-6.0.0rc1.tar.gz) = 4ecef8cfd62d923519a0b151807d10a180ad5798ff8eaeedde072761210555b9010f628655fe70f6f6f6eb9cf1b8857e9bb2de83bd8668c22c7e53326992e501
|
||||
|
Loading…
Reference in New Issue
Block a user