Bug#1042918: reprotest: FTBFS with tox 4

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Aug 2 23:04:04 BST 2023


Control: tags 1042918 pending

On 2023-08-02, Stefano Rivera wrote:
> I thought we'd managed to avoid this, in #1035645, but we just did the
> transition, and I see reprotest is FTBFS:
...
> 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.

Great suggestion! Worked for me locally and in salsa-ci.

Pushed to git:

  https://salsa.debian.org/reproducible-builds/reprotest/-/commit/3d01047ae75ffc3fc30ad11aeec1a0dd9994d849

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20230802/259efb4d/attachment.sig>


More information about the Reproducible-builds mailing list