Source: python-click
Version: 8.1.3-2
Severity: serious

Hello, after new pytest went in sid (or some other python updates), the package 
started FTBFS

I: Logging to /home/pbuilder/sid_result/python-click_8.1.3-2_amd64.build
D: cmdline: build --distribution sid --buildresult /home/pbuilder/sid_result 
--basetgz /home/pbuilder/sid-base.tgz --logfile 
/home/pbuilder/sid_result/python-click_8.1.3-2_amd64.build --mirror 
http://deb.debian.org/debian --debootstrapopts 
--keyring=/usr/share/keyrings/debian-archive-keyring.gpg --aptcache 
/home/pbuilder/aptcache/debian --components main contrib non-free 
../python-click_8.1.3-2.dsc
W: cgroups are not available on the host, not using them.
I: pbuilder: network access will be disabled during build
I: Current time: Thu Jul  6 12:17:33 CEST 2023
I: pbuilder-time-stamp: 1688638653
I: Building the build Environment
I: extracting base tarball [/home/pbuilder/sid-base.tgz]
I: copying local configuration
W: No local /etc/mailname to copy, relying on /tmp/build/356573/etc/mailname to 
be correct
W: --override-config is not set; not updating apt.conf Read the manpage for 
details.
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: redirecting /dev/ptmx to /dev/pts/ptmx
I: policy-rc.d already exists
D: no hooks of type H found -- ignoring
I: Obtaining the cached apt archive contents
I: Copying source file
I: copying [../python-click_8.1.3-2.dsc]
I: copying [../python-click_8.1.3.orig.tar.gz]
I: copying [../python-click_8.1.3-2.debian.tar.xz]
I: Extracting source
gpgv: Signature made Tue Jan 10 06:12:58 2023 UTC
gpgv:                using RSA key B9FAD3192AF3E4A5309D9D39879F3C993801A94F
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for 
./python-click_8.1.3-2.dsc: no acceptable signature found
dpkg-source: info: extracting python-click in python-click-8.1.3
dpkg-source: info: unpacking python-click_8.1.3.orig.tar.gz
dpkg-source: info: unpacking python-click_8.1.3-2.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying docs-Use-local-Python-intersphinx-inventary.patch
I: Not using root during the build.
I: Installing the build-deps
I: user script /tmp/build/356573/tmp/hooks/D20update starting
Hit:1 http://deb.debian.org/debian sid InRelease
Reading package lists...
I: user script /tmp/build/356573/tmp/hooks/D20update finished
 -> Attempting to parse the build-deps
 -> Considering build-depdebhelper-compat (= 13)
   -> Trying to add debhelper-compat=13
 -> Considering build-dep dh-sequence-python3
   -> Trying to add dh-sequence-python3
 -> Considering build-dep python3-all
   -> Trying to add python3-all
 -> Considering build-dep python3-doc <!nodoc>
   -> Trying to add python3-doc
 -> Considering build-dep python3-colorama
   -> Trying to add python3-colorama
 -> Considering build-dep python3-docutils
   -> Trying to add python3-docutils
 -> Considering build-dep python3-pallets-sphinx-themes (>= 2.0.1) <!nodoc>
   -> Trying to add python3-pallets-sphinx-themes
 -> Considering build-dep python3-pytest <!nocheck>
   -> Trying to add python3-pytest
 -> Considering build-dep python3-requests
   -> Trying to add python3-requests
 -> Considering build-dep python3-setuptools
   -> Trying to add python3-setuptools
 -> Considering build-dep python3-sphinx <!nodoc>
   -> Trying to add python3-sphinx
 -> Considering build-dep python3-sphinx-issues <!nodoc>
   -> Trying to add python3-sphinx-issues
 -> Considering build-dep python3-sphinx-tabs <!nodoc>
   -> Trying to add python3-sphinx-tabs
 -> Considering build-dep python3-sphinxcontrib-log-cabinet <!nodoc>
   -> Trying to add python3-sphinxcontrib-log-cabinet
 -> Installing  debhelper-compat=13 dh-sequence-python3 python3-all python3-doc 
python3-colorama python3-docutils python3-pallets-sphinx-themes python3-pytest 
python3-requests python3-setuptools python3-sphinx python3-sphinx-issues 
python3-sphinx-tabs python3-sphinxcontrib-log-cabinet
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils ca-certificates
  dh-autoreconf dh-strip-nondeterminism docutils-common dwz file gettext
  gettext-base groff-base intltool-debian libarchive-zip-perl
  libdebhelper-perl libelf1 libexpat1 libfile-stripnondeterminism-perl
  libicu72 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl
  libmagic-mgc libmagic1 libncursesw6 libpipeline1 libpython3-stdlib
  libpython3.11-minimal libpython3.11-stdlib libreadline8 libsqlite3-0
  libsub-override-perl libtool libuchardet0 libxml2 m4 man-db media-types
  openssl po-debconf python-babel-localedata python3 python3-alabaster
  python3-babel python3-certifi python3-chardet python3-charset-normalizer
  python3-distutils python3-idna python3-imagesize python3-iniconfig
  python3-jinja2 python3-lib2to3 python3-markupsafe python3-minimal
  python3-packaging python3-pkg-resources python3-pluggy python3-pygments
  python3-roman python3-six python3-snowballstemmer python3-tz python3-urllib3
  python3.11 python3.11-doc python3.11-minimal readline-common sensible-utils
  sgml-base sphinx-common xml-core
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make flit python3-build
  python3-tomli python3-installer gettext-doc libasprintf-dev libgettextpo-dev
  groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less
  www-browser libmail-box-perl python3-tk python3-venv python3-examples
  docutils-doc fonts-linuxlibertine | ttf-linux-libertine texlive-lang-french
  texlive-latex-base texlive-latex-recommended python-jinja2-doc
  python-pygments-doc ttf-bitstream-vera python3-cryptography python3-openssl
  python3-socks python-requests-doc python-setuptools-doc python3-stemmer
  dvipng fonts-freefont-otf imagemagick-6.q16 latexmk libjs-mathjax
  python3-sphinx-rtd-theme sphinx-doc tex-gyre texlive-fonts-recommended
  texlive-latex-extra texlive-plain-generic python3-sphinx-tabs-doc
  python3-brotli python3.11-venv binfmt-support readline-doc sgml-base-doc
Recommended packages:
  curl | wget | lynx libarchive-cpio-perl javascript-common libjson-xs-perl
  libgpm2 libltdl-dev libmail-sendmail-perl libpaper-utils python3-pil
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils ca-certificates
  debhelper dh-autoreconf dh-python dh-strip-nondeterminism docutils-common
  dwz file gettext gettext-base groff-base intltool-debian libarchive-zip-perl
  libdebhelper-perl libelf1 libexpat1 libfile-stripnondeterminism-perl
  libicu72 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl
  libmagic-mgc libmagic1 libncursesw6 libpipeline1 libpython3-stdlib
  libpython3.11-minimal libpython3.11-stdlib libreadline8 libsqlite3-0
  libsub-override-perl libtool libuchardet0 libxml2 m4 man-db media-types
  openssl po-debconf python-babel-localedata python3 python3-alabaster
  python3-all python3-babel python3-certifi python3-chardet
  python3-charset-normalizer python3-colorama python3-distutils python3-doc
  python3-docutils python3-idna python3-imagesize python3-iniconfig
  python3-jinja2 python3-lib2to3 python3-markupsafe python3-minimal
  python3-packaging python3-pallets-sphinx-themes python3-pkg-resources
  python3-pluggy python3-pygments python3-pytest python3-requests
  python3-roman python3-setuptools python3-six python3-snowballstemmer
  python3-sphinx python3-sphinx-issues python3-sphinx-tabs
  python3-sphinxcontrib-log-cabinet python3-tz python3-urllib3 python3.11
  python3.11-doc python3.11-minimal readline-common sensible-utils sgml-base
  sphinx-common xml-core
0 upgraded, 89 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.1 MB/50.9 MB of archives.
After this operation, 229 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main amd64 python3-minimal amd64 
3.11.4-5 [26.2 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 libncursesw6 amd64 
6.4+20230625-1 [134 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 libpython3-stdlib amd64 
3.11.4-5 [9200 B]
Get:4 http://deb.debian.org/debian sid/main amd64 python3 amd64 3.11.4-5 [26.2 
kB]
Get:5 http://deb.debian.org/debian sid/main amd64 openssl amd64 3.0.9-1 [1416 
kB]
Get:6 http://deb.debian.org/debian sid/main amd64 libelf1 amd64 0.189-4 [174 kB]
Get:7 http://deb.debian.org/debian sid/main amd64 python3-lib2to3 all 3.11.4-1 
[77.4 kB]
Get:8 http://deb.debian.org/debian sid/main amd64 python3-distutils all 
3.11.4-1 [131 kB]
Get:9 http://deb.debian.org/debian sid/main amd64 dh-python all 5.20230603 [104 
kB]
Get:10 http://deb.debian.org/debian sid/main amd64 python3-all amd64 3.11.4-5 
[1060 B]
Get:11 http://deb.debian.org/debian sid/main amd64 python3-pkg-resources all 
68.0.0-1 [240 kB]
Get:12 http://deb.debian.org/debian sid/main amd64 python3-tz all 2023.3-3 
[30.7 kB]
Get:13 http://deb.debian.org/debian sid/main amd64 python3-charset-normalizer 
all 3.1.0-2 [50.0 kB]
Get:14 http://deb.debian.org/debian sid/main amd64 python3.11-doc all 3.11.4-1 
[12.7 MB]
Get:15 http://deb.debian.org/debian sid/main amd64 python3-doc all 3.11.4-5 
[9396 B]
Get:16 http://deb.debian.org/debian sid/main amd64 python3-markupsafe amd64 
2.1.3-1 [13.1 kB]
Get:17 http://deb.debian.org/debian sid/main amd64 python3-packaging all 23.1-1 
[37.4 kB]
Get:18 http://deb.debian.org/debian sid/main amd64 python3-urllib3 all 
1.26.16-1 [115 kB]
Get:19 http://deb.debian.org/debian sid/main amd64 python3-snowballstemmer all 
2.2.0-4 [58.0 kB]
Get:20 http://deb.debian.org/debian sid/main amd64 
python3-pallets-sphinx-themes all 2.1.1-1 [22.0 kB]
Get:21 http://deb.debian.org/debian sid/main amd64 python3-pytest all 7.4.0-2 
[241 kB]
Get:22 http://deb.debian.org/debian sid/main amd64 python3-setuptools all 
68.0.0-1 [467 kB]
Get:23 http://deb.debian.org/debian sid/main amd64 python3-sphinx-issues all 
1.2.0-4 [7088 B]
Get:24 http://deb.debian.org/debian sid/main amd64 python3-sphinx-tabs all 
3.4.1-1 [14.5 kB]
Get:25 http://deb.debian.org/debian sid/main amd64 
python3-sphinxcontrib-log-cabinet all 1.0.1-3 [5832 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 16.1 MB in 6s (2877 kB/s)
Selecting previously unselected package libpython3.11-minimal:amd64.
(Reading database ... 11550 files and directories currently installed.)
Preparing to unpack .../libpython3.11-minimal_3.11.4-1_amd64.deb ...
Unpacking libpython3.11-minimal:amd64 (3.11.4-1) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.5.0-2_amd64.deb ...
Unpacking libexpat1:amd64 (2.5.0-2) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../python3.11-minimal_3.11.4-1_amd64.deb ...
Unpacking python3.11-minimal (3.11.4-1) ...
Setting up libpython3.11-minimal:amd64 (3.11.4-1) ...
Setting up libexpat1:amd64 (2.5.0-2) ...
Setting up python3.11-minimal (3.11.4-1) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 11866 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.11.4-5_amd64.deb ...
Unpacking python3-minimal (3.11.4-5) ...
Selecting previously unselected package media-types.
Preparing to unpack .../1-media-types_10.0.0_all.deb ...
Unpacking media-types (10.0.0) ...
Selecting previously unselected package libncursesw6:amd64.
Preparing to unpack .../2-libncursesw6_6.4+20230625-1_amd64.deb ...
Unpacking libncursesw6:amd64 (6.4+20230625-1) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../3-readline-common_8.2-1.3_all.deb ...
Unpacking readline-common (8.2-1.3) ...
Selecting previously unselected package libreadline8:amd64.
Preparing to unpack .../4-libreadline8_8.2-1.3_amd64.deb ...
Unpacking libreadline8:amd64 (8.2-1.3) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../5-libsqlite3-0_3.42.0-1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.42.0-1) ...
Selecting previously unselected package libpython3.11-stdlib:amd64.
Preparing to unpack .../6-libpython3.11-stdlib_3.11.4-1_amd64.deb ...
Unpacking libpython3.11-stdlib:amd64 (3.11.4-1) ...
Selecting previously unselected package python3.11.
Preparing to unpack .../7-python3.11_3.11.4-1_amd64.deb ...
Unpacking python3.11 (3.11.4-1) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../8-libpython3-stdlib_3.11.4-5_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.11.4-5) ...
Setting up python3-minimal (3.11.4-5) ...
Selecting previously unselected package python3.
(Reading database ... 12315 files and directories currently installed.)
Preparing to unpack .../00-python3_3.11.4-5_amd64.deb ...
Unpacking python3 (3.11.4-5) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../01-sgml-base_1.31_all.deb ...
Unpacking sgml-base (1.31) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../02-sensible-utils_0.0.20_all.deb ...
Unpacking sensible-utils (0.0.20) ...
Selecting previously unselected package openssl.
Preparing to unpack .../03-openssl_3.0.9-1_amd64.deb ...
Unpacking openssl (3.0.9-1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../04-ca-certificates_20230311_all.deb ...
Unpacking ca-certificates (20230311) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../05-libmagic-mgc_1%3a5.44-3_amd64.deb ...
Unpacking libmagic-mgc (1:5.44-3) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../06-libmagic1_1%3a5.44-3_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.44-3) ...
Selecting previously unselected package file.
Preparing to unpack .../07-file_1%3a5.44-3_amd64.deb ...
Unpacking file (1:5.44-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../08-gettext-base_0.21-12_amd64.deb ...
Unpacking gettext-base (0.21-12) ...
Selecting previously unselected package libuchardet0:amd64.
Preparing to unpack .../09-libuchardet0_0.0.7-1_amd64.deb ...
Unpacking libuchardet0:amd64 (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../10-groff-base_1.22.4-10_amd64.deb ...
Unpacking groff-base (1.22.4-10) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../11-bsdextrautils_2.38.1-5+b1_amd64.deb ...
Unpacking bsdextrautils (2.38.1-5+b1) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../12-libpipeline1_1.5.7-1_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.7-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../13-man-db_2.11.2-2_amd64.deb ...
Unpacking man-db (2.11.2-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../14-m4_1.4.19-3_amd64.deb ...
Unpacking m4 (1.4.19-3) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../15-autoconf_2.71-3_all.deb ...
Unpacking autoconf (2.71-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../16-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../17-automake_1%3a1.16.5-1.3_all.deb ...
Unpacking automake (1:1.16.5-1.3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../18-autopoint_0.21-12_all.deb ...
Unpacking autopoint (0.21-12) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../19-libdebhelper-perl_13.11.4_all.deb ...
Unpacking libdebhelper-perl (13.11.4) ...
Selecting previously unselected package libtool.
Preparing to unpack .../20-libtool_2.4.7-5_all.deb ...
Unpacking libtool (2.4.7-5) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../21-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../22-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../23-libsub-override-perl_0.09-4_all.deb ...
Unpacking libsub-override-perl (0.09-4) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../24-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../25-dh-strip-nondeterminism_1.13.1-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.1-1) ...
Selecting previously unselected package libelf1:amd64.
Preparing to unpack .../26-libelf1_0.189-4_amd64.deb ...
Unpacking libelf1:amd64 (0.189-4) ...
Selecting previously unselected package dwz.
Preparing to unpack .../27-dwz_0.15-1_amd64.deb ...
Unpacking dwz (0.15-1) ...
Selecting previously unselected package libicu72:amd64.
Preparing to unpack .../28-libicu72_72.1-3_amd64.deb ...
Unpacking libicu72:amd64 (72.1-3) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../29-libxml2_2.9.14+dfsg-1.2_amd64.deb ...
Unpacking libxml2:amd64 (2.9.14+dfsg-1.2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../30-gettext_0.21-12_amd64.deb ...
Unpacking gettext (0.21-12) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../31-intltool-debian_0.35.0+20060710.6_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.6) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../32-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../33-debhelper_13.11.4_all.deb ...
Unpacking debhelper (13.11.4) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../34-python3-lib2to3_3.11.4-1_all.deb ...
Unpacking python3-lib2to3 (3.11.4-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../35-python3-distutils_3.11.4-1_all.deb ...
Unpacking python3-distutils (3.11.4-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../36-dh-python_5.20230603_all.deb ...
Unpacking dh-python (5.20230603) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../37-xml-core_0.18+nmu1_all.deb ...
Unpacking xml-core (0.18+nmu1) ...
Selecting previously unselected package docutils-common.
Preparing to unpack .../38-docutils-common_0.19+dfsg-6_all.deb ...
Unpacking docutils-common (0.19+dfsg-6) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../39-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ...
Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../40-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ...
Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../41-libjs-sphinxdoc_5.3.0-4_all.deb ...
Unpacking libjs-sphinxdoc (5.3.0-4) ...
Selecting previously unselected package libjson-perl.
Preparing to unpack .../42-libjson-perl_4.10000-1_all.deb ...
Unpacking libjson-perl (4.10000-1) ...
Selecting previously unselected package python-babel-localedata.
Preparing to unpack .../43-python-babel-localedata_2.10.3-1_all.deb ...
Unpacking python-babel-localedata (2.10.3-1) ...
Selecting previously unselected package python3-alabaster.
Preparing to unpack .../44-python3-alabaster_0.7.12-1_all.deb ...
Unpacking python3-alabaster (0.7.12-1) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../45-python3-all_3.11.4-5_amd64.deb ...
Unpacking python3-all (3.11.4-5) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../46-python3-pkg-resources_68.0.0-1_all.deb ...
Unpacking python3-pkg-resources (68.0.0-1) ...
Selecting previously unselected package python3-tz.
Preparing to unpack .../47-python3-tz_2023.3-3_all.deb ...
Unpacking python3-tz (2023.3-3) ...
Selecting previously unselected package python3-babel.
Preparing to unpack .../48-python3-babel_2.10.3-1_all.deb ...
Unpacking python3-babel (2.10.3-1) ...
Selecting previously unselected package python3-certifi.
Preparing to unpack .../49-python3-certifi_2022.9.24-1_all.deb ...
Unpacking python3-certifi (2022.9.24-1) ...
Selecting previously unselected package python3-chardet.
Preparing to unpack .../50-python3-chardet_5.1.0+dfsg-2_all.deb ...
Unpacking python3-chardet (5.1.0+dfsg-2) ...
Selecting previously unselected package python3-charset-normalizer.
Preparing to unpack .../51-python3-charset-normalizer_3.1.0-2_all.deb ...
Unpacking python3-charset-normalizer (3.1.0-2) ...
Selecting previously unselected package python3-colorama.
Preparing to unpack .../52-python3-colorama_0.4.6-2_all.deb ...
Unpacking python3-colorama (0.4.6-2) ...
Selecting previously unselected package python3.11-doc.
Preparing to unpack .../53-python3.11-doc_3.11.4-1_all.deb ...
Unpacking python3.11-doc (3.11.4-1) ...
Selecting previously unselected package python3-doc.
Preparing to unpack .../54-python3-doc_3.11.4-5_all.deb ...
Unpacking python3-doc (3.11.4-5) ...
Selecting previously unselected package python3-roman.
Preparing to unpack .../55-python3-roman_3.3-3_all.deb ...
Unpacking python3-roman (3.3-3) ...
Selecting previously unselected package python3-docutils.
Preparing to unpack .../56-python3-docutils_0.19+dfsg-6_all.deb ...
Unpacking python3-docutils (0.19+dfsg-6) ...
Selecting previously unselected package python3-idna.
Preparing to unpack .../57-python3-idna_3.3-1_all.deb ...
Unpacking python3-idna (3.3-1) ...
Selecting previously unselected package python3-imagesize.
Preparing to unpack .../58-python3-imagesize_1.4.1-1_all.deb ...
Unpacking python3-imagesize (1.4.1-1) ...
Selecting previously unselected package python3-iniconfig.
Preparing to unpack .../59-python3-iniconfig_1.1.1-2_all.deb ...
Unpacking python3-iniconfig (1.1.1-2) ...
Selecting previously unselected package python3-markupsafe.
Preparing to unpack .../60-python3-markupsafe_2.1.3-1_amd64.deb ...
Unpacking python3-markupsafe (2.1.3-1) ...
Selecting previously unselected package python3-jinja2.
Preparing to unpack .../61-python3-jinja2_3.1.2-1_all.deb ...
Unpacking python3-jinja2 (3.1.2-1) ...
Selecting previously unselected package python3-packaging.
Preparing to unpack .../62-python3-packaging_23.1-1_all.deb ...
Unpacking python3-packaging (23.1-1) ...
Selecting previously unselected package sphinx-common.
Preparing to unpack .../63-sphinx-common_5.3.0-4_all.deb ...
Unpacking sphinx-common (5.3.0-4) ...
Selecting previously unselected package python3-pygments.
Preparing to unpack .../64-python3-pygments_2.15.1+dfsg-1_all.deb ...
Unpacking python3-pygments (2.15.1+dfsg-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../65-python3-six_1.16.0-4_all.deb ...
Unpacking python3-six (1.16.0-4) ...
Selecting previously unselected package python3-urllib3.
Preparing to unpack .../66-python3-urllib3_1.26.16-1_all.deb ...
Unpacking python3-urllib3 (1.26.16-1) ...
Selecting previously unselected package python3-requests.
Preparing to unpack .../67-python3-requests_2.28.1+dfsg-1_all.deb ...
Unpacking python3-requests (2.28.1+dfsg-1) ...
Selecting previously unselected package python3-snowballstemmer.
Preparing to unpack .../68-python3-snowballstemmer_2.2.0-4_all.deb ...
Unpacking python3-snowballstemmer (2.2.0-4) ...
Selecting previously unselected package python3-sphinx.
Preparing to unpack .../69-python3-sphinx_5.3.0-4_all.deb ...
Unpacking python3-sphinx (5.3.0-4) ...
Selecting previously unselected package python3-pallets-sphinx-themes.
Preparing to unpack .../70-python3-pallets-sphinx-themes_2.1.1-1_all.deb ...
Unpacking python3-pallets-sphinx-themes (2.1.1-1) ...
Selecting previously unselected package python3-pluggy.
Preparing to unpack .../71-python3-pluggy_1.0.0+repack-1_all.deb ...
Unpacking python3-pluggy (1.0.0+repack-1) ...
Selecting previously unselected package python3-pytest.
Preparing to unpack .../72-python3-pytest_7.4.0-2_all.deb ...
Unpacking python3-pytest (7.4.0-2) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../73-python3-setuptools_68.0.0-1_all.deb ...
Unpacking python3-setuptools (68.0.0-1) ...
Selecting previously unselected package python3-sphinx-issues.
Preparing to unpack .../74-python3-sphinx-issues_1.2.0-4_all.deb ...
Unpacking python3-sphinx-issues (1.2.0-4) ...
Selecting previously unselected package python3-sphinx-tabs.
Preparing to unpack .../75-python3-sphinx-tabs_3.4.1-1_all.deb ...
Unpacking python3-sphinx-tabs (3.4.1-1) ...
Selecting previously unselected package python3-sphinxcontrib-log-cabinet.
Preparing to unpack .../76-python3-sphinxcontrib-log-cabinet_1.0.1-3_all.deb ...
Unpacking python3-sphinxcontrib-log-cabinet (1.0.1-3) ...
Setting up media-types (10.0.0) ...
Setting up libpipeline1:amd64 (1.5.7-1) ...
Setting up libicu72:amd64 (72.1-3) ...
Setting up bsdextrautils (2.38.1-5+b1) ...
Setting up libmagic-mgc (1:5.44-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.11.4) ...
Setting up libsqlite3-0:amd64 (3.42.0-1) ...
Setting up libmagic1:amd64 (1:5.44-3) ...
Setting up gettext-base (0.21-12) ...
Setting up m4 (1.4.19-3) ...
Setting up file (1:5.44-3) ...
Setting up python-babel-localedata (2.10.3-1) ...
Setting up autotools-dev (20220109.1) ...
Setting up autopoint (0.21-12) ...
Setting up libncursesw6:amd64 (6.4+20230625-1) ...
Setting up autoconf (2.71-3) ...
Setting up sensible-utils (0.0.20) ...
Setting up libuchardet0:amd64 (0.0.7-1) ...
Setting up libjson-perl (4.10000-1) ...
Setting up libsub-override-perl (0.09-4) ...
Setting up sgml-base (1.31) ...
Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Setting up openssl (3.0.9-1) ...
Setting up libelf1:amd64 (0.189-4) ...
Setting up readline-common (8.2-1.3) ...
Setting up libxml2:amd64 (2.9.14+dfsg-1.2) ...
Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake 
(automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.13.1-1) ...
Setting up gettext (0.21-12) ...
Setting up libtool (2.4.7-5) ...
Setting up libreadline8:amd64 (8.2-1.3) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up ca-certificates (20230311) ...
Updating certificates in /etc/ssl/certs...
140 added, 0 removed; done.
Setting up python3.11-doc (3.11.4-1) ...
Setting up libjs-sphinxdoc (5.3.0-4) ...
Setting up dh-strip-nondeterminism (1.13.1-1) ...
Setting up dwz (0.15-1) ...
Setting up groff-base (1.22.4-10) ...
Setting up xml-core (0.18+nmu1) ...
Setting up python3-doc (3.11.4-5) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up libpython3.11-stdlib:amd64 (3.11.4-1) ...
Setting up man-db (2.11.2-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up sphinx-common (5.3.0-4) ...
Setting up libpython3-stdlib:amd64 (3.11.4-5) ...
Setting up python3.11 (3.11.4-1) ...
Setting up debhelper (13.11.4) ...
Setting up python3 (3.11.4-5) ...
Setting up python3-markupsafe (2.1.3-1) ...
Setting up python3-tz (2023.3-3) ...
Setting up python3-six (1.16.0-4) ...
Setting up python3-roman (3.3-3) ...
Setting up python3-jinja2 (3.1.2-1) ...
Setting up python3-packaging (23.1-1) ...
Setting up python3-certifi (2022.9.24-1) ...
Setting up python3-snowballstemmer (2.2.0-4) ...
Setting up python3-idna (3.3-1) ...
Setting up python3-urllib3 (1.26.16-1) ...
Setting up python3-pluggy (1.0.0+repack-1) ...
Setting up python3-lib2to3 (3.11.4-1) ...
Setting up python3-imagesize (1.4.1-1) ...
Setting up python3-pkg-resources (68.0.0-1) ...
Setting up python3-distutils (3.11.4-1) ...
Setting up dh-python (5.20230603) ...
Setting up python3-iniconfig (1.1.1-2) ...
Setting up python3-setuptools (68.0.0-1) ...
Setting up python3-babel (2.10.3-1) ...
update-alternatives: using /usr/bin/pybabel-python3 to provide /usr/bin/pybabel 
(pybabel) in auto mode
Setting up python3-colorama (0.4.6-2) ...
Setting up python3-charset-normalizer (3.1.0-2) ...
Setting up python3-pytest (7.4.0-2) ...
Setting up python3-alabaster (0.7.12-1) ...
Setting up python3-all (3.11.4-5) ...
Setting up python3-pygments (2.15.1+dfsg-1) ...
Setting up python3-chardet (5.1.0+dfsg-2) ...
Setting up python3-requests (2.28.1+dfsg-1) ...
Processing triggers for libc-bin (2.37-3) ...
Processing triggers for sgml-base (1.31) ...
Setting up docutils-common (0.19+dfsg-6) ...
Processing triggers for sgml-base (1.31) ...
Setting up python3-docutils (0.19+dfsg-6) ...
Setting up python3-sphinx (5.3.0-4) ...
Setting up python3-sphinx-issues (1.2.0-4) ...
Setting up python3-sphinxcontrib-log-cabinet (1.0.1-3) ...
Setting up python3-pallets-sphinx-themes (2.1.1-1) ...
Setting up python3-sphinx-tabs (3.4.1-1) ...
Processing triggers for ca-certificates (20230311) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
 -> Finished parsing the build-deps
I: Copying back the cached apt archive contents
I: new cache content 'python3-pallets-sphinx-themes_2.1.1-1_all.deb' added
I: new cache content 'python3-pytest_7.4.0-2_all.deb' added
I: new cache content 'python3-lib2to3_3.11.4-1_all.deb' added
I: new cache content 'python3-setuptools_68.0.0-1_all.deb' added
I: new cache content 'python3_3.11.4-5_amd64.deb' added
I: new cache content 'python3.11-doc_3.11.4-1_all.deb' added
I: new cache content 'python3-snowballstemmer_2.2.0-4_all.deb' added
I: new cache content 'openssl_3.0.9-1_amd64.deb' added
I: new cache content 'libelf1_0.189-4_amd64.deb' added
I: new cache content 'python3-pkg-resources_68.0.0-1_all.deb' added
I: new cache content 'python3-minimal_3.11.4-5_amd64.deb' added
I: new cache content 'python3-distutils_3.11.4-1_all.deb' added
I: new cache content 'python3-sphinx-tabs_3.4.1-1_all.deb' added
I: new cache content 'dh-python_5.20230603_all.deb' added
I: new cache content 'python3-sphinx-issues_1.2.0-4_all.deb' added
I: new cache content 'python3-tz_2023.3-3_all.deb' added
I: new cache content 'python3-charset-normalizer_3.1.0-2_all.deb' added
I: new cache content 'libpython3-stdlib_3.11.4-5_amd64.deb' added
I: new cache content 'python3-doc_3.11.4-5_all.deb' added
I: new cache content 'python3-urllib3_1.26.16-1_all.deb' added
I: new cache content 'libncursesw6_6.4+20230625-1_amd64.deb' added
I: new cache content 'python3-sphinxcontrib-log-cabinet_1.0.1-3_all.deb' added
I: new cache content 'python3-all_3.11.4-5_amd64.deb' added
I: new cache content 'python3-markupsafe_2.1.3-1_amd64.deb' added
I: new cache content 'python3-packaging_23.1-1_all.deb' added
I: Building the package
D: no hooks of type A found -- ignoring
I: Running cd /build/python-click-8.1.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" 
dpkg-buildpackage -us -uc  && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-genchanges -S  
> ../python-click_8.1.3-2_source.changes
dpkg-buildpackage: info: source package python-click
dpkg-buildpackage: info: source version 8.1.3-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Sandro Tosi <mo...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean --with sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:240: python3.11 setup.py clean
running clean
removing '/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.11' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building python-click using existing 
./python-click_8.1.3.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building python-click in python-click_8.1.3-2.debian.tar.xz
dpkg-source: info: building python-click in python-click_8.1.3-2.dsc
 debian/rules binary
dh binary --with sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:240: python3.11 setup.py config
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:240: /usr/bin/python3 setup.py build
running build
running build_py
creating /build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/testing.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/_compat.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/__init__.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/_termui_impl.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/decorators.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/formatting.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/termui.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/core.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/_textwrap.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/parser.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/types.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/exceptions.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/globals.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/shell_completion.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/_winconsole.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
copying src/click/utils.py -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
running egg_info
creating src/click.egg-info
writing src/click.egg-info/PKG-INFO
writing dependency_links to src/click.egg-info/dependency_links.txt
writing requirements to src/click.egg-info/requires.txt
writing top-level names to src/click.egg-info/top_level.txt
writing manifest file 'src/click.egg-info/SOURCES.txt'
reading manifest file 'src/click.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
adding license file 'LICENSE.rst'
writing manifest file 'src/click.egg-info/SOURCES.txt'
copying src/click/py.typed -> 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build/click
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:240: cd 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build; python3.11 -m 
pytest -k 'not test_expand_args' /build/python-click-8.1.3/tests/
============================= test session starts ==============================
platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0+repack
rootdir: /build/python-click-8.1.3
configfile: setup.cfg
collected 598 items / 1 deselected / 597 selected

../../../tests/test_arguments.py ........FE..........................    [  5%]
../../../tests/test_basic.py ........................................... [ 13%]
.............                                                            [ 15%]
../../../tests/test_chain.py ...............x                            [ 17%]
../../../tests/test_command_decorators.py ...                            [ 18%]
../../../tests/test_commands.py ........................                 [ 22%]
../../../tests/test_compat.py .                                          [ 22%]
../../../tests/test_context.py .......................                   [ 26%]
../../../tests/test_custom_classes.py ......                             [ 27%]
../../../tests/test_defaults.py ...                                      [ 27%]
../../../tests/test_formatting.py ................                       [ 30%]
../../../tests/test_imports.py .                                         [ 30%]
../../../tests/test_info_dict.py ......................                  [ 34%]
../../../tests/test_normalization.py ...                                 [ 35%]
../../../tests/test_options.py ......................................... [ 41%]
........................................................................ [ 53%]
                                                                         [ 53%]
../../../tests/test_parser.py .......                                    [ 55%]
../../../tests/test_shell_completion.py ................................ [ 60%]
.....                                                                    [ 61%]
../../../tests/test_termui.py .......................................... [ 68%]
.sssssssssssssssssssss.................                                  [ 74%]
../../../tests/test_testing.py .......................                   [ 78%]
../../../tests/test_types.py ..................................          [ 84%]
../../../tests/test_utils.py ........................................... [ 91%]
..................................................                       [100%]

==================================== ERRORS ====================================
_____________________ ERROR at teardown of test_bytes_args _____________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_runtest_hook.<locals>.<lambda> at 0x7f843696eca0>
when = 'teardown'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
        func: "Callable[[], TResult]",
        when: "Literal['collect', 'setup', 'call', 'teardown']",
        reraise: Optional[
            Union[Type[BaseException], Tuple[Type[BaseException], ...]]
        ] = None,
    ) -> "CallInfo[TResult]":
        """Call func, wrapping the result in a CallInfo.
:param func:
            The function to call. Called without arguments.
        :param when:
            The phase in which the function is called.
        :param reraise:
            Exception or exceptions that shall propagate if raised by the
            function, instead of being wrapped in the CallInfo.
        """
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
          result: Optional[TResult] = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:341:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/_pytest/runner.py:262: in <lambda>
    lambda: ihook(item=item, **kwds), when=when, reraise=reraise
/usr/lib/python3/dist-packages/pluggy/_hooks.py:265: in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
/usr/lib/python3/dist-packages/pluggy/_manager.py:80: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/usr/lib/python3/dist-packages/_pytest/runner.py:182: in pytest_runtest_teardown
    item.session._setupstate.teardown_exact(nextitem)
/usr/lib/python3/dist-packages/_pytest/runner.py:537: in teardown_exact
    raise exceptions[0]
/usr/lib/python3/dist-packages/_pytest/runner.py:526: in teardown_exact
    fin()
/usr/lib/python3/dist-packages/_pytest/fixtures.py:701: in <lambda>
    subrequest.node.addfinalizer(lambda: fixturedef.finish(request=subrequest))
/usr/lib/python3/dist-packages/_pytest/fixtures.py:1031: in finish
    raise exc
/usr/lib/python3/dist-packages/_pytest/fixtures.py:1024: in finish
    func()
/usr/lib/python3/dist-packages/_pytest/fixtures.py:911: in 
_teardown_yield_fixture
    next(it)
/usr/lib/python3/dist-packages/_pytest/monkeypatch.py:56: in monkeypatch
    mpatch.undo()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8436a53d50>

    def undo(self) -> None:
        """Undo previous changes.
This call consumes the undo stack. Calling it a second time has no
        effect unless you do more monkeypatching after the undo call.
There is generally no need to call `undo()`, since it is
        called automatically during tear-down.
.. note::
            The same `monkeypatch` fixture is used across a
            single test function invocation. If `monkeypatch` is used both by
            the test function itself and one of the test fixtures,
            calling `undo()` will undo all of the changes made in
            both functions.
Prefer to use :meth:`context() <pytest.MonkeyPatch.context>` instead.
        """
        for obj, name, value in reversed(self._setattr):
            if value is not notset:
              setattr(obj, name, value)
E               AttributeError: property 'encoding' of 'DontReadFromInput' 
object has no setter

/usr/lib/python3/dist-packages/_pytest/monkeypatch.py:400: AttributeError
=================================== FAILURES ===================================
_______________________________ test_bytes_args ________________________________

runner = <click.testing.CliRunner object at 0x7f8436a51a10>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8436a53d50>

    def test_bytes_args(runner, monkeypatch):
        @click.command()
        @click.argument("arg")
        def from_bytes(arg):
            assert isinstance(
                arg, str
            ), "UTF-8 encoded argument should be implicitly converted to 
Unicode"
# Simulate empty locale environment variables
      monkeypatch.setattr(sys.stdin, "encoding", "utf-8")
E       AttributeError: property 'encoding' of 'DontReadFromInput' object has 
no setter

../../../tests/test_arguments.py:89: AttributeError
=========================== short test summary info ============================
FAILED ../../../tests/test_arguments.py::test_bytes_args - AttributeError: pr...
ERROR ../../../tests/test_arguments.py::test_bytes_args - AttributeError: pro...
= 1 failed, 574 passed, 21 skipped, 1 deselected, 1 xfailed, 1 error in 4.21s ==
E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
/build/python-click-8.1.3/.pybuild/cpython3_3.11_click/build; python3.11 -m 
pytest -k 'not test_expand_args' {dir}/tests/
dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit 
code 13
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I: copying local configuration
E: Failed autobuilding of package
D: no hooks of type C found -- ignoring
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: cleaning the build env
I: removing directory /tmp/build/356573 and its subdirectories


thanks for having a look

Gianfranco

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to