Don't use tox during the build to avoid a build dependency loop

platformdirs <- virtualenv <- tox
epel9
Miro Hrončok 3 years ago
parent 46072df01a
commit 9c8af9d92e

@ -5,7 +5,7 @@ a "user data dir".}
Name: python-%{srcname}
Version: 2.3.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Python module for determining appropriate platform-specific dirs
License: MIT
URL: https://github.com/platformdirs/platformdirs
@ -29,7 +29,9 @@ BuildRequires: python3-devel
%generate_buildrequires
%pyproject_buildrequires -t
# Upstream uses tox, but we don't use it, to avoid a build dependency loop
# platformdirs <- virtualenv <- tox
%pyproject_buildrequires -r
%build
@ -42,7 +44,7 @@ BuildRequires: python3-devel
%check
%tox
%{python3} -m unittest discover
%files -n python3-%{srcname} -f %{pyproject_files}
@ -51,6 +53,9 @@ BuildRequires: python3-devel
%changelog
* Tue Oct 26 2021 Miro Hrončok <mhroncok@redhat.com> - 2.3.0-2
- Don't use tox during the build to avoid a build dependency loop
* Mon Aug 30 2021 Carl George <carl@george.computer> - 2.3.0-1
- Latest upstream
- Resolves: rhbz#1999337

Loading…
Cancel
Save