[Python-modules-team] Bug#921170: soupsieve: FTBFS in sid (test_namespace_xml_with_namespace fails)

Santiago Vila sanvila at debian.org
Sat Feb 2 14:47:56 GMT 2019


Package: src:soupsieve
Version: 1.7.3+dfsg-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in sid but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules binary-indep
dh binary-indep --with python2,python3,pypy --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
I: pybuild base:217: pypy setup.py config 
running config
   dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python setup.py build 
running build
running build_py
creating /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython2_2.7_soupsieve/build/soupsieve
copying soupsieve/util.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython2_2.7_soupsieve/build/soupsieve
copying soupsieve/css_parser.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython2_2.7_soupsieve/build/soupsieve
copying soupsieve/__init__.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython2_2.7_soupsieve/build/soupsieve
copying soupsieve/__meta__.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython2_2.7_soupsieve/build/soupsieve
copying soupsieve/css_types.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython2_2.7_soupsieve/build/soupsieve
copying soupsieve/css_match.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython2_2.7_soupsieve/build/soupsieve
I: pybuild base:217: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython3_3.7_soupsieve/build/soupsieve
copying soupsieve/util.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython3_3.7_soupsieve/build/soupsieve
copying soupsieve/css_parser.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython3_3.7_soupsieve/build/soupsieve
copying soupsieve/__init__.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython3_3.7_soupsieve/build/soupsieve
copying soupsieve/__meta__.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython3_3.7_soupsieve/build/soupsieve
copying soupsieve/css_types.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython3_3.7_soupsieve/build/soupsieve
copying soupsieve/css_match.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython3_3.7_soupsieve/build/soupsieve
I: pybuild base:217: /usr/bin/pypy setup.py build 
running build
running build_py
creating /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/pypy_6.0_soupsieve/build/soupsieve
copying soupsieve/util.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/pypy_6.0_soupsieve/build/soupsieve
copying soupsieve/css_parser.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/pypy_6.0_soupsieve/build/soupsieve
copying soupsieve/__init__.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/pypy_6.0_soupsieve/build/soupsieve
copying soupsieve/__meta__.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/pypy_6.0_soupsieve/build/soupsieve
copying soupsieve/css_types.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/pypy_6.0_soupsieve/build/soupsieve
copying soupsieve/css_match.py -> /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/pypy_6.0_soupsieve/build/soupsieve
   dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:217: cd /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython2_2.7_soupsieve/build; python2.7 -m pytest tests
============================= test session starts ==============================
platform linux2 -- Python 2.7.15+, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: /<<BUILDDIR>>/soupsieve-1.7.3+dfsg, inifile: tox.ini
collected 227 items

tests/test_bs4_cases.py ....F                                            [  2%]
tests/test_extra.py ..........                                           [  6%]
tests/test_level1.py ..........................                          [ 18%]
tests/test_level2.py ....................................                [ 33%]
tests/test_level3.py ................................................... [ 56%]
.                                                                        [ 56%]
tests/test_level4.py ................................................... [ 79%]
.......                                                                  [ 82%]
tests/test_soupsieve.py ....................................             [ 98%]
tests/test_versions.py ....                                              [100%]

=================================== FAILURES ===================================
______________________ test_namespace_xml_with_namespace _______________________

    @util.requires_lxml
    def test_namespace_xml_with_namespace():
        """Test namespace selectors with XML."""
        xml = BeautifulSoup(NAMESPACE_XML, "xml")
    
>       assert xml.select_one("x|Envelope", namespaces=NAMESPACES)
E       TypeError: select_one() got an unexpected keyword argument 'namespaces'

tests/test_bs4_cases.py:142: TypeError
===================== 1 failed, 226 passed in 2.62 seconds =====================
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<BUILDDIR>>/soupsieve-1.7.3+dfsg/.pybuild/cpython2_2.7_soupsieve/build; python2.7 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:6: binary-indep] Error 25
dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A" and
the failure is reproducible (tried several times). If you need help to
reproduce it, please say so.

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