[Python-modules-team] Bug#921903: sorl-thumbnail: FTBFS (failing tests)
Santiago Vila
sanvila at debian.org
Sat Feb 9 23:50:01 GMT 2019
Package: src:sorl-thumbnail
Version: 12.3+git20170708-2
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python2,python3,sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_autoreconf -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config
running config
I: pybuild base:217: python3.7 setup.py config
running config
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/sorl-thumbnail-12.3+git20170708'
dh_auto_build
I: pybuild base:217: /usr/bin/python setup.py build
running build
[... snipped ...]
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
apifun(*marker.args, **marker.kwargs)
/usr/lib/python2.7/dist-packages/pytest_django/plugin.py:630: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
apifun(*marker.args, **marker.kwargs)
tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseB::test_portrait
/usr/lib/python2.7/dist-packages/pytest_django/plugin.py:630: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
apifun(*marker.args, **marker.kwargs)
/usr/lib/python2.7/dist-packages/pytest_django/plugin.py:630: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
apifun(*marker.args, **marker.kwargs)
tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseB::test_url
/usr/lib/python2.7/dist-packages/pytest_django/plugin.py:630: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
apifun(*marker.args, **marker.kwargs)
/usr/lib/python2.7/dist-packages/pytest_django/plugin.py:630: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
apifun(*marker.args, **marker.kwargs)
tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseClient::test_empty_error
/usr/lib/python2.7/dist-packages/pytest_django/plugin.py:630: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
apifun(*marker.args, **marker.kwargs)
/usr/lib/python2.7/dist-packages/pytest_django/plugin.py:630: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
apifun(*marker.args, **marker.kwargs)
/usr/lib/python2.7/dist-packages/django/core/handlers/base.py:52: RemovedInDjango20Warning: Old-style middleware using settings.MIDDLEWARE_CLASSES is deprecated. Update your middleware and use settings.MIDDLEWARE instead.
"instead.", RemovedInDjango20Warning
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========= 1 failed, 59 passed, 8 skipped, 125 warnings in 9.80 seconds =========
make[1]: *** [debian/rules:24: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/sorl-thumbnail-12.3+git20170708'
make: *** [debian/rules:10: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
(The above is just how the build ends and not necessarily the most relevant part)
The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/sorl-thumbnail.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Python-modules-team
mailing list