Bug#1060963: paramiko: FTBFS: dh_auto_test: error: pybuild

2024-05-01 Thread Alexandre Detiste
> E   ModuleNotFoundError: No module named 'six'

This happens because we unknot the
 python3-mock -> python3-pbr -> python3-six
dependency chain.

I did this _on purpose_ to discover missing python3-six
(build-)dependencies and/or upstream that needs a cleanup.

Here it's of course better to do this long overdue paramiko update
than merely adding python3-six as build-dep for a quick fix.

Greetings and thank you



https://tracker.debian.org/news/1492697/accepted-python-mock-510-1-source-into-unstable/

 python-mock (5.1.0-1) unstable; urgency=medium
 .
   * Team Upload
   * New upstream version 5.1.0 (Closes: #717192, #717193, #1030887)
 (LP: #1248066)
   * remove obsolete build-dep python3-pbr & python3-unittest2
   * use new dh-sequence-python3


https://tracker.debian.org/news/1505240/accepted-python-pbr-600-1-source-into-unstable/

python-pbr (6.0.0-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #1060153).
   * Do not use six anymore.



Bug#1060963: paramiko: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13

2024-01-16 Thread Lucas Nussbaum
Source: paramiko
Version: 2.12.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240115 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>dh_update_autotools_config -O--buildsystem=pybuild
>dh_autoreconf -O--buildsystem=pybuild
>dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:305: python3.12 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
> 
> 
> The license_file parameter is deprecated, use license_files instead.
> 
> This deprecation is overdue, please update your project and remove 
> deprecated
> calls to avoid build errors in the future.
> 
> See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
> 
> 
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running config
> I: pybuild base:305: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
> 
> 
> The license_file parameter is deprecated, use license_files instead.
> 
> This deprecation is overdue, please update your project and remove 
> deprecated
> calls to avoid build errors in the future.
> 
> See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
> 
> 
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running config
>dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:305: /usr/bin/python3.12 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
> 
> 
> The license_file parameter is deprecated, use license_files instead.
> 
> This deprecation is overdue, please update your project and remove 
> deprecated
> calls to avoid build errors in the future.
> 
> See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
> 
> 
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running build
> running build_py
> creating /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/__init__.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/sftp.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/transport.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/ssh_exception.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/ed25519key.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/sftp_client.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/ssh_gss.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/sftp_attr.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/ecdsakey.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/ber.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/common.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/_version.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/agent.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/kex_ecdh_nist.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/kex_group16.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/rsakey.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/hostkeys.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/kex_curve25519.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/_winapi.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/kex_group1.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/buffered_pipe.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/compress.py -> 
> /<>/.pybuild/cpython3_3.12_paramiko/build/paramiko
> copying paramiko/kex_gex.py -> 
> /<>/.pybuild/cpyt