Bug#1042918: reprotest: FTBFS with tox 4

Stefano Rivera stefanor at debian.org
Wed Aug 2 20:30:13 BST 2023


Source: reprotest
Version: 0.7.25
Severity: serious
Justification: ftbfs

I thought we'd managed to avoid this, in #1035645, but we just did the
transition, and I see reprotest is FTBFS:

I: pybuild base:275: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_reprotest/build; tox -c /<<PKG
BUILDDIR>>/tox.ini --sitepackages --installpkg /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_reprote
st/reprotest-0.7.25-py3-none-any.whl -e py311 
py311: install_deps .pybuild/cpython3_3.11_reprotest/build> python -I -m pip install coverage 
diffoscope pytest
py311: install_package_deps .pybuild/cpython3_3.11_reprotest/build> python -I -m pip install d
istro rstr
py311: install_package .pybuild/cpython3_3.11_reprotest/build> python -I -m pip install --forc
e-reinstall --no-deps /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_reprotest/reprotest-0.7.25-py3-n
one-any.whl
py311: commands[0] .pybuild/cpython3_3.11_reprotest/build> .tox/py311/bin/python -m coverage r
un --omit '.tox/*' --parallel -m py.test tests/
__path__ attribute not found on 'py' while trying to find 'py.test'
py311: exit 1 (0.09 seconds) /<<PKGBUILDDIR>>> .tox/py311/bin/python -m coverage run --omit '.
tox/*' --parallel -m py.test tests/ pid=7370
  py311: FAIL code 1 (2.31=setup[2.22]+cmd[0.09] seconds)
  evaluation failed :( (2.36 seconds)
E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.
pybuild/cpython3_3.11_reprotest/build; tox -c /<<PKGBUILDDIR>>/tox.ini --sitepackages --instal
lpkg /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_reprotest/reprotest-0.7.25-py3-none-any.whl -e py311 
dh_auto_test: error: pybuild --test --test-tox -i python{version} -p 3.11 --test-tox returned exit code 13


I'm guessing you want to replace py.test there with pytest.

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



More information about the Reproducible-builds mailing list