From 387262b09cdbf902f2d18a36b16f1c7874e1043b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 2 Dec 2020 11:37:35 +0100 Subject: [PATCH] BuildRequire six explicitly, for tests It was previously brought in by packaging. + pytest-3 -v -k 'not test_pip_download' ImportError while loading conftest '/builddir/build/BUILD/setuptools_scm-4.1.2/testing/conftest.py'. testing/conftest.py:4: in import six E ModuleNotFoundError: No module named 'six' --- python-setuptools_scm.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index a3faae1..703c235 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 4.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Blessed package to manage your versions by SCM tags License: MIT @@ -29,6 +29,7 @@ BuildRequires: python%{python3_pkgversion}-setuptools %if %{with tests} BuildRequires: python%{python3_pkgversion}-pip BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-six BuildRequires: python%{python3_pkgversion}-toml %endif @@ -59,6 +60,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-3 -v -k 'not test_pip_download' %{python3_sitelib}/%{srcname}-*.egg-info/ %changelog +* Wed Dec 2 2020 Miro HronĨok - 4.1.2-4 +- BuildRequire six explicitly, for tests + * Wed Jul 29 2020 Fedora Release Engineering - 4.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild