Tests: Update setuptools_scm to fix a problem with pytest 6.2
This commit is contained in:
parent
ff396611dd
commit
26bb3cb4d1
@ -1,5 +1,14 @@
|
|||||||
Name: python-setuptools_scm
|
Name: python-setuptools_scm
|
||||||
|
|
||||||
|
# For testing purposes, we package different versions on different Fedoras,
|
||||||
|
# because otherwise we would miss some dependencies.
|
||||||
|
# Please, don't write spec files like this in Fedora, it is forbidden.
|
||||||
|
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
||||||
|
Version: 5.0.1
|
||||||
|
%else
|
||||||
Version: 3.5.0
|
Version: 3.5.0
|
||||||
|
%endif
|
||||||
|
|
||||||
Release: 0%{?dist}
|
Release: 0%{?dist}
|
||||||
Summary: The blessed package to manage your versions by SCM tags
|
Summary: The blessed package to manage your versions by SCM tags
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -34,11 +43,6 @@ Summary: %{summary}
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n setuptools_scm-%{version}
|
%autosetup -p1 -n setuptools_scm-%{version}
|
||||||
|
|
||||||
# there is a mistake in the flake8 environment configuration
|
|
||||||
# https://github.com/pypa/setuptools_scm/pull/444
|
|
||||||
# https://github.com/pypa/setuptools_scm/pull/489
|
|
||||||
sed -i -e 's@flake8 setuptools_scm/@flake8 src/setuptools_scm/@' -e 's@--exclude=setuptools_scm/@--exclude=src/setuptools_scm/@' tox.ini
|
|
||||||
|
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
||||||
|
Loading…
Reference in New Issue
Block a user