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 <module>
        import six
    E   ModuleNotFoundError: No module named 'six'
This commit is contained in:
Miro Hrončok 2020-12-02 11:37:35 +01:00
parent 5c10b54d3f
commit 387262b09c

View File

@ -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 <mhroncok@redhat.com> - 4.1.2-4
- BuildRequire six explicitly, for tests
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild