Your message dated Sat, 22 Feb 2025 09:38:18 +0000
with message-id <[email protected]>
and subject line Bug#1098595: fixed in python-click-plugins 1.1.1-5
has caused the Debian Bug report #1098595,
regarding python-click-plugins: FTBFS: test_register_and_run fails
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1098595: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098595
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-click-plugins
Version: 1.1.1-4
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with python3 --buildsystem pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py clean
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_click-plugins/build' (and
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.12' does not exist -- can't clean it
I: pybuild base:311: python3.13 setup.py clean
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_click-plugins/build' (and
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
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:311: python3.12 setup.py config
running config
I: pybuild base:311: python3.13 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.12 setup.py build
running build
running build_py
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_click-plugins/build/click_plugins
copying click_plugins/core.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_click-plugins/build/click_plugins
copying click_plugins/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_click-plugins/build/click_plugins
running egg_info
creating click_plugins.egg-info
writing click_plugins.egg-info/PKG-INFO
writing dependency_links to click_plugins.egg-info/dependency_links.txt
writing requirements to click_plugins.egg-info/requires.txt
writing top-level names to click_plugins.egg-info/top_level.txt
writing manifest file 'click_plugins.egg-info/SOURCES.txt'
reading manifest file 'click_plugins.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
adding license file 'AUTHORS.txt'
writing manifest file 'click_plugins.egg-info/SOURCES.txt'
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_click-plugins/build/click_plugins
copying click_plugins/core.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_click-plugins/build/click_plugins
copying click_plugins/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_click-plugins/build/click_plugins
running egg_info
writing click_plugins.egg-info/PKG-INFO
writing dependency_links to click_plugins.egg-info/dependency_links.txt
writing requirements to click_plugins.egg-info/requires.txt
writing top-level names to click_plugins.egg-info/top_level.txt
reading manifest file 'click_plugins.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
adding license file 'AUTHORS.txt'
writing manifest file 'click_plugins.egg-info/SOURCES.txt'
dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/tests
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_click-plugins/build
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_click-plugins/build; python3.12 -m
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.1
collected 7 items
tests/test_plugins.py .FFF.FF [100%]
=================================== FAILURES ===================================
____________________________ test_register_and_run _____________________________
runner = <click.testing.CliRunner object at 0x7ff3e185b2c0>
def test_register_and_run(runner):
result = runner.invoke(good_cli)
> assert result.exit_code == 0
E assert 2 == 0
E + where 2 = <Result SystemExit(2)>.exit_code
tests/test_plugins.py:81: AssertionError
_________________________ test_broken_register_and_run _________________________
runner = <click.testing.CliRunner object at 0x7ff3e15f8a40>
def test_broken_register_and_run(runner):
result = runner.invoke(broken_cli)
> assert result.exit_code == 0
E assert 2 == 0
E + where 2 = <Result SystemExit(2)>.exit_code
tests/test_plugins.py:92: AssertionError
_______________________________ test_group_chain _______________________________
runner = <click.testing.CliRunner object at 0x7ff3e15f87a0>
def test_group_chain(runner):
# Attach a sub-group to a CLI and get execute it without arguments to
make
# sure both the sub-group and all the parent group's commands are
present
@good_cli.group()
def sub_cli():
"""Sub CLI."""
pass
result = runner.invoke(good_cli)
> assert result.exit_code == 0
E assert 2 == 0
E + where 2 = <Result SystemExit(2)>.exit_code
tests/test_plugins.py:111: AssertionError
____________________ test_broken_register_and_run_with_help ____________________
runner = <click.testing.CliRunner object at 0x7ff3e15f9550>
def test_broken_register_and_run_with_help(runner):
result = runner.invoke(broken_cli)
> assert result.exit_code == 0
E assert 2 == 0
E + where 2 = <Result SystemExit(2)>.exit_code
tests/test_plugins.py:145: AssertionError
____________________ test_broken_register_and_run_with_args ____________________
runner = <click.testing.CliRunner object at 0x7ff3e15fa060>
def test_broken_register_and_run_with_args(runner):
result = runner.invoke(broken_cli)
> assert result.exit_code == 0
E assert 2 == 0
E + where 2 = <Result SystemExit(2)>.exit_code
tests/test_plugins.py:156: AssertionError
=============================== warnings summary ===============================
tests/test_plugins.py:1
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_click-plugins/build/tests/test_plugins.py:1:
DeprecationWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import EntryPoint
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_plugins.py::test_register_and_run - assert 2 == 0
FAILED tests/test_plugins.py::test_broken_register_and_run - assert 2 == 0
FAILED tests/test_plugins.py::test_group_chain - assert 2 == 0
FAILED tests/test_plugins.py::test_broken_register_and_run_with_help - assert...
FAILED tests/test_plugins.py::test_broken_register_and_run_with_args - assert...
==================== 5 failed, 2 passed, 1 warning in 0.07s ====================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_click-plugins/build; python3.12 -m
pytest tests
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/tests
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_click-plugins/build
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_click-plugins/build; python3.13 -m
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.1
collected 7 items
tests/test_plugins.py .FFF.FF [100%]
=================================== FAILURES ===================================
____________________________ test_register_and_run _____________________________
runner = <click.testing.CliRunner object at 0x7fa4005bf230>
def test_register_and_run(runner):
result = runner.invoke(good_cli)
> assert result.exit_code == 0
E assert 2 == 0
E + where 2 = <Result SystemExit(2)>.exit_code
tests/test_plugins.py:81: AssertionError
_________________________ test_broken_register_and_run _________________________
runner = <click.testing.CliRunner object at 0x7fa400410f50>
def test_broken_register_and_run(runner):
result = runner.invoke(broken_cli)
> assert result.exit_code == 0
E assert 2 == 0
E + where 2 = <Result SystemExit(2)>.exit_code
tests/test_plugins.py:92: AssertionError
_______________________________ test_group_chain _______________________________
runner = <click.testing.CliRunner object at 0x7fa400411d10>
def test_group_chain(runner):
# Attach a sub-group to a CLI and get execute it without arguments to
make
# sure both the sub-group and all the parent group's commands are
present
@good_cli.group()
def sub_cli():
"""Sub CLI."""
pass
result = runner.invoke(good_cli)
> assert result.exit_code == 0
E assert 2 == 0
E + where 2 = <Result SystemExit(2)>.exit_code
tests/test_plugins.py:111: AssertionError
____________________ test_broken_register_and_run_with_help ____________________
runner = <click.testing.CliRunner object at 0x7fa400597490>
def test_broken_register_and_run_with_help(runner):
result = runner.invoke(broken_cli)
> assert result.exit_code == 0
E assert 2 == 0
E + where 2 = <Result SystemExit(2)>.exit_code
tests/test_plugins.py:145: AssertionError
____________________ test_broken_register_and_run_with_args ____________________
runner = <click.testing.CliRunner object at 0x7fa400597a80>
def test_broken_register_and_run_with_args(runner):
result = runner.invoke(broken_cli)
> assert result.exit_code == 0
E assert 2 == 0
E + where 2 = <Result SystemExit(2)>.exit_code
tests/test_plugins.py:156: AssertionError
=============================== warnings summary ===============================
tests/test_plugins.py:1
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_click-plugins/build/tests/test_plugins.py:1:
DeprecationWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import EntryPoint
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_plugins.py::test_register_and_run - assert 2 == 0
FAILED tests/test_plugins.py::test_broken_register_and_run - assert 2 == 0
FAILED tests/test_plugins.py::test_group_chain - assert 2 == 0
FAILED tests/test_plugins.py::test_broken_register_and_run_with_help - assert...
FAILED tests/test_plugins.py::test_broken_register_and_run_with_args - assert...
==================== 5 failed, 2 passed, 1 warning in 0.06s ====================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_click-plugins/build; python3.13 -m
pytest tests
dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.13" returned
exit code 13
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202502/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-click-plugins, so that this is still
visible in the BTS web page for this package.
Thanks.
--- End Message ---
--- Begin Message ---
Source: python-click-plugins
Source-Version: 1.1.1-5
Done: Bas Couwenberg <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-click-plugins, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bas Couwenberg <[email protected]> (supplier of updated python-click-plugins
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 22 Feb 2025 10:04:35 +0100
Source: python-click-plugins
Architecture: source
Version: 1.1.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
Closes: 1046588 1098595
Changes:
python-click-plugins (1.1.1-5) unstable; urgency=medium
.
* Team upload.
* Bump debhelper compat to 13.
* Use autopkgtest-pkg-pybuild testsuite.
* Enable Salsa CI.
* Remove generated files in clean target.
(closes: #1046588)
* Switch to dh-sequence-*.
* Bump Standards-Version to 4.7.0, no changes.
* Add patch to fix FTBFS with click 8.2.
(closes: #1098595)
Checksums-Sha1:
d3988875994006c0e003b0b19c115ce209c1ab91 2193 python-click-plugins_1.1.1-5.dsc
f75d4596f31aaf1cc70058a35a70121aa605e27b 4096
python-click-plugins_1.1.1-5.debian.tar.xz
c3e6d174fcdf4af72070170fb45e16a198552296 8575
python-click-plugins_1.1.1-5_amd64.buildinfo
Checksums-Sha256:
534e36910e8f021c605f69971bb62d5f3bcb242110d3a04ce8e2dae95946f967 2193
python-click-plugins_1.1.1-5.dsc
7d85d8b86a472e537a07be71a76dbd5af9685d8ee06eae271d4f32a4a9812b52 4096
python-click-plugins_1.1.1-5.debian.tar.xz
bdaf7525e38c81a53912681426bce5dfa7c9717af0a3ab973e30193a6ef8939e 8575
python-click-plugins_1.1.1-5_amd64.buildinfo
Files:
4b511274c0387f4fe6c5f5df41d64407 2193 python optional
python-click-plugins_1.1.1-5.dsc
43951400fad9b342f2ff444d6b5397d3 4096 python optional
python-click-plugins_1.1.1-5.debian.tar.xz
8c4fc864d1158be6cfd77ba49cf482a7 8575 python optional
python-click-plugins_1.1.1-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAme5k9MACgkQZ1DxCuiN
SvE+ng//RaNrjCHxhmfXMoocg6tS/9wWE3fqqfID828uF6RGdeZEBp3qdfAsQCH/
VS5Md/EdmUQ8Ay1koluZDR0qv5R2uyr+oUiTKbM8Q+bp4QKXR1Wiuvh0BkUZG0pj
Bue91pPI0RDt9fo+Bubz7xVvribmmuMOwJR9fmmWhvcwfvpyfFpjRg2I/IddCWaf
ESJbGTlRa6KHM02ZSIhHFcOt7tJxLV/eKAzett63kpVV8Uu4RAP6rHM22/RSyG7H
2LU+zHdNsFEvYr5paUzvmsT/ry6LlSDeiKvpTt6QcNiBMtTL/79rveqZr7o8tZfd
U91pLdxAWqtjVBP3eIm5/lbd1jq7TLTAdamSQJG/or49iRvRG7R8GU2j3m6sXekA
TxhCcUX5u4EBeMBg7c4vPPcQRYDCMJ2aPia1oX534PuLys7QiAIxc0eYK/McaRau
UM6y1DFhbnrMw+Td/7jUYmcxm4AG47uF4cS/4Y/xLHm8dS/pB12g43oeXNpoi37g
6KCEu7lFFQuHR+zJ4gFJqmWKYE64fJmetZXsPT7m4ZP6gvLB9AN79fWMiM0sF7ty
5/hGe9VQVJ5asMYT5AxxwrmVyl+Z01rlqCN0gI0YppRyCpEvDShqVfTfWCCKj1Fq
SNKsLIGIPiKsj3dFm9gqizer97/6HB2o+MTaNe76eMh61DDdjgo=
=C1MT
-----END PGP SIGNATURE-----
pgpQRperkuN6H.pgp
Description: PGP signature
--- End Message ---