Unpin pytest version
This commit is contained in:
parent
5843f5a686
commit
e48054d91c
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 8.0.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Simple wrapper around optparse for powerful command line utilities
|
||||
|
||||
License: BSD
|
||||
@ -30,6 +30,9 @@ BuildRequires: pyproject-rpm-macros
|
||||
%autosetup -n %{pypi_name}-%{version} -p1
|
||||
# Use test dependencies without version locks
|
||||
sed -i 's|requirements/tests.txt|requirements/tests.in|' tox.ini
|
||||
# Unpin pytest version
|
||||
# https://github.com/pallets/click/commit/91b2cd67dd04b2843fd6c71e582876c826f5b78e
|
||||
sed -i 's|pytest<7|pytest|' requirements/tests.in
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -t
|
||||
@ -49,6 +52,9 @@ sed -i 's|requirements/tests.txt|requirements/tests.in|' tox.ini
|
||||
%doc README.rst CHANGES.rst
|
||||
|
||||
%changelog
|
||||
* Wed Mar 02 2022 Charalampos Stratakis <cstratak@redhat.com> - 8.0.4-2
|
||||
- Unpin pytest version
|
||||
|
||||
* Thu Feb 24 2022 Charalampos Stratakis <cstratak@redhat.com> - 8.0.4-1
|
||||
- Update to 8.0.4
|
||||
Resolves: rhbz#2056119
|
||||
|
||||
Loading…
Reference in New Issue
Block a user