![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package python3-six for openSUSE:Factory checked in at 2016-01-23 01:04:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-six (Old) and /work/SRC/openSUSE:Factory/.python3-six.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-six" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-six/python3-six-doc.changes 2015-11-18 22:33:57.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-six.new/python3-six-doc.changes 2016-01-23 01:04:05.000000000 +0100 @@ -1,0 +2,8 @@ +Tue Jan 19 09:07:19 UTC 2016 - toddrme2178@gmail.com + +- Run tests in -doc package to avoid dependency loops + * python3-setuptools -> python3-six -> python3-py -> python3-setuptools + * python3-setuptools -> python3-six -> python3-pytest -> python3-setuptools +- Actually run the tests. They weren't previously being run. + +------------------------------------------------------------------- python3-six.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-six-doc.spec ++++++ --- /var/tmp/diff_new_pack.MQOz8f/_old 2016-01-23 01:04:06.000000000 +0100 +++ /var/tmp/diff_new_pack.MQOz8f/_new 2016-01-23 01:04:06.000000000 +0100 @@ -25,8 +25,12 @@ Group: Documentation/HTML Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python3-six # Documentation requirements: BuildRequires: python3-Sphinx +# Test requirements: +BuildRequires: python3-py +BuildRequires: python3-pytest BuildArch: noarch %description @@ -42,11 +46,22 @@ %setup -q -n six-%{version} %build +# due to cyclic requirements between Sphinx and six, +# documentation is build in its own package <hpj@urpla.net> cd documentation && make html && rm _build/html/.buildinfo %install # only build documentation +# Run tests here to avoid dependency loop +%check +mkdir test +cp test_six.py test +pushd test +py.test test_six.py +popd +rm -rf test + %files %defattr(-,root,root) %doc LICENSE ++++++ python3-six.spec ++++++ --- /var/tmp/diff_new_pack.MQOz8f/_old 2016-01-23 01:04:06.000000000 +0100 +++ /var/tmp/diff_new_pack.MQOz8f/_new 2016-01-23 01:04:06.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-six # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,9 +26,6 @@ Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-devel -# Test requirements: -BuildRequires: python3-py -BuildRequires: python3-pytest BuildArch: noarch %description @@ -46,15 +43,18 @@ %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +# due to cyclic requirements between Sphinx and six, +# documentation is build in its own package <hpj@urpla.net> -%check -python3 test_six.py +# Run tests in -doc package to avoid dependency loop +# %check +# python3 test_six.py %files %defattr(-,root,root) %doc LICENSE README %{python3_sitelib}/six.py* -%{python3_sitelib}/six-%{version}-py%{py3_ver}.egg-info +%{python3_sitelib}/six-%{version}-py*.egg-info %{python3_sitelib}/__pycache__/six.* %changelog