Skip to content

Fix FTBFS

Nick Rosbrook requested to merge enr0n/rdflib-sqlalchemy:fix-ftbfs into debian/master

Currently this package FTBFS in Ubuntu[1] with the following error:

copying rdflib_sqlalchemy/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rdflib_sqlalchemy/build/rdflib_sqlalchemy
   dh_auto_test -O--buildsystem=pybuild
E: pybuild pybuild:388: test: plugin distutils failed with: wheel is required to build wheels for distutils/setuptools packages. Build-Depend on python3-wheel.
dh_auto_test: error: pybuild --test --test-tox -i python{version} -p 3.11 returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

After adding python3-wheel to Build-Depends, dh_auto_test fails with:

py311: commands[1] .pybuild/cpython3_3.11_rdflib_sqlalchemy/build> pytest --cov=rdflib_sqlalchemy
py311: failed with pytest is not allowed, use allowlist_externals to allow it

This PR addresses both problems.

[1] https://launchpadlibrarian.net/666188819/buildlog_ubuntu-mantic-amd64.rdflib-sqlalchemy_0.5.4-1_BUILDING.txt.gz

Merge request reports

Loading