Source: rdflib-sqlalchemy
Version: 0.5.4-1
Severity: serious
Tags: upstream
Justification: ftbfs

With tox 4, rdflib-sqlalchemy FTBFS with:
   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

I committed the fix for that to git, but the next issue is:

I: pybuild base:275: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rdflib_sqlalchemy/build; tox -c 
/<<PKGBUILDDIR>>/tox.ini --sitepackages --installpkg 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rdflib_sqlalchemy/rdflib_sqlalchemy-0.5.4-py3-none-any.whl
 -e py311 
py311: install_deps .pybuild/cpython3_3.11_rdflib_sqlalchemy/build> python -I 
-m pip install mysqlclient psycopg2 'pytest-cov>=2.5.1' 'pytest>=3.4.0'
py311: install_package_deps .pybuild/cpython3_3.11_rdflib_sqlalchemy/build> 
python -I -m pip install 'SQLAlchemy<2.0.0,>=1.1.4' 'alembic>=0.8.8' 
'rdflib>=4.0' 'six>=1.10.0'
py311: install_package .pybuild/cpython3_3.11_rdflib_sqlalchemy/build> python 
-I -m pip install --force-reinstall --no-deps 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rdflib_sqlalchemy/rdflib_sqlalchemy-0.5.4-py3-none-any.whl
py311: commands[0] .pybuild/cpython3_3.11_rdflib_sqlalchemy/build> 
.tox/py311/bin/python setup.py clean --all
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rdflib_sqlalchemy/build' (and 
everything under it)
removing 'build/bdist.linux-x86_64' (and everything under it)
'build/scripts-3.11' does not exist -- can't clean it
removing 'build'
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
  py311: FAIL code 1 (3.06 seconds)
  evaluation failed :( (3.12 seconds)
E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rdflib_sqlalchemy/build; tox -c 
/<<PKGBUILDDIR>>/tox.ini --sitepackages --installpkg 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rdflib_sqlalchemy/rdflib_sqlalchemy-0.5.4-py3-none-any.whl
 -e py311 
dh_auto_test: error: pybuild --test --test-tox -i python{version} -p 3.11 
returned exit code 13

The fix here should be as simple as replacing "pytest" with "{envpython} -m 
pytest" in tox.ini

Stefano

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.3.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to