[Debian-med-packaging] Bug#977060: cwltool FTBFS with pytest 6

Christian Kastner ckk at debian.org
Thu Dec 10 18:33:33 GMT 2020


Source: cwltool
Version: 3.0.20200807132242-2
Severity: important
User: pytest at packages.debian.org
Usertags: pytest-v6

Hi,

cwltool FTBFS with pytest 6 in unstable because it uses --pyarg, when
the correct options is --pyargs. Abbreviated option names are no longer
allowed.

The top of the error log below has more details.

> PYBUILD_SYSTEM=custom \
> PYBUILD_TEST_ARGS="cd {dir}; export PATH={destdir}/usr/bin:$PATH ; \
> cd {build_dir}; export PYTHONPATH=$(pwd); {interpreter} -m pytest \
> 	-k 'not test_http_path_mapping and not test_pack and not test_get_subgraph and not TestUdocker and not test_use_metadata and not test_load_graph_fragment_from_packed' \
> 	-n auto --dist=loadfile --ignore cwltool/schemas/ -s --pyarg cwltool" dh_auto_test
> I: pybuild base:232: cd /<<PKGBUILDDIR>>; export PATH=/<<PKGBUILDDIR>>/debian/python3-cwltool/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games ; cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cwltool/build; export PYTHONPATH=/<<PKGBUILDDIR>>; python3.9 -m pytest 	-k 'not test_http_path_mapping and not test_pack and not test_get_subgraph and not TestUdocker and not test_use_metadata and not test_load_graph_fragment_from_packed' 	-n auto --dist=loadfile --ignore cwltool/schemas/ -s --pyarg cwltool
> ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
> __main__.py: error: unrecognized arguments: --pyarg
>   inifile: /<<PKGBUILDDIR>>/setup.cfg
>   rootdir: /<<PKGBUILDDIR>>
> 
> E: pybuild pybuild:353: test: plugin custom failed with: exit code=4: cd /<<PKGBUILDDIR>>; export PATH=/<<PKGBUILDDIR>>/debian/python3-cwltool/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games ; cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cwltool/build; export PYTHONPATH=/<<PKGBUILDDIR>>; python3.9 -m pytest 	-k 'not test_http_path_mapping and not test_pack and not test_get_subgraph and not TestUdocker and not test_use_metadata and not test_load_graph_fragment_from_packed' 	-n auto --dist=loadfile --ignore cwltool/schemas/ -s --pyarg cwltool
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
> make[1]: *** [debian/rules:34: override_dh_auto_test] Error 25
> make: *** [debian/rules:11: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'



More information about the Debian-med-packaging mailing list