0s autopkgtest [04:29:06]: starting date and time: 2025-02-19 04:29:06+0000 0s autopkgtest [04:29:06]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [04:29:06]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.35eyutlb/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-click --apt-upgrade python-whey --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-click/8.2.0-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-s390x-28.secgroup --name adt-plucky-s390x-python-whey-20250219-042906-juju-7f2275-prod-proposed-migration-environment-20-6d7b3cab-6629-485c-97d4-5e24297183bf --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-s390x -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 117s autopkgtest [04:31:03]: testbed dpkg architecture: s390x 117s autopkgtest [04:31:03]: testbed apt version: 2.9.29 117s autopkgtest [04:31:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 117s autopkgtest [04:31:03]: testbed release detected to be: None 118s autopkgtest [04:31:04]: updating testbed package index (apt update) 119s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 119s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 119s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 119s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 119s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 119s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [79.1 kB] 119s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [788 kB] 119s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 119s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [98.8 kB] 119s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [760 B] 119s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [656 kB] 119s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [5192 B] 119s Fetched 1755 kB in 1s (1734 kB/s) 120s Reading package lists... 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s Calculating upgrade... 121s The following packages were automatically installed and are no longer required: 121s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 121s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 121s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 121s linux-tools-6.11.0-8-generic 121s Use 'sudo apt autoremove' to remove them. 121s The following packages will be upgraded: 121s dhcpcd-base s390-tools s390-tools-data s390-tools-signed 121s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s Need to get 5637 kB of archives. 121s After this operation, 54.3 kB of additional disk space will be used. 121s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x dhcpcd-base s390x 1:10.1.0-7 [219 kB] 122s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x s390-tools-data all 2.37.0-0ubuntu2 [20.4 kB] 122s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x s390-tools s390x 2.37.0-0ubuntu2 [5385 kB] 122s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x s390-tools-signed all 2.37.0-0ubuntu2 [12.4 kB] 122s Fetched 5637 kB in 1s (6555 kB/s) 122s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80980 files and directories currently installed.) 122s Preparing to unpack .../dhcpcd-base_1%3a10.1.0-7_s390x.deb ... 122s Unpacking dhcpcd-base (1:10.1.0-7) over (1:10.1.0-6) ... 122s Preparing to unpack .../s390-tools-data_2.37.0-0ubuntu2_all.deb ... 122s Unpacking s390-tools-data (2.37.0-0ubuntu2) over (2.37.0-0ubuntu1) ... 122s Preparing to unpack .../s390-tools_2.37.0-0ubuntu2_s390x.deb ... 122s Unpacking s390-tools (2.37.0-0ubuntu2) over (2.37.0-0ubuntu1) ... 123s Preparing to unpack .../s390-tools-signed_2.37.0-0ubuntu2_all.deb ... 123s Unpacking s390-tools-signed (2.37.0-0ubuntu2) over (2.37.0-0ubuntu1) ... 123s Setting up s390-tools-signed (2.37.0-0ubuntu2) ... 123s Setting up dhcpcd-base (1:10.1.0-7) ... 123s Setting up s390-tools-data (2.37.0-0ubuntu2) ... 123s Setting up s390-tools (2.37.0-0ubuntu2) ... 123s Processing triggers for man-db (2.13.0-1) ... 124s Processing triggers for initramfs-tools (0.145ubuntu2) ... 124s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 124s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 129s Using config file '/etc/zipl.conf' 129s Building bootmap in '/boot' 129s Adding IPL section 'ubuntu' (default) 129s Preparing boot device for LD-IPL: vda (0000). 129s Done. 129s Reading package lists... 129s Building dependency tree... 129s Reading state information... 130s The following packages will be REMOVED: 130s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 130s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 130s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 130s linux-tools-6.11.0-8-generic* 130s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 130s After this operation, 167 MB disk space will be freed. 130s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80981 files and directories currently installed.) 130s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 130s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 130s Removing libpython3.12t64:s390x (3.12.9-1) ... 130s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 130s Removing libnsl2:s390x (1.3.0-3build3) ... 130s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 130s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 130s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 131s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 131s Processing triggers for libc-bin (2.40-4ubuntu1) ... 131s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55881 files and directories currently installed.) 131s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 131s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 131s autopkgtest [04:31:17]: upgrading testbed (apt dist-upgrade and autopurge) 132s Reading package lists... 132s Building dependency tree... 132s Reading state information... 132s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 132s Starting 2 pkgProblemResolver with broken count: 0 132s Done 132s Entering ResolveByKeep 132s 132s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 133s Reading package lists... 133s Building dependency tree... 133s Reading state information... 133s Starting pkgProblemResolver with broken count: 0 133s Starting 2 pkgProblemResolver with broken count: 0 133s Done 133s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 133s autopkgtest [04:31:19]: rebooting testbed after setup commands that affected boot 146s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 153s autopkgtest [04:31:39]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP Tue Feb 4 15:05:57 UTC 2025 155s autopkgtest [04:31:41]: @@@@@@@@@@@@@@@@@@@@ apt-source python-whey 157s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-whey 0.1.1-1 (dsc) [2714 B] 157s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-whey 0.1.1-1 (tar) [319 kB] 157s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-whey 0.1.1-1 (diff) [6536 B] 157s gpgv: Signature made Sat May 25 03:38:07 2024 UTC 157s gpgv: using RSA key A8194D5D117E2D02DF30D30D07A9F562313446CD 157s gpgv: Can't check signature: No public key 157s dpkg-source: warning: cannot verify inline signature for ./python-whey_0.1.1-1.dsc: no acceptable signature found 157s autopkgtest [04:31:43]: testing package python-whey version 0.1.1-1 157s autopkgtest [04:31:43]: build not needed 158s autopkgtest [04:31:44]: test python3-whey: preparing testbed 158s Reading package lists... 158s Building dependency tree... 158s Reading state information... 158s Starting pkgProblemResolver with broken count: 0 158s Starting 2 pkgProblemResolver with broken count: 0 158s Done 159s The following NEW packages will be installed: 159s libnsl2 libpython3.12-minimal libpython3.12-stdlib python3-all 159s python3-apeye-core python3-click python3-consolekit python3-deprecation 159s python3-deprecation-alias python3-dist-meta python3-dom-toml 159s python3-domdf-python-tools python3-handy-archives python3-iniconfig 159s python3-mistletoe python3-natsort python3-packaging python3-pluggy 159s python3-pyproject-parser python3-pytest python3-shippinglabel python3-tomli 159s python3-trove-classifiers python3-whey python3.12 python3.12-minimal 159s 0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded. 159s Need to get 7036 kB of archives. 159s After this operation, 28.6 MB of additional disk space will be used. 159s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.12-minimal s390x 3.12.9-1 [836 kB] 159s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12-minimal s390x 3.12.9-1 [2403 kB] 159s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libnsl2 s390x 1.3.0-3build3 [44.1 kB] 159s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.12-stdlib s390x 3.12.9-1 [2071 kB] 159s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12 s390x 3.12.9-1 [671 kB] 159s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.13.1-1~exp2 [898 B] 159s Get:7 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-natsort all 8.0.2-2 [33.8 kB] 159s Get:8 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-domdf-python-tools all 3.9.0-2 [96.1 kB] 159s Get:9 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-apeye-core all 1.1.5-1 [91.1 kB] 159s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-click all 8.2.0-1 [81.9 kB] 159s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 160s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x python3-deprecation all 2.1.0-3 [8806 B] 160s Get:13 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-deprecation-alias all 0.3.3-1 [12.2 kB] 160s Get:14 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-mistletoe all 1.4.0-1 [38.2 kB] 160s Get:15 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-consolekit all 1.7.2-1 [38.5 kB] 160s Get:16 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-handy-archives all 0.2.0-4 [9796 B] 160s Get:17 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-dist-meta all 0.8.1+dfsg-1 [21.7 kB] 160s Get:18 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-tomli s390x 2.2.1-2 [153 kB] 160s Get:19 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-dom-toml all 2.0.0-2 [11.2 kB] 160s Get:20 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 160s Get:21 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 160s Get:22 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-trove-classifiers all 2025.1.15.22-1 [10.9 kB] 160s Get:23 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-shippinglabel all 2.1.0+dfsg-1 [21.7 kB] 160s Get:24 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pyproject-parser all 0.11.1-2 [27.0 kB] 160s Get:25 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.4-1 [252 kB] 160s Get:26 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-whey all 0.1.1-1 [23.7 kB] 160s Fetched 7036 kB in 1s (7376 kB/s) 160s Selecting previously unselected package libpython3.12-minimal:s390x. 160s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55879 files and directories currently installed.) 160s Preparing to unpack .../00-libpython3.12-minimal_3.12.9-1_s390x.deb ... 160s Unpacking libpython3.12-minimal:s390x (3.12.9-1) ... 160s Selecting previously unselected package python3.12-minimal. 160s Preparing to unpack .../01-python3.12-minimal_3.12.9-1_s390x.deb ... 160s Unpacking python3.12-minimal (3.12.9-1) ... 160s Selecting previously unselected package libnsl2:s390x. 160s Preparing to unpack .../02-libnsl2_1.3.0-3build3_s390x.deb ... 160s Unpacking libnsl2:s390x (1.3.0-3build3) ... 160s Selecting previously unselected package libpython3.12-stdlib:s390x. 160s Preparing to unpack .../03-libpython3.12-stdlib_3.12.9-1_s390x.deb ... 160s Unpacking libpython3.12-stdlib:s390x (3.12.9-1) ... 160s Selecting previously unselected package python3.12. 160s Preparing to unpack .../04-python3.12_3.12.9-1_s390x.deb ... 160s Unpacking python3.12 (3.12.9-1) ... 160s Selecting previously unselected package python3-all. 160s Preparing to unpack .../05-python3-all_3.13.1-1~exp2_s390x.deb ... 160s Unpacking python3-all (3.13.1-1~exp2) ... 160s Selecting previously unselected package python3-natsort. 160s Preparing to unpack .../06-python3-natsort_8.0.2-2_all.deb ... 160s Unpacking python3-natsort (8.0.2-2) ... 160s Selecting previously unselected package python3-domdf-python-tools. 160s Preparing to unpack .../07-python3-domdf-python-tools_3.9.0-2_all.deb ... 160s Unpacking python3-domdf-python-tools (3.9.0-2) ... 160s Selecting previously unselected package python3-apeye-core. 160s Preparing to unpack .../08-python3-apeye-core_1.1.5-1_all.deb ... 160s Unpacking python3-apeye-core (1.1.5-1) ... 160s Selecting previously unselected package python3-click. 160s Preparing to unpack .../09-python3-click_8.2.0-1_all.deb ... 160s Unpacking python3-click (8.2.0-1) ... 160s Selecting previously unselected package python3-packaging. 160s Preparing to unpack .../10-python3-packaging_24.2-1_all.deb ... 160s Unpacking python3-packaging (24.2-1) ... 160s Selecting previously unselected package python3-deprecation. 160s Preparing to unpack .../11-python3-deprecation_2.1.0-3_all.deb ... 160s Unpacking python3-deprecation (2.1.0-3) ... 160s Selecting previously unselected package python3-deprecation-alias. 160s Preparing to unpack .../12-python3-deprecation-alias_0.3.3-1_all.deb ... 160s Unpacking python3-deprecation-alias (0.3.3-1) ... 160s Selecting previously unselected package python3-mistletoe. 160s Preparing to unpack .../13-python3-mistletoe_1.4.0-1_all.deb ... 160s Unpacking python3-mistletoe (1.4.0-1) ... 160s Selecting previously unselected package python3-consolekit. 160s Preparing to unpack .../14-python3-consolekit_1.7.2-1_all.deb ... 160s Unpacking python3-consolekit (1.7.2-1) ... 160s Selecting previously unselected package python3-handy-archives. 160s Preparing to unpack .../15-python3-handy-archives_0.2.0-4_all.deb ... 160s Unpacking python3-handy-archives (0.2.0-4) ... 160s Selecting previously unselected package python3-dist-meta. 160s Preparing to unpack .../16-python3-dist-meta_0.8.1+dfsg-1_all.deb ... 160s Unpacking python3-dist-meta (0.8.1+dfsg-1) ... 160s Selecting previously unselected package python3-tomli. 160s Preparing to unpack .../17-python3-tomli_2.2.1-2_s390x.deb ... 160s Unpacking python3-tomli (2.2.1-2) ... 160s Selecting previously unselected package python3-dom-toml. 160s Preparing to unpack .../18-python3-dom-toml_2.0.0-2_all.deb ... 160s Unpacking python3-dom-toml (2.0.0-2) ... 160s Selecting previously unselected package python3-iniconfig. 160s Preparing to unpack .../19-python3-iniconfig_1.1.1-2_all.deb ... 160s Unpacking python3-iniconfig (1.1.1-2) ... 160s Selecting previously unselected package python3-pluggy. 160s Preparing to unpack .../20-python3-pluggy_1.5.0-1_all.deb ... 160s Unpacking python3-pluggy (1.5.0-1) ... 160s Selecting previously unselected package python3-trove-classifiers. 160s Preparing to unpack .../21-python3-trove-classifiers_2025.1.15.22-1_all.deb ... 160s Unpacking python3-trove-classifiers (2025.1.15.22-1) ... 160s Selecting previously unselected package python3-shippinglabel. 160s Preparing to unpack .../22-python3-shippinglabel_2.1.0+dfsg-1_all.deb ... 160s Unpacking python3-shippinglabel (2.1.0+dfsg-1) ... 160s Selecting previously unselected package python3-pyproject-parser. 160s Preparing to unpack .../23-python3-pyproject-parser_0.11.1-2_all.deb ... 160s Unpacking python3-pyproject-parser (0.11.1-2) ... 160s Selecting previously unselected package python3-pytest. 160s Preparing to unpack .../24-python3-pytest_8.3.4-1_all.deb ... 160s Unpacking python3-pytest (8.3.4-1) ... 161s Selecting previously unselected package python3-whey. 161s Preparing to unpack .../25-python3-whey_0.1.1-1_all.deb ... 161s Unpacking python3-whey (0.1.1-1) ... 161s Setting up python3-iniconfig (1.1.1-2) ... 161s Setting up python3-tomli (2.2.1-2) ... 161s Setting up libpython3.12-minimal:s390x (3.12.9-1) ... 161s Setting up python3-handy-archives (0.2.0-4) ... 161s Setting up python3-click (8.2.0-1) ... 161s Setting up python3-natsort (8.0.2-2) ... 161s Setting up python3-packaging (24.2-1) ... 162s Setting up python3-deprecation (2.1.0-3) ... 162s Setting up python3-pluggy (1.5.0-1) ... 162s Setting up python3-mistletoe (1.4.0-1) ... 162s Setting up python3-trove-classifiers (2025.1.15.22-1) ... 162s Setting up libnsl2:s390x (1.3.0-3build3) ... 162s Setting up python3-domdf-python-tools (3.9.0-2) ... 162s Setting up python3.12-minimal (3.12.9-1) ... 163s Setting up libpython3.12-stdlib:s390x (3.12.9-1) ... 163s Setting up python3-dist-meta (0.8.1+dfsg-1) ... 163s Setting up python3-dom-toml (2.0.0-2) ... 163s Setting up python3-pytest (8.3.4-1) ... 164s Setting up python3.12 (3.12.9-1) ... 165s Setting up python3-all (3.13.1-1~exp2) ... 165s Setting up python3-deprecation-alias (0.3.3-1) ... 166s Setting up python3-apeye-core (1.1.5-1) ... 166s Setting up python3-consolekit (1.7.2-1) ... 166s Setting up python3-shippinglabel (2.1.0+dfsg-1) ... 166s Setting up python3-pyproject-parser (0.11.1-2) ... 166s Setting up python3-whey (0.1.1-1) ... 166s Processing triggers for libc-bin (2.40-4ubuntu1) ... 166s Processing triggers for systemd (257.2-3ubuntu1) ... 166s Processing triggers for man-db (2.13.0-1) ... 168s autopkgtest [04:31:54]: test python3-whey: [----------------------- 168s Testing with python3.12: 168s 168s Testing with python3.13: 168s 168s autopkgtest [04:31:54]: test python3-whey: -----------------------] 169s autopkgtest [04:31:55]: test python3-whey: - - - - - - - - - - results - - - - - - - - - - 169s python3-whey PASS 169s autopkgtest [04:31:55]: test pybuild-autopkgtest: preparing testbed 169s Reading package lists... 169s Building dependency tree... 169s Reading state information... 169s Starting pkgProblemResolver with broken count: 0 169s Starting 2 pkgProblemResolver with broken count: 0 169s Done 170s The following NEW packages will be installed: 170s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 170s cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit dh-autoreconf 170s dh-python dh-strip-nondeterminism dwz fonts-font-awesome fonts-lato g++ 170s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 170s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu gettext gir1.2-click-0.4 170s gir1.2-gee-0.8 gir1.2-json-1.0 intltool-debian libarchive-zip-perl libasan8 170s libcc1-0 libclick-0.4-0 libdebhelper-perl libfile-stripnondeterminism-perl 170s libgcc-14-dev libgee-0.8-2 libgomp1 libisl23 libitm1 libjs-jquery 170s libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata 170s libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjs-sphinxdoc 170s libjs-underscore libmpc3 libstdc++-14-dev libtool libubsan1 m4 po-debconf 170s pybuild-plugin-autopkgtest pybuild-plugin-pyproject python3-build 170s python3-click-package python3-coincidence python3-coverage python3-debian 170s python3-editables python3-importlib-metadata python3-installer 170s python3-pyproject-examples python3-pyproject-hooks 170s python3-pyproject-metadata python3-pytest-cov python3-pytest-datadir 170s python3-pytest-regressions python3-pytest-timeout python3-toml python3-wheel 170s sphinx-rtd-theme-common txt2man 170s 0 upgraded, 76 newly installed, 0 to remove and 0 not upgraded. 170s Need to get 59.5 MB of archives. 170s After this operation, 190 MB of additional disk space will be used. 170s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-lato all 2.015-1 [2781 kB] 170s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x m4 s390x 1.4.19-5 [259 kB] 170s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x autoconf all 2.72-3 [382 kB] 170s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x autotools-dev all 20220109.1 [44.9 kB] 170s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x automake all 1:1.17-3 [572 kB] 170s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x autopoint all 0.23.1-1 [619 kB] 170s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 171s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 171s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-17ubuntu1 [9571 kB] 171s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-17ubuntu1 [1030 B] 171s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [5556 B] 171s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.2.0-1ubuntu1 [22.4 kB] 171s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 15-20250213-1ubuntu1 [49.2 kB] 171s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 15-20250213-1ubuntu1 [151 kB] 171s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 15-20250213-1ubuntu1 [31.2 kB] 171s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 15-20250213-1ubuntu1 [2970 kB] 171s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 15-20250213-1ubuntu1 [1213 kB] 171s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-17ubuntu1 [1037 kB] 171s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-17ubuntu1 [18.7 MB] 172s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-17ubuntu1 [526 kB] 172s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [1204 B] 172s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.2.0-1ubuntu1 [5004 B] 172s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-17ubuntu1 [2611 kB] 172s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-17ubuntu1 [11.0 MB] 173s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-17ubuntu1 [21.8 kB] 173s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [956 B] 173s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.2.0-1ubuntu1 [1080 B] 173s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 173s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libdebhelper-perl all 13.24.1ubuntu2 [95.4 kB] 173s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libtool all 2.5.4-3build1 [168 kB] 173s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x dh-autoreconf all 20 [16.1 kB] 173s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] 173s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libfile-stripnondeterminism-perl all 1.14.1-2 [20.3 kB] 173s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x dh-strip-nondeterminism all 1.14.1-2 [5064 B] 173s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x debugedit s390x 1:5.1-2 [50.1 kB] 173s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x dwz s390x 0.15-1build6 [122 kB] 173s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x gettext s390x 0.23.1-1 [1065 kB] 173s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x intltool-debian all 0.35.0+20060710.6 [23.2 kB] 173s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x po-debconf all 1.0.21+nmu1 [233 kB] 173s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x debhelper all 13.24.1ubuntu2 [895 kB] 173s Get:41 http://ftpmaster.internal/ubuntu plucky/universe s390x dh-python all 6.20250108 [117 kB] 173s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 173s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x libgee-0.8-2 s390x 0.20.8-1 [226 kB] 173s Get:44 http://ftpmaster.internal/ubuntu plucky/universe s390x libclick-0.4-0 s390x 0.5.2-2ubuntu4 [68.4 kB] 173s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-gee-0.8 s390x 0.20.8-1 [22.3 kB] 173s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-json-1.0 s390x 1.10.6+ds-1 [9920 B] 173s Get:47 http://ftpmaster.internal/ubuntu plucky/universe s390x gir1.2-click-0.4 s390x 0.5.2-2ubuntu4 [8186 B] 173s Get:48 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 173s Get:49 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-jquery-metadata all 12-4 [6582 B] 173s Get:50 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 173s Get:51 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 173s Get:52 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 173s Get:53 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-sphinxdoc all 8.1.3-4 [30.9 kB] 173s Get:54 http://ftpmaster.internal/ubuntu plucky/universe s390x pybuild-plugin-autopkgtest all 6.20250108 [1744 B] 173s Get:55 http://ftpmaster.internal/ubuntu plucky/main s390x python3-importlib-metadata all 8.6.1-1 [20.7 kB] 173s Get:56 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 173s Get:57 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-toml all 0.10.2-1 [16.5 kB] 173s Get:58 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-wheel all 0.45.1-1 [57.7 kB] 173s Get:59 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-build all 1.2.2-1 [31.0 kB] 173s Get:60 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 173s Get:61 http://ftpmaster.internal/ubuntu plucky/universe s390x pybuild-plugin-pyproject all 6.20250108 [1726 B] 173s Get:62 http://ftpmaster.internal/ubuntu plucky/main s390x python3-debian all 0.1.49ubuntu3 [116 kB] 173s Get:63 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-click-package all 0.5.2-2ubuntu4 [28.6 kB] 173s Get:64 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-datadir all 1.4.1+ds-1 [5386 B] 173s Get:65 http://ftpmaster.internal/ubuntu plucky/main s390x sphinx-rtd-theme-common all 3.0.2+dfsg-2 [1014 kB] 173s Get:66 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-regressions all 2.5.0+ds-2 [39.2 kB] 173s Get:67 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-coincidence all 0.6.6-2 [15.6 kB] 173s Get:68 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-coverage s390x 7.4.4+dfsg1-0ubuntu3 [150 kB] 173s Get:69 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-editables all 0.5-2 [14.4 kB] 173s Get:70 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pyproject-examples all 2023.6.30-4 [10.9 kB] 173s Get:71 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pyproject-metadata all 0.9.0-1 [19.1 kB] 173s Get:72 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-jquery-hotkeys all 0.2.0-1 [13.3 kB] 173s Get:73 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 173s Get:74 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-cov all 5.0.0-1 [21.3 kB] 173s Get:75 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-timeout all 2.3.1-1 [22.1 kB] 173s Get:76 http://ftpmaster.internal/ubuntu plucky/universe s390x txt2man all 1.7.1-4 [34.8 kB] 174s Fetched 59.5 MB in 4s (16.7 MB/s) 174s Selecting previously unselected package fonts-lato. 174s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 57103 files and directories currently installed.) 174s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 174s Unpacking fonts-lato (2.015-1) ... 174s Selecting previously unselected package m4. 174s Preparing to unpack .../01-m4_1.4.19-5_s390x.deb ... 174s Unpacking m4 (1.4.19-5) ... 174s Selecting previously unselected package autoconf. 174s Preparing to unpack .../02-autoconf_2.72-3_all.deb ... 174s Unpacking autoconf (2.72-3) ... 174s Selecting previously unselected package autotools-dev. 174s Preparing to unpack .../03-autotools-dev_20220109.1_all.deb ... 174s Unpacking autotools-dev (20220109.1) ... 174s Selecting previously unselected package automake. 174s Preparing to unpack .../04-automake_1%3a1.17-3_all.deb ... 174s Unpacking automake (1:1.17-3) ... 174s Selecting previously unselected package autopoint. 174s Preparing to unpack .../05-autopoint_0.23.1-1_all.deb ... 174s Unpacking autopoint (0.23.1-1) ... 174s Selecting previously unselected package libisl23:s390x. 174s Preparing to unpack .../06-libisl23_0.27-1_s390x.deb ... 174s Unpacking libisl23:s390x (0.27-1) ... 174s Selecting previously unselected package libmpc3:s390x. 174s Preparing to unpack .../07-libmpc3_1.3.1-1build2_s390x.deb ... 174s Unpacking libmpc3:s390x (1.3.1-1build2) ... 174s Selecting previously unselected package cpp-14-s390x-linux-gnu. 174s Preparing to unpack .../08-cpp-14-s390x-linux-gnu_14.2.0-17ubuntu1_s390x.deb ... 174s Unpacking cpp-14-s390x-linux-gnu (14.2.0-17ubuntu1) ... 174s Selecting previously unselected package cpp-14. 174s Preparing to unpack .../09-cpp-14_14.2.0-17ubuntu1_s390x.deb ... 174s Unpacking cpp-14 (14.2.0-17ubuntu1) ... 174s Selecting previously unselected package cpp-s390x-linux-gnu. 174s Preparing to unpack .../10-cpp-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 174s Unpacking cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 174s Selecting previously unselected package cpp. 174s Preparing to unpack .../11-cpp_4%3a14.2.0-1ubuntu1_s390x.deb ... 174s Unpacking cpp (4:14.2.0-1ubuntu1) ... 174s Selecting previously unselected package libcc1-0:s390x. 174s Preparing to unpack .../12-libcc1-0_15-20250213-1ubuntu1_s390x.deb ... 174s Unpacking libcc1-0:s390x (15-20250213-1ubuntu1) ... 174s Selecting previously unselected package libgomp1:s390x. 174s Preparing to unpack .../13-libgomp1_15-20250213-1ubuntu1_s390x.deb ... 174s Unpacking libgomp1:s390x (15-20250213-1ubuntu1) ... 174s Selecting previously unselected package libitm1:s390x. 174s Preparing to unpack .../14-libitm1_15-20250213-1ubuntu1_s390x.deb ... 174s Unpacking libitm1:s390x (15-20250213-1ubuntu1) ... 174s Selecting previously unselected package libasan8:s390x. 174s Preparing to unpack .../15-libasan8_15-20250213-1ubuntu1_s390x.deb ... 174s Unpacking libasan8:s390x (15-20250213-1ubuntu1) ... 174s Selecting previously unselected package libubsan1:s390x. 174s Preparing to unpack .../16-libubsan1_15-20250213-1ubuntu1_s390x.deb ... 174s Unpacking libubsan1:s390x (15-20250213-1ubuntu1) ... 174s Selecting previously unselected package libgcc-14-dev:s390x. 174s Preparing to unpack .../17-libgcc-14-dev_14.2.0-17ubuntu1_s390x.deb ... 174s Unpacking libgcc-14-dev:s390x (14.2.0-17ubuntu1) ... 174s Selecting previously unselected package gcc-14-s390x-linux-gnu. 174s Preparing to unpack .../18-gcc-14-s390x-linux-gnu_14.2.0-17ubuntu1_s390x.deb ... 174s Unpacking gcc-14-s390x-linux-gnu (14.2.0-17ubuntu1) ... 175s Selecting previously unselected package gcc-14. 175s Preparing to unpack .../19-gcc-14_14.2.0-17ubuntu1_s390x.deb ... 175s Unpacking gcc-14 (14.2.0-17ubuntu1) ... 175s Selecting previously unselected package gcc-s390x-linux-gnu. 175s Preparing to unpack .../20-gcc-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 175s Unpacking gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 175s Selecting previously unselected package gcc. 175s Preparing to unpack .../21-gcc_4%3a14.2.0-1ubuntu1_s390x.deb ... 175s Unpacking gcc (4:14.2.0-1ubuntu1) ... 175s Selecting previously unselected package libstdc++-14-dev:s390x. 175s Preparing to unpack .../22-libstdc++-14-dev_14.2.0-17ubuntu1_s390x.deb ... 175s Unpacking libstdc++-14-dev:s390x (14.2.0-17ubuntu1) ... 175s Selecting previously unselected package g++-14-s390x-linux-gnu. 175s Preparing to unpack .../23-g++-14-s390x-linux-gnu_14.2.0-17ubuntu1_s390x.deb ... 175s Unpacking g++-14-s390x-linux-gnu (14.2.0-17ubuntu1) ... 175s Selecting previously unselected package g++-14. 175s Preparing to unpack .../24-g++-14_14.2.0-17ubuntu1_s390x.deb ... 175s Unpacking g++-14 (14.2.0-17ubuntu1) ... 175s Selecting previously unselected package g++-s390x-linux-gnu. 175s Preparing to unpack .../25-g++-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 175s Unpacking g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 175s Selecting previously unselected package g++. 175s Preparing to unpack .../26-g++_4%3a14.2.0-1ubuntu1_s390x.deb ... 175s Unpacking g++ (4:14.2.0-1ubuntu1) ... 175s Selecting previously unselected package build-essential. 175s Preparing to unpack .../27-build-essential_12.10ubuntu1_s390x.deb ... 175s Unpacking build-essential (12.10ubuntu1) ... 175s Selecting previously unselected package libdebhelper-perl. 175s Preparing to unpack .../28-libdebhelper-perl_13.24.1ubuntu2_all.deb ... 175s Unpacking libdebhelper-perl (13.24.1ubuntu2) ... 175s Selecting previously unselected package libtool. 175s Preparing to unpack .../29-libtool_2.5.4-3build1_all.deb ... 175s Unpacking libtool (2.5.4-3build1) ... 175s Selecting previously unselected package dh-autoreconf. 175s Preparing to unpack .../30-dh-autoreconf_20_all.deb ... 175s Unpacking dh-autoreconf (20) ... 175s Selecting previously unselected package libarchive-zip-perl. 175s Preparing to unpack .../31-libarchive-zip-perl_1.68-1_all.deb ... 175s Unpacking libarchive-zip-perl (1.68-1) ... 175s Selecting previously unselected package libfile-stripnondeterminism-perl. 175s Preparing to unpack .../32-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... 175s Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... 175s Selecting previously unselected package dh-strip-nondeterminism. 175s Preparing to unpack .../33-dh-strip-nondeterminism_1.14.1-2_all.deb ... 175s Unpacking dh-strip-nondeterminism (1.14.1-2) ... 175s Selecting previously unselected package debugedit. 175s Preparing to unpack .../34-debugedit_1%3a5.1-2_s390x.deb ... 175s Unpacking debugedit (1:5.1-2) ... 175s Selecting previously unselected package dwz. 175s Preparing to unpack .../35-dwz_0.15-1build6_s390x.deb ... 175s Unpacking dwz (0.15-1build6) ... 175s Selecting previously unselected package gettext. 175s Preparing to unpack .../36-gettext_0.23.1-1_s390x.deb ... 175s Unpacking gettext (0.23.1-1) ... 175s Selecting previously unselected package intltool-debian. 175s Preparing to unpack .../37-intltool-debian_0.35.0+20060710.6_all.deb ... 175s Unpacking intltool-debian (0.35.0+20060710.6) ... 175s Selecting previously unselected package po-debconf. 175s Preparing to unpack .../38-po-debconf_1.0.21+nmu1_all.deb ... 175s Unpacking po-debconf (1.0.21+nmu1) ... 175s Selecting previously unselected package debhelper. 175s Preparing to unpack .../39-debhelper_13.24.1ubuntu2_all.deb ... 175s Unpacking debhelper (13.24.1ubuntu2) ... 175s Selecting previously unselected package dh-python. 175s Preparing to unpack .../40-dh-python_6.20250108_all.deb ... 175s Unpacking dh-python (6.20250108) ... 175s Selecting previously unselected package fonts-font-awesome. 175s Preparing to unpack .../41-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 175s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 175s Selecting previously unselected package libgee-0.8-2:s390x. 175s Preparing to unpack .../42-libgee-0.8-2_0.20.8-1_s390x.deb ... 175s Unpacking libgee-0.8-2:s390x (0.20.8-1) ... 175s Selecting previously unselected package libclick-0.4-0:s390x. 175s Preparing to unpack .../43-libclick-0.4-0_0.5.2-2ubuntu4_s390x.deb ... 175s Unpacking libclick-0.4-0:s390x (0.5.2-2ubuntu4) ... 175s Selecting previously unselected package gir1.2-gee-0.8:s390x. 175s Preparing to unpack .../44-gir1.2-gee-0.8_0.20.8-1_s390x.deb ... 175s Unpacking gir1.2-gee-0.8:s390x (0.20.8-1) ... 175s Selecting previously unselected package gir1.2-json-1.0:s390x. 175s Preparing to unpack .../45-gir1.2-json-1.0_1.10.6+ds-1_s390x.deb ... 175s Unpacking gir1.2-json-1.0:s390x (1.10.6+ds-1) ... 175s Selecting previously unselected package gir1.2-click-0.4:s390x. 175s Preparing to unpack .../46-gir1.2-click-0.4_0.5.2-2ubuntu4_s390x.deb ... 175s Unpacking gir1.2-click-0.4:s390x (0.5.2-2ubuntu4) ... 175s Selecting previously unselected package libjs-jquery. 175s Preparing to unpack .../47-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 175s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 175s Selecting previously unselected package libjs-jquery-metadata. 175s Preparing to unpack .../48-libjs-jquery-metadata_12-4_all.deb ... 175s Unpacking libjs-jquery-metadata (12-4) ... 175s Selecting previously unselected package libjs-jquery-tablesorter. 175s Preparing to unpack .../49-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 175s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 175s Selecting previously unselected package libjs-jquery-throttle-debounce. 175s Preparing to unpack .../50-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 175s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 175s Selecting previously unselected package libjs-underscore. 175s Preparing to unpack .../51-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 175s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 175s Selecting previously unselected package libjs-sphinxdoc. 175s Preparing to unpack .../52-libjs-sphinxdoc_8.1.3-4_all.deb ... 175s Unpacking libjs-sphinxdoc (8.1.3-4) ... 175s Selecting previously unselected package pybuild-plugin-autopkgtest. 175s Preparing to unpack .../53-pybuild-plugin-autopkgtest_6.20250108_all.deb ... 175s Unpacking pybuild-plugin-autopkgtest (6.20250108) ... 175s Selecting previously unselected package python3-importlib-metadata. 175s Preparing to unpack .../54-python3-importlib-metadata_8.6.1-1_all.deb ... 175s Unpacking python3-importlib-metadata (8.6.1-1) ... 175s Selecting previously unselected package python3-pyproject-hooks. 175s Preparing to unpack .../55-python3-pyproject-hooks_1.2.0-1_all.deb ... 175s Unpacking python3-pyproject-hooks (1.2.0-1) ... 175s Selecting previously unselected package python3-toml. 175s Preparing to unpack .../56-python3-toml_0.10.2-1_all.deb ... 175s Unpacking python3-toml (0.10.2-1) ... 175s Selecting previously unselected package python3-wheel. 176s Preparing to unpack .../57-python3-wheel_0.45.1-1_all.deb ... 176s Unpacking python3-wheel (0.45.1-1) ... 176s Selecting previously unselected package python3-build. 176s Preparing to unpack .../58-python3-build_1.2.2-1_all.deb ... 176s Unpacking python3-build (1.2.2-1) ... 176s Selecting previously unselected package python3-installer. 176s Preparing to unpack .../59-python3-installer_0.7.0+dfsg1-3_all.deb ... 176s Unpacking python3-installer (0.7.0+dfsg1-3) ... 176s Selecting previously unselected package pybuild-plugin-pyproject. 176s Preparing to unpack .../60-pybuild-plugin-pyproject_6.20250108_all.deb ... 176s Unpacking pybuild-plugin-pyproject (6.20250108) ... 176s Selecting previously unselected package python3-debian. 176s Preparing to unpack .../61-python3-debian_0.1.49ubuntu3_all.deb ... 176s Unpacking python3-debian (0.1.49ubuntu3) ... 176s Selecting previously unselected package python3-click-package. 176s Preparing to unpack .../62-python3-click-package_0.5.2-2ubuntu4_all.deb ... 176s Unpacking python3-click-package (0.5.2-2ubuntu4) ... 176s Selecting previously unselected package python3-pytest-datadir. 176s Preparing to unpack .../63-python3-pytest-datadir_1.4.1+ds-1_all.deb ... 176s Unpacking python3-pytest-datadir (1.4.1+ds-1) ... 176s Selecting previously unselected package sphinx-rtd-theme-common. 176s Preparing to unpack .../64-sphinx-rtd-theme-common_3.0.2+dfsg-2_all.deb ... 176s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 176s Selecting previously unselected package python3-pytest-regressions. 176s Preparing to unpack .../65-python3-pytest-regressions_2.5.0+ds-2_all.deb ... 176s Unpacking python3-pytest-regressions (2.5.0+ds-2) ... 176s Selecting previously unselected package python3-coincidence. 176s Preparing to unpack .../66-python3-coincidence_0.6.6-2_all.deb ... 176s Unpacking python3-coincidence (0.6.6-2) ... 176s Selecting previously unselected package python3-coverage. 176s Preparing to unpack .../67-python3-coverage_7.4.4+dfsg1-0ubuntu3_s390x.deb ... 176s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 176s Selecting previously unselected package python3-editables. 176s Preparing to unpack .../68-python3-editables_0.5-2_all.deb ... 176s Unpacking python3-editables (0.5-2) ... 176s Selecting previously unselected package python3-pyproject-examples. 176s Preparing to unpack .../69-python3-pyproject-examples_2023.6.30-4_all.deb ... 176s Unpacking python3-pyproject-examples (2023.6.30-4) ... 176s Selecting previously unselected package python3-pyproject-metadata. 176s Preparing to unpack .../70-python3-pyproject-metadata_0.9.0-1_all.deb ... 176s Unpacking python3-pyproject-metadata (0.9.0-1) ... 176s Selecting previously unselected package libjs-jquery-hotkeys. 176s Preparing to unpack .../71-libjs-jquery-hotkeys_0.2.0-1_all.deb ... 176s Unpacking libjs-jquery-hotkeys (0.2.0-1) ... 176s Selecting previously unselected package libjs-jquery-isonscreen. 176s Preparing to unpack .../72-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 176s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 176s Selecting previously unselected package python3-pytest-cov. 176s Preparing to unpack .../73-python3-pytest-cov_5.0.0-1_all.deb ... 176s Unpacking python3-pytest-cov (5.0.0-1) ... 176s Selecting previously unselected package python3-pytest-timeout. 176s Preparing to unpack .../74-python3-pytest-timeout_2.3.1-1_all.deb ... 176s Unpacking python3-pytest-timeout (2.3.1-1) ... 176s Selecting previously unselected package txt2man. 176s Preparing to unpack .../75-txt2man_1.7.1-4_all.deb ... 176s Unpacking txt2man (1.7.1-4) ... 176s Setting up dh-python (6.20250108) ... 176s Setting up fonts-lato (2.015-1) ... 176s Setting up python3-importlib-metadata (8.6.1-1) ... 176s Setting up python3-pytest-timeout (2.3.1-1) ... 176s Setting up txt2man (1.7.1-4) ... 176s Setting up python3-pyproject-metadata (0.9.0-1) ... 176s Setting up libarchive-zip-perl (1.68-1) ... 176s Setting up python3-pytest-datadir (1.4.1+ds-1) ... 176s Setting up libdebhelper-perl (13.24.1ubuntu2) ... 176s Setting up m4 (1.4.19-5) ... 176s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 177s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 177s Setting up libgomp1:s390x (15-20250213-1ubuntu1) ... 177s Setting up python3-editables (0.5-2) ... 177s Setting up python3-wheel (0.45.1-1) ... 177s Setting up autotools-dev (20220109.1) ... 177s Setting up python3-pyproject-hooks (1.2.0-1) ... 177s Setting up python3-debian (0.1.49ubuntu3) ... 178s Setting up gir1.2-gee-0.8:s390x (0.20.8-1) ... 178s Setting up libmpc3:s390x (1.3.1-1build2) ... 178s Setting up libgee-0.8-2:s390x (0.20.8-1) ... 178s Setting up autopoint (0.23.1-1) ... 178s Setting up python3-toml (0.10.2-1) ... 178s Setting up python3-installer (0.7.0+dfsg1-3) ... 178s Setting up autoconf (2.72-3) ... 178s Setting up libubsan1:s390x (15-20250213-1ubuntu1) ... 178s Setting up dwz (0.15-1build6) ... 178s Setting up libasan8:s390x (15-20250213-1ubuntu1) ... 178s Setting up debugedit (1:5.1-2) ... 178s Setting up gir1.2-json-1.0:s390x (1.10.6+ds-1) ... 178s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 178s Setting up libjs-jquery-hotkeys (0.2.0-1) ... 178s Setting up libisl23:s390x (0.27-1) ... 178s Setting up python3-build (1.2.2-1) ... 178s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 178s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 178s Setting up libcc1-0:s390x (15-20250213-1ubuntu1) ... 178s Setting up libitm1:s390x (15-20250213-1ubuntu1) ... 178s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 178s Setting up automake (1:1.17-3) ... 178s update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode 178s Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... 178s Setting up libclick-0.4-0:s390x (0.5.2-2ubuntu4) ... 178s Setting up gettext (0.23.1-1) ... 178s Setting up pybuild-plugin-pyproject (6.20250108) ... 178s Setting up intltool-debian (0.35.0+20060710.6) ... 178s Setting up libjs-jquery-metadata (12-4) ... 178s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 178s Setting up libjs-sphinxdoc (8.1.3-4) ... 178s Setting up cpp-14-s390x-linux-gnu (14.2.0-17ubuntu1) ... 178s Setting up cpp-14 (14.2.0-17ubuntu1) ... 178s Setting up dh-strip-nondeterminism (1.14.1-2) ... 178s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 178s Setting up gir1.2-click-0.4:s390x (0.5.2-2ubuntu4) ... 178s Setting up libgcc-14-dev:s390x (14.2.0-17ubuntu1) ... 178s Setting up python3-click-package (0.5.2-2ubuntu4) ... 178s Setting up libstdc++-14-dev:s390x (14.2.0-17ubuntu1) ... 178s Setting up cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 178s Setting up po-debconf (1.0.21+nmu1) ... 178s Setting up python3-pytest-cov (5.0.0-1) ... 178s Setting up gcc-14-s390x-linux-gnu (14.2.0-17ubuntu1) ... 178s Setting up gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 178s Setting up python3-pytest-regressions (2.5.0+ds-2) ... 178s Setting up python3-coincidence (0.6.6-2) ... 179s Setting up g++-14-s390x-linux-gnu (14.2.0-17ubuntu1) ... 179s Setting up cpp (4:14.2.0-1ubuntu1) ... 179s Setting up python3-pyproject-examples (2023.6.30-4) ... 179s Setting up g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 179s Setting up gcc-14 (14.2.0-17ubuntu1) ... 179s Setting up g++-14 (14.2.0-17ubuntu1) ... 179s Setting up libtool (2.5.4-3build1) ... 179s Setting up gcc (4:14.2.0-1ubuntu1) ... 179s Setting up dh-autoreconf (20) ... 179s Setting up g++ (4:14.2.0-1ubuntu1) ... 179s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 179s Setting up build-essential (12.10ubuntu1) ... 179s Setting up debhelper (13.24.1ubuntu2) ... 179s Setting up pybuild-plugin-autopkgtest (6.20250108) ... 179s Processing triggers for install-info (7.1.1-1) ... 179s Processing triggers for libc-bin (2.40-4ubuntu1) ... 179s Processing triggers for man-db (2.13.0-1) ... 181s autopkgtest [04:32:07]: test pybuild-autopkgtest: pybuild-autopkgtest 181s autopkgtest [04:32:07]: test pybuild-autopkgtest: [----------------------- 181s pybuild-autopkgtest 182s I: pybuild base:311: cd /tmp/autopkgtest.R1hm4M/autopkgtest_tmp/build; python3.12 -m pytest tests 183s ============================= test session starts ============================== 183s platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0 183s Test session started at 04:32:08 183s rootdir: /tmp/autopkgtest.R1hm4M/autopkgtest_tmp/build 183s configfile: pyproject.toml 183s plugins: cov-5.0.0, regressions-2.5.0+ds, datadir-1.4.1+ds, timeout-2.3.1, typeguard-4.4.1 183s collected 370 items 183s 183s tests/test_build.py ssssssssssssssss...sss.........ssss......sssss.... [ 13%] 183s tests/test_builder_methods.py s. [ 14%] 184s tests/test_cli.py FFFFFFFFFFFFFFFFFFssFFssssssssssssss.sssssssssssssssss [ 28%] 184s sssssssssssssssssssssssssssssssssssssssFF [ 39%] 184s tests/test_config.py ................................................... [ 53%] 184s ............s......................s..ss.............s..ss.............. [ 72%] 184s .............................. [ 81%] 185s tests/test_foreman.py ................... [ 86%] 185s tests/test_pep517_backend.py ..................ss..... [ 92%] 185s tests/test_utils.py ssssssssssssssssssssssssss [100%] 185s 185s =================================== FAILURES =================================== 185s _______________________ test_cli_build_success[minimal] ________________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_minimal0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a16990> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff939b1250> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_minimal0/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _____________________ test_cli_build_success[description] ______________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"\ndescription = "Lovely Spam! Wonderful Spam!"' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_descrip0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a78710> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93a79dc0> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_descrip0/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s ___________________ test_cli_build_success[requires-python] ____________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nrequires-python = ">=3.8"' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_require0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a7a3c0> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93a7a7b0> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_require0/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _______________ test_cli_build_success[requires-python_complex] ________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_require1') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a7b800> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93a7b9b0> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_require1/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _______________________ test_cli_build_success[keywords] _______________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nkeywords = ["egg", "bacon", "sausage", "tomatoes", "Lobster Thermidor"]\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_keyword0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a4e060> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93a4dc10> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_keyword0/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _______________________ test_cli_build_success[authors] ________________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nauthors = [\n {email = "hi@pradyunsg.me"},\n {name = "Tzu-Ping Chung"}\n]\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_authors0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a4fbc0> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93a4d040> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_authors0/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _____________________ test_cli_build_success[maintainers] ______________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nmaintainers = [\n {name = "Brett Cannon", email = "brett@python.org"}\n]\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_maintai0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a18b30> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93957d70> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_maintai0/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _____________________ test_cli_build_success[classifiers] ______________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nclassifiers = [\n "Development Status :: 4 - Beta",\n "Programming Language :: Python"\n]\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_classif0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a79af0> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93a26cf0> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_classif0/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _____________________ test_cli_build_success[dependencies] _____________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"\ndependencies = [\n "httpx",\n "gidgethub[httpx]>4.0.0",\n "django>2.1; os_name != \'nt\'",\n "django>2.0; os_name == \'nt\'"\n]\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_depende0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a4f3b0> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93a4f5f0> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_depende0/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s ________________ test_cli_build_success[optional-dependencies] _________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"\n\n[project.optional-dependencies]\ntest = [\n "pytest < 5.0.0",\n "pytest-cov[all]",\n \'matplotlib>=3.0.0; platform_machine != "aarch64" or python_version > "3.6"\',\n]\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_optiona0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a4ed50> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93a4d670> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_optiona0/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _________________________ test_cli_build_success[urls] _________________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"\n\n[project.urls]\nhomepage = "example.com"\ndocumentation = "readthedocs.org"\nrepository = "github.com"\nchangelog = "github.com/me/spam/blob/master/CHANGELOG.md"\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_urls_0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff9373a900> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93738bc0> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...FO\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_urls_0/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _____________________ test_cli_build_success[entry_points] _____________________ 185s 185s config = '[project]\nname = "spam"\nversion = "2020.0.0"\n\n[project.scripts]\nspam-cli = "spam:main_cli"\n\n[project.gui-scrip..."]\ntomatoes = "spam:main_tomatoes"\n\n[project.entry-points."flake8.extension"]\nSXL = "flake8_sphinx_links:Plugin"\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_entry_p0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff9373aae0> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s pytest.param(MINIMAL_CONFIG, id="minimal"), 185s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 185s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 185s pytest.param( 185s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 185s id="requires-python_complex" 185s ), 185s pytest.param(KEYWORDS, id="keywords"), 185s pytest.param(AUTHORS, id="authors"), 185s pytest.param(MAINTAINERS, id="maintainers"), 185s pytest.param(CLASSIFIERS, id="classifiers"), 185s pytest.param(DEPENDENCIES, id="dependencies"), 185s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 185s pytest.param(URLS, id="urls"), 185s pytest.param(ENTRY_POINTS, id="entry_points"), 185s ] 185s ) 185s def test_cli_build_success( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "spam").mkdir() 185s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:71: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93738cb0> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_cli_build_success_entry_p0/spam-2020.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _______________________ test_build_complete[COMPLETE_A] ________________________ 185s 185s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "whey"\nversion = "2021.0.0"\ndesc...,]\npython-implementations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_build_complete_COMPLETE_A0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a63980> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s # pytest.param(COMPLETE_PROJECT_A, id="COMPLETE_PROJECT_A"), 185s pytest.param(COMPLETE_A, id="COMPLETE_A"), 185s pytest.param(COMPLETE_B, id="COMPLETE_B"), 185s ] 185s ) 185s def test_build_complete( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "whey").mkdir() 185s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 185s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 185s (tmp_pathplus / "LICENSE").write_clean("This is the license") 185s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:140: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93b74b60> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_build_complete_COMPLETE_A0/whey-2021.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _______________________ test_build_complete[COMPLETE_B] ________________________ 185s 185s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "Whey"\nversion = "2021.0.0"\ndesc...ntations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\npackage = "whey"\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_build_complete_COMPLETE_B0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a4ddc0> 185s 185s @pytest.mark.parametrize( 185s "config", 185s [ 185s # pytest.param(COMPLETE_PROJECT_A, id="COMPLETE_PROJECT_A"), 185s pytest.param(COMPLETE_A, id="COMPLETE_A"), 185s pytest.param(COMPLETE_B, id="COMPLETE_B"), 185s ] 185s ) 185s def test_build_complete( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "whey").mkdir() 185s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 185s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 185s (tmp_pathplus / "LICENSE").write_clean("This is the license") 185s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 185s 185s tests/test_cli.py:140: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93a4dca0> 185s runner = 185s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_build_complete_COMPLETE_B0/whey-2021.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s ____________________ test_build_sdist_complete[COMPLETE_A] _____________________ 185s 185s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "whey"\nversion = "2021.0.0"\ndesc...,]\npython-implementations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_build_sdist_complete_COMP0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93738fe0> 185s 185s @pytest.mark.parametrize( 185s "config", [ 185s pytest.param(COMPLETE_A, id="COMPLETE_A"), 185s pytest.param(COMPLETE_B, id="COMPLETE_B"), 185s ] 185s ) 185s def test_build_sdist_complete( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "whey").mkdir() 185s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 185s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 185s (tmp_pathplus / "LICENSE").write_clean("This is the license") 185s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke( 185s main, args=["--sdist", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 185s ) 185s 185s tests/test_cli.py:178: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93738080> 185s runner = 185s stdout_bytes = b'Using the following builder:\n sdist: whey.builder.SDistBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-0/test_b...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_build_sdist_complete_COMP0/whey-2021.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s ____________________ test_build_sdist_complete[COMPLETE_B] _____________________ 185s 185s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "Whey"\nversion = "2021.0.0"\ndesc...ntations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\npackage = "whey"\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_build_sdist_complete_COMP1') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff9373b7a0> 185s 185s @pytest.mark.parametrize( 185s "config", [ 185s pytest.param(COMPLETE_A, id="COMPLETE_A"), 185s pytest.param(COMPLETE_B, id="COMPLETE_B"), 185s ] 185s ) 185s def test_build_sdist_complete( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "whey").mkdir() 185s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 185s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 185s (tmp_pathplus / "LICENSE").write_clean("This is the license") 185s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke( 185s main, args=["--sdist", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 185s ) 185s 185s tests/test_cli.py:178: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff937397c0> 185s runner = 185s stdout_bytes = b'Using the following builder:\n sdist: whey.builder.SDistBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-0/test_b...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-0/test_build_sdist_complete_COMP1/whey-2021.0.0.tar.gz\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s ____________________ test_build_wheel_complete[COMPLETE_A] _____________________ 185s 185s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "whey"\nversion = "2021.0.0"\ndesc...,]\npython-implementations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_build_wheel_complete_COMP0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff9373ddf0> 185s 185s @pytest.mark.parametrize( 185s "config", [ 185s pytest.param(COMPLETE_A, id="COMPLETE_A"), 185s pytest.param(COMPLETE_B, id="COMPLETE_B"), 185s ] 185s ) 185s def test_build_wheel_complete( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "whey").mkdir() 185s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 185s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 185s (tmp_pathplus / "LICENSE").write_clean("This is the license") 185s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke( 185s main, args=["--wheel", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 185s ) 185s 185s tests/test_cli.py:215: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff9373e420> 185s runner = 185s stdout_bytes = b'Using the following builder:\n wheel: whey.builder.WheelBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-0/test_b...CORD\nWheel created at /tmp/pytest-of-ubuntu/pytest-0/test_build_wheel_complete_COMP0/whey-2021.0.0-py3-none-any.whl\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s ____________________ test_build_wheel_complete[COMPLETE_B] _____________________ 185s 185s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "Whey"\nversion = "2021.0.0"\ndesc...ntations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\npackage = "whey"\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_build_wheel_complete_COMP1') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff9373c830> 185s 185s @pytest.mark.parametrize( 185s "config", [ 185s pytest.param(COMPLETE_A, id="COMPLETE_A"), 185s pytest.param(COMPLETE_B, id="COMPLETE_B"), 185s ] 185s ) 185s def test_build_wheel_complete( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "whey").mkdir() 185s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 185s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 185s (tmp_pathplus / "LICENSE").write_clean("This is the license") 185s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke( 185s main, args=["--wheel", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 185s ) 185s 185s tests/test_cli.py:215: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff9373f860> 185s runner = 185s stdout_bytes = b'Using the following builder:\n wheel: whey.builder.WheelBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-0/test_b...CORD\nWheel created at /tmp/pytest-of-ubuntu/pytest-0/test_build_wheel_complete_COMP1/whey-2021.0.0-py3-none-any.whl\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s ____________________ test_build_binary_complete[COMPLETE_A] ____________________ 185s 185s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "whey"\nversion = "2021.0.0"\ndesc...,]\npython-implementations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_build_binary_complete_COM0') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93bc4a70> 185s 185s @pytest.mark.parametrize( 185s "config", [ 185s pytest.param(COMPLETE_A, id="COMPLETE_A"), 185s pytest.param(COMPLETE_B, id="COMPLETE_B"), 185s ] 185s ) 185s def test_build_binary_complete( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s 185s # TODO: e.g. conda, RPM, DEB 185s 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "whey").mkdir() 185s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 185s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 185s (tmp_pathplus / "LICENSE").write_clean("This is the license") 185s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke( 185s main, args=["--binary", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 185s ) 185s 185s tests/test_cli.py:293: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93957d70> 185s runner = 185s stdout_bytes = b'Using the following builder:\n binary: whey.builder.WheelBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-0/test_...CORD\nWheel created at /tmp/pytest-of-ubuntu/pytest-0/test_build_binary_complete_COM0/whey-2021.0.0-py3-none-any.whl\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s ____________________ test_build_binary_complete[COMPLETE_B] ____________________ 185s 185s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "Whey"\nversion = "2021.0.0"\ndesc...ntations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\npackage = "whey"\n' 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_build_binary_complete_COM1') 185s advanced_data_regression = 185s capsys = <_pytest.capture.CaptureFixture object at 0x3ff93a4c920> 185s 185s @pytest.mark.parametrize( 185s "config", [ 185s pytest.param(COMPLETE_A, id="COMPLETE_A"), 185s pytest.param(COMPLETE_B, id="COMPLETE_B"), 185s ] 185s ) 185s def test_build_binary_complete( 185s config: str, 185s tmp_pathplus: PathPlus, 185s advanced_data_regression: AdvancedDataRegressionFixture, 185s capsys: "CaptureFixture[str]", 185s ): 185s 185s # TODO: e.g. conda, RPM, DEB 185s 185s (tmp_pathplus / "pyproject.toml").write_clean(config) 185s (tmp_pathplus / "whey").mkdir() 185s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 185s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 185s (tmp_pathplus / "LICENSE").write_clean("This is the license") 185s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 185s 185s data: Dict[str, Any] = {} 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke( 185s main, args=["--binary", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 185s ) 185s 185s tests/test_cli.py:293: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93a4dc40> 185s runner = 185s stdout_bytes = b'Using the following builder:\n binary: whey.builder.WheelBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-0/test_...CORD\nWheel created at /tmp/pytest-of-ubuntu/pytest-0/test_build_binary_complete_COM1/whey-2021.0.0-py3-none-any.whl\n' 185s stderr_bytes = b'', exit_code = 0, exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s ___________________________ test_show_builders_error ___________________________ 185s 185s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-0/test_show_builders_error0') 185s advanced_file_regression = 185s 185s def test_show_builders_error( 185s tmp_pathplus: PathPlus, 185s advanced_file_regression: AdvancedFileRegressionFixture, 185s ): 185s (tmp_pathplus / "pyproject.toml").write_clean(MINIMAL_CONFIG) 185s 185s with in_directory(tmp_pathplus): 185s runner = CliRunner() 185s > result: Result = runner.invoke( 185s main, 185s args=["--builder", "foo", "--show-builders", "--no-colour"], 185s ) 185s 185s tests/test_cli.py:623: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff9373e780> 185s runner = 185s stdout_bytes = b'' 185s stderr_bytes = b"Usage: main [OPTIONS] [PROJECT]\nTry 'main -h' for help.\n\nError: Unknown builder 'foo'. \nIs it registered as an entry point under 'whey.builder'?\n" 185s exit_code = 2, exception = SystemExit(2) 185s exc_info = (, SystemExit(2), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s _________________________________ test_version _________________________________ 185s 185s def test_version(): 185s 185s runner = CliRunner() 185s 185s > result = runner.invoke(main, catch_exceptions=False, args="--version") 185s 185s tests/test_cli.py:636: 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 185s return Result._from_click_result(result) 185s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 185s return cls( 185s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185s 185s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ff93a4dd60> 185s runner = 185s stdout_bytes = b'whey version 0.1.1\n', stderr_bytes = b'', exit_code = 0 185s exception = None 185s exc_info = (, SystemExit(0), ) 185s 185s def __init__( 185s self, 185s runner: click.testing.CliRunner, 185s stdout_bytes: bytes, 185s stderr_bytes: Optional[bytes], 185s exit_code: int, 185s exception: Optional[BaseException], 185s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 185s ) -> None: 185s 185s if _click_major >= 8: 185s > super().__init__( 185s runner=runner, 185s stdout_bytes=stdout_bytes, 185s stderr_bytes=stderr_bytes, 185s exit_code=exit_code, 185s exception=exception, 185s exc_info=exc_info, 185s return_value=None, 185s ) 185s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 185s 185s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 185s =============================== warnings summary =============================== 185s ../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:831 185s /usr/lib/python3/dist-packages/_pytest/config/__init__.py:831: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: coincidence 185s self.import_plugin(import_spec) 185s 185s ../../../../usr/lib/python3/dist-packages/consolekit/commands.py:67 185s /usr/lib/python3/dist-packages/consolekit/commands.py:67: DeprecationWarning: 'parser.split_opt' is deprecated and will be removed in Click 9.0. The old parser is available in 'optparse'. 185s from click.parser import split_opt 185s 185s ../../../../usr/lib/python3/dist-packages/consolekit/options.py:380 185s /usr/lib/python3/dist-packages/consolekit/options.py:380: DeprecationWarning: 'OptionParser' is deprecated and will be removed in Click 9.0. The old parser is available in 'optparse'. 185s def add_to_parser(self, parser: click.OptionParser, ctx: click.Context) -> Any: 185s 185s ../../../../usr/lib/python3/dist-packages/consolekit/options.py:447 185s /usr/lib/python3/dist-packages/consolekit/options.py:447: DeprecationWarning: The '__version__' attribute is deprecated and will be removed in Click 9.1. Use feature detection or 'importlib.metadata.version("click")' instead. 185s if int(click.__version__.split('.')[0]) == 7: # pragma: nocover 185s 185s ../../../../usr/lib/python3/dist-packages/consolekit/__init__.py:148 185s /usr/lib/python3/dist-packages/consolekit/__init__.py:148: DeprecationWarning: 'OptionParser' is deprecated and will be removed in Click 9.0. The old parser is available in 'optparse'. 185s click.OptionParser.__module__ = "click" 185s 185s ../../../../usr/lib/python3/dist-packages/consolekit/testing.py:73 185s /usr/lib/python3/dist-packages/consolekit/testing.py:73: DeprecationWarning: The '__version__' attribute is deprecated and will be removed in Click 9.1. Use feature detection or 'importlib.metadata.version("click")' instead. 185s _click_major = int(click.__version__.split('.')[0]) 185s 185s ../../../../usr/lib/python3/dist-packages/consolekit/testing.py:213 185s /usr/lib/python3/dist-packages/consolekit/testing.py:213: DeprecationWarning: 'BaseCommand' is deprecated and will be removed in Click 9.0. Use 'Command' instead. 185s cli: click.BaseCommand, 185s 185s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 185s =========================== short test summary info ============================ 185s FAILED tests/test_cli.py::test_cli_build_success[minimal] - TypeError: Result... 185s FAILED tests/test_cli.py::test_cli_build_success[description] - TypeError: Re... 185s FAILED tests/test_cli.py::test_cli_build_success[requires-python] - TypeError... 185s FAILED tests/test_cli.py::test_cli_build_success[requires-python_complex] - T... 185s FAILED tests/test_cli.py::test_cli_build_success[keywords] - TypeError: Resul... 185s FAILED tests/test_cli.py::test_cli_build_success[authors] - TypeError: Result... 185s FAILED tests/test_cli.py::test_cli_build_success[maintainers] - TypeError: Re... 185s FAILED tests/test_cli.py::test_cli_build_success[classifiers] - TypeError: Re... 185s FAILED tests/test_cli.py::test_cli_build_success[dependencies] - TypeError: R... 185s FAILED tests/test_cli.py::test_cli_build_success[optional-dependencies] - Typ... 185s FAILED tests/test_cli.py::test_cli_build_success[urls] - TypeError: Result.__... 185s FAILED tests/test_cli.py::test_cli_build_success[entry_points] - TypeError: R... 185s FAILED tests/test_cli.py::test_build_complete[COMPLETE_A] - TypeError: Result... 185s FAILED tests/test_cli.py::test_build_complete[COMPLETE_B] - TypeError: Result... 185s FAILED tests/test_cli.py::test_build_sdist_complete[COMPLETE_A] - TypeError: ... 185s FAILED tests/test_cli.py::test_build_sdist_complete[COMPLETE_B] - TypeError: ... 185s FAILED tests/test_cli.py::test_build_wheel_complete[COMPLETE_A] - TypeError: ... 185s FAILED tests/test_cli.py::test_build_wheel_complete[COMPLETE_B] - TypeError: ... 185s FAILED tests/test_cli.py::test_build_binary_complete[COMPLETE_A] - TypeError:... 185s FAILED tests/test_cli.py::test_build_binary_complete[COMPLETE_B] - TypeError:... 185s FAILED tests/test_cli.py::test_show_builders_error - TypeError: Result.__init... 185s FAILED tests/test_cli.py::test_version - TypeError: Result.__init__() missing... 185s =========== 22 failed, 212 passed, 136 skipped, 7 warnings in 3.05s ============ 185s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.R1hm4M/autopkgtest_tmp/build; python3.12 -m pytest tests 185s I: pybuild base:311: cd /tmp/autopkgtest.R1hm4M/autopkgtest_tmp/build; python3.13 -m pytest tests 186s ============================= test session starts ============================== 186s platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 186s Test session started at 04:32:11 186s rootdir: /tmp/autopkgtest.R1hm4M/autopkgtest_tmp/build 186s configfile: pyproject.toml 186s plugins: cov-5.0.0, regressions-2.5.0+ds, datadir-1.4.1+ds, timeout-2.3.1, typeguard-4.4.1 186s collected 370 items 186s 186s tests/test_build.py ssssssssssssssss...sss.........ssss......sssss.... [ 13%] 186s tests/test_builder_methods.py s. [ 14%] 187s tests/test_cli.py FFFFFFFFFFFFFFFFFFssFFssssssssssssss.sssssssssssssssss [ 28%] 187s sssssssssssssssssssssssssssssssssssssssFF [ 39%] 187s tests/test_config.py ................................................... [ 53%] 187s ............s......................s..ss.............s..ss.............. [ 72%] 187s .............................. [ 81%] 187s tests/test_foreman.py ................... [ 86%] 188s tests/test_pep517_backend.py ..................ss..... [ 92%] 188s tests/test_utils.py ssssssssssssssssssssssssss [100%] 188s 188s =================================== FAILURES =================================== 188s _______________________ test_cli_build_success[minimal] ________________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_minimal0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa522a6d0> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa4f170e0> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_minimal0/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _____________________ test_cli_build_success[description] ______________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"\ndescription = "Lovely Spam! Wonderful Spam!"' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_descrip0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa5232850> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa513de50> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_descrip0/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s ___________________ test_cli_build_success[requires-python] ____________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nrequires-python = ">=3.8"' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_require0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa52eb110> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa513c7d0> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_require0/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _______________ test_cli_build_success[requires-python_complex] ________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_require1') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4edd0a0> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa4efc770> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_require1/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _______________________ test_cli_build_success[keywords] _______________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nkeywords = ["egg", "bacon", "sausage", "tomatoes", "Lobster Thermidor"]\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_keyword0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa525dfd0> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa4efce90> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_keyword0/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _______________________ test_cli_build_success[authors] ________________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nauthors = [\n {email = "hi@pradyunsg.me"},\n {name = "Tzu-Ping Chung"}\n]\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_authors0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4f23150> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa51a6690> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_authors0/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _____________________ test_cli_build_success[maintainers] ______________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nmaintainers = [\n {name = "Brett Cannon", email = "brett@python.org"}\n]\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_maintai0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa52b2820> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa52788d0> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_maintai0/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _____________________ test_cli_build_success[classifiers] ______________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"\nclassifiers = [\n "Development Status :: 4 - Beta",\n "Programming Language :: Python"\n]\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_classif0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4ef58d0> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa50bbce0> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_classif0/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _____________________ test_cli_build_success[dependencies] _____________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"\ndependencies = [\n "httpx",\n "gidgethub[httpx]>4.0.0",\n "django>2.1; os_name != \'nt\'",\n "django>2.0; os_name == \'nt\'"\n]\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_depende0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4ef6740> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa5034e50> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_depende0/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s ________________ test_cli_build_success[optional-dependencies] _________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"\n\n[project.optional-dependencies]\ntest = [\n "pytest < 5.0.0",\n "pytest-cov[all]",\n \'matplotlib>=3.0.0; platform_machine != "aarch64" or python_version > "3.6"\',\n]\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_optiona0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4ef67b0> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa5037850> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_optiona0/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _________________________ test_cli_build_success[urls] _________________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"\n\n[project.urls]\nhomepage = "example.com"\ndocumentation = "readthedocs.org"\nrepository = "github.com"\nchangelog = "github.com/me/spam/blob/master/CHANGELOG.md"\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_urls_0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa52b39a0> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa52a8c80> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...FO\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_urls_0/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _____________________ test_cli_build_success[entry_points] _____________________ 188s 188s config = '[project]\nname = "spam"\nversion = "2020.0.0"\n\n[project.scripts]\nspam-cli = "spam:main_cli"\n\n[project.gui-scrip..."]\ntomatoes = "spam:main_tomatoes"\n\n[project.entry-points."flake8.extension"]\nSXL = "flake8_sphinx_links:Plugin"\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_entry_p0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa51080c0> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s pytest.param(MINIMAL_CONFIG, id="minimal"), 188s pytest.param(f'{MINIMAL_CONFIG}\ndescription = "Lovely Spam! Wonderful Spam!"', id="description"), 188s pytest.param(f'{MINIMAL_CONFIG}\nrequires-python = ">=3.8"', id="requires-python"), 188s pytest.param( 188s f'{MINIMAL_CONFIG}\nrequires-python = ">=2.7,!=3.0.*,!=3.2.*"', 188s id="requires-python_complex" 188s ), 188s pytest.param(KEYWORDS, id="keywords"), 188s pytest.param(AUTHORS, id="authors"), 188s pytest.param(MAINTAINERS, id="maintainers"), 188s pytest.param(CLASSIFIERS, id="classifiers"), 188s pytest.param(DEPENDENCIES, id="dependencies"), 188s pytest.param(OPTIONAL_DEPENDENCIES, id="optional-dependencies"), 188s pytest.param(URLS, id="urls"), 188s pytest.param(ENTRY_POINTS, id="entry_points"), 188s ] 188s ) 188s def test_cli_build_success( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "spam").mkdir() 188s (tmp_pathplus / "spam" / "__init__.py").write_clean("print('hello world)") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:71: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa52a95e0> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_cli_build_success_entry_p0/spam-2020.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _______________________ test_build_complete[COMPLETE_A] ________________________ 188s 188s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "whey"\nversion = "2021.0.0"\ndesc...,]\npython-implementations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_build_complete_COMPLETE_A0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa51a37e0> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s # pytest.param(COMPLETE_PROJECT_A, id="COMPLETE_PROJECT_A"), 188s pytest.param(COMPLETE_A, id="COMPLETE_A"), 188s pytest.param(COMPLETE_B, id="COMPLETE_B"), 188s ] 188s ) 188s def test_build_complete( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "whey").mkdir() 188s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 188s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 188s (tmp_pathplus / "LICENSE").write_clean("This is the license") 188s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:140: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa527f690> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_build_complete_COMPLETE_A0/whey-2021.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _______________________ test_build_complete[COMPLETE_B] ________________________ 188s 188s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "Whey"\nversion = "2021.0.0"\ndesc...ntations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\npackage = "whey"\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_build_complete_COMPLETE_B0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4ef4980> 188s 188s @pytest.mark.parametrize( 188s "config", 188s [ 188s # pytest.param(COMPLETE_PROJECT_A, id="COMPLETE_PROJECT_A"), 188s pytest.param(COMPLETE_A, id="COMPLETE_A"), 188s pytest.param(COMPLETE_B, id="COMPLETE_B"), 188s ] 188s ) 188s def test_build_complete( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "whey").mkdir() 188s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 188s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 188s (tmp_pathplus / "LICENSE").write_clean("This is the license") 188s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke(main, args=["--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)]) 188s 188s tests/test_cli.py:140: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa527f5b0> 188s runner = 188s stdout_bytes = b'Using the following builders:\n sdist: whey.builder.SDistBuilder\n wheel: whey.builder.WheelBuilder\n\nBuildin...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_build_complete_COMPLETE_B0/whey-2021.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s ____________________ test_build_sdist_complete[COMPLETE_A] _____________________ 188s 188s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "whey"\nversion = "2021.0.0"\ndesc...,]\npython-implementations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_build_sdist_complete_COMP0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4ef6eb0> 188s 188s @pytest.mark.parametrize( 188s "config", [ 188s pytest.param(COMPLETE_A, id="COMPLETE_A"), 188s pytest.param(COMPLETE_B, id="COMPLETE_B"), 188s ] 188s ) 188s def test_build_sdist_complete( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "whey").mkdir() 188s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 188s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 188s (tmp_pathplus / "LICENSE").write_clean("This is the license") 188s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke( 188s main, args=["--sdist", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 188s ) 188s 188s tests/test_cli.py:178: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa4ece410> 188s runner = 188s stdout_bytes = b'Using the following builder:\n sdist: whey.builder.SDistBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-1/test_b...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_build_sdist_complete_COMP0/whey-2021.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s ____________________ test_build_sdist_complete[COMPLETE_B] _____________________ 188s 188s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "Whey"\nversion = "2021.0.0"\ndesc...ntations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\npackage = "whey"\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_build_sdist_complete_COMP1') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4ef7770> 188s 188s @pytest.mark.parametrize( 188s "config", [ 188s pytest.param(COMPLETE_A, id="COMPLETE_A"), 188s pytest.param(COMPLETE_B, id="COMPLETE_B"), 188s ] 188s ) 188s def test_build_sdist_complete( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "whey").mkdir() 188s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 188s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 188s (tmp_pathplus / "LICENSE").write_clean("This is the license") 188s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke( 188s main, args=["--sdist", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 188s ) 188s 188s tests/test_cli.py:178: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa5269310> 188s runner = 188s stdout_bytes = b'Using the following builder:\n sdist: whey.builder.SDistBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-1/test_b...\nSource distribution created at /tmp/pytest-of-ubuntu/pytest-1/test_build_sdist_complete_COMP1/whey-2021.0.0.tar.gz\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s ____________________ test_build_wheel_complete[COMPLETE_A] _____________________ 188s 188s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "whey"\nversion = "2021.0.0"\ndesc...,]\npython-implementations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_build_wheel_complete_COMP0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4ef7b60> 188s 188s @pytest.mark.parametrize( 188s "config", [ 188s pytest.param(COMPLETE_A, id="COMPLETE_A"), 188s pytest.param(COMPLETE_B, id="COMPLETE_B"), 188s ] 188s ) 188s def test_build_wheel_complete( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "whey").mkdir() 188s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 188s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 188s (tmp_pathplus / "LICENSE").write_clean("This is the license") 188s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke( 188s main, args=["--wheel", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 188s ) 188s 188s tests/test_cli.py:215: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa5269b50> 188s runner = 188s stdout_bytes = b'Using the following builder:\n wheel: whey.builder.WheelBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-1/test_b...CORD\nWheel created at /tmp/pytest-of-ubuntu/pytest-1/test_build_wheel_complete_COMP0/whey-2021.0.0-py3-none-any.whl\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s ____________________ test_build_wheel_complete[COMPLETE_B] _____________________ 188s 188s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "Whey"\nversion = "2021.0.0"\ndesc...ntations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\npackage = "whey"\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_build_wheel_complete_COMP1') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4ef5240> 188s 188s @pytest.mark.parametrize( 188s "config", [ 188s pytest.param(COMPLETE_A, id="COMPLETE_A"), 188s pytest.param(COMPLETE_B, id="COMPLETE_B"), 188s ] 188s ) 188s def test_build_wheel_complete( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "whey").mkdir() 188s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 188s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 188s (tmp_pathplus / "LICENSE").write_clean("This is the license") 188s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke( 188s main, args=["--wheel", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 188s ) 188s 188s tests/test_cli.py:215: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa4ec7ee0> 188s runner = 188s stdout_bytes = b'Using the following builder:\n wheel: whey.builder.WheelBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-1/test_b...CORD\nWheel created at /tmp/pytest-of-ubuntu/pytest-1/test_build_wheel_complete_COMP1/whey-2021.0.0-py3-none-any.whl\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s ____________________ test_build_binary_complete[COMPLETE_A] ____________________ 188s 188s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "whey"\nversion = "2021.0.0"\ndesc...,]\npython-implementations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_build_binary_complete_COM0') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4ef7bd0> 188s 188s @pytest.mark.parametrize( 188s "config", [ 188s pytest.param(COMPLETE_A, id="COMPLETE_A"), 188s pytest.param(COMPLETE_B, id="COMPLETE_B"), 188s ] 188s ) 188s def test_build_binary_complete( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s 188s # TODO: e.g. conda, RPM, DEB 188s 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "whey").mkdir() 188s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 188s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 188s (tmp_pathplus / "LICENSE").write_clean("This is the license") 188s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke( 188s main, args=["--binary", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 188s ) 188s 188s tests/test_cli.py:293: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa4d40d60> 188s runner = 188s stdout_bytes = b'Using the following builder:\n binary: whey.builder.WheelBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-1/test_...CORD\nWheel created at /tmp/pytest-of-ubuntu/pytest-1/test_build_binary_complete_COM0/whey-2021.0.0-py3-none-any.whl\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s ____________________ test_build_binary_complete[COMPLETE_B] ____________________ 188s 188s config = '[build-system]\nrequires = [ "whey",]\nbuild-backend = "whey"\n\n[project]\nname = "Whey"\nversion = "2021.0.0"\ndesc...ntations = [ "CPython", "PyPy",]\nplatforms = [ "Windows", "macOS", "Linux",]\nlicense-key = "MIT"\npackage = "whey"\n' 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_build_binary_complete_COM1') 188s advanced_data_regression = 188s capsys = <_pytest.capture.CaptureFixture object at 0x3ffa4d68980> 188s 188s @pytest.mark.parametrize( 188s "config", [ 188s pytest.param(COMPLETE_A, id="COMPLETE_A"), 188s pytest.param(COMPLETE_B, id="COMPLETE_B"), 188s ] 188s ) 188s def test_build_binary_complete( 188s config: str, 188s tmp_pathplus: PathPlus, 188s advanced_data_regression: AdvancedDataRegressionFixture, 188s capsys: "CaptureFixture[str]", 188s ): 188s 188s # TODO: e.g. conda, RPM, DEB 188s 188s (tmp_pathplus / "pyproject.toml").write_clean(config) 188s (tmp_pathplus / "whey").mkdir() 188s (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") 188s (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") 188s (tmp_pathplus / "LICENSE").write_clean("This is the license") 188s (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") 188s 188s data: Dict[str, Any] = {} 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke( 188s main, args=["--binary", "--verbose", "--no-colour", "--out-dir", str(tmp_pathplus)] 188s ) 188s 188s tests/test_cli.py:293: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa4d81950> 188s runner = 188s stdout_bytes = b'Using the following builder:\n binary: whey.builder.WheelBuilder\n\nBuilding /tmp/pytest-of-ubuntu/pytest-1/test_...CORD\nWheel created at /tmp/pytest-of-ubuntu/pytest-1/test_build_binary_complete_COM1/whey-2021.0.0-py3-none-any.whl\n' 188s stderr_bytes = b'', exit_code = 0, exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s ___________________________ test_show_builders_error ___________________________ 188s 188s tmp_pathplus = PosixPathPlus('/tmp/pytest-of-ubuntu/pytest-1/test_show_builders_error0') 188s advanced_file_regression = 188s 188s def test_show_builders_error( 188s tmp_pathplus: PathPlus, 188s advanced_file_regression: AdvancedFileRegressionFixture, 188s ): 188s (tmp_pathplus / "pyproject.toml").write_clean(MINIMAL_CONFIG) 188s 188s with in_directory(tmp_pathplus): 188s runner = CliRunner() 188s > result: Result = runner.invoke( 188s main, 188s args=["--builder", "foo", "--show-builders", "--no-colour"], 188s ) 188s 188s tests/test_cli.py:623: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa5232a30> 188s runner = 188s stdout_bytes = b'' 188s stderr_bytes = b"Usage: main [OPTIONS] [PROJECT]\nTry 'main -h' for help.\n\nError: Unknown builder 'foo'. \nIs it registered as an entry point under 'whey.builder'?\n" 188s exit_code = 2, exception = SystemExit(2) 188s exc_info = (, SystemExit(2), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s _________________________________ test_version _________________________________ 188s 188s def test_version(): 188s 188s runner = CliRunner() 188s 188s > result = runner.invoke(main, catch_exceptions=False, args="--version") 188s 188s tests/test_cli.py:636: 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s /usr/lib/python3/dist-packages/consolekit/testing.py:254: in invoke 188s return Result._from_click_result(result) 188s /usr/lib/python3/dist-packages/consolekit/testing.py:152: in _from_click_result 188s return cls( 188s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188s 188s self = <[AttributeError("'Result' object has no attribute 'exception'") raised in repr()] Result object at 0x3ffa4edf2f0> 188s runner = 188s stdout_bytes = b'whey version 0.1.1\n', stderr_bytes = b'', exit_code = 0 188s exception = None 188s exc_info = (, SystemExit(0), ) 188s 188s def __init__( 188s self, 188s runner: click.testing.CliRunner, 188s stdout_bytes: bytes, 188s stderr_bytes: Optional[bytes], 188s exit_code: int, 188s exception: Optional[BaseException], 188s exc_info: Optional[Tuple[Type[BaseException], BaseException, TracebackType]] = None, 188s ) -> None: 188s 188s if _click_major >= 8: 188s > super().__init__( 188s runner=runner, 188s stdout_bytes=stdout_bytes, 188s stderr_bytes=stderr_bytes, 188s exit_code=exit_code, 188s exception=exception, 188s exc_info=exc_info, 188s return_value=None, 188s ) 188s E TypeError: Result.__init__() missing 1 required positional argument: 'output_bytes' 188s 188s /usr/lib/python3/dist-packages/consolekit/testing.py:107: TypeError 188s =============================== warnings summary =============================== 188s ../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:831 188s /usr/lib/python3/dist-packages/_pytest/config/__init__.py:831: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: coincidence 188s self.import_plugin(import_spec) 188s 188s ../../../../usr/lib/python3/dist-packages/consolekit/commands.py:67 188s /usr/lib/python3/dist-packages/consolekit/commands.py:67: DeprecationWarning: 'parser.split_opt' is deprecated and will be removed in Click 9.0. The old parser is available in 'optparse'. 188s from click.parser import split_opt 188s 188s ../../../../usr/lib/python3/dist-packages/consolekit/options.py:380 188s /usr/lib/python3/dist-packages/consolekit/options.py:380: DeprecationWarning: 'OptionParser' is deprecated and will be removed in Click 9.0. The old parser is available in 'optparse'. 188s def add_to_parser(self, parser: click.OptionParser, ctx: click.Context) -> Any: 188s 188s ../../../../usr/lib/python3/dist-packages/consolekit/options.py:447 188s /usr/lib/python3/dist-packages/consolekit/options.py:447: DeprecationWarning: The '__version__' attribute is deprecated and will be removed in Click 9.1. Use feature detection or 'importlib.metadata.version("click")' instead. 188s if int(click.__version__.split('.')[0]) == 7: # pragma: nocover 188s 188s ../../../../usr/lib/python3/dist-packages/consolekit/__init__.py:148 188s /usr/lib/python3/dist-packages/consolekit/__init__.py:148: DeprecationWarning: 'OptionParser' is deprecated and will be removed in Click 9.0. The old parser is available in 'optparse'. 188s click.OptionParser.__module__ = "click" 188s 188s ../../../../usr/lib/python3/dist-packages/consolekit/testing.py:73 188s /usr/lib/python3/dist-packages/consolekit/testing.py:73: DeprecationWarning: The '__version__' attribute is deprecated and will be removed in Click 9.1. Use feature detection or 'importlib.metadata.version("click")' instead. 188s _click_major = int(click.__version__.split('.')[0]) 188s 188s ../../../../usr/lib/python3/dist-packages/consolekit/testing.py:213 188s /usr/lib/python3/dist-packages/consolekit/testing.py:213: DeprecationWarning: 'BaseCommand' is deprecated and will be removed in Click 9.0. Use 'Command' instead. 188s cli: click.BaseCommand, 188s 188s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 188s =========================== short test summary info ============================ 188s FAILED tests/test_cli.py::test_cli_build_success[minimal] - TypeError: Result... 188s FAILED tests/test_cli.py::test_cli_build_success[description] - TypeError: Re... 188s FAILED tests/test_cli.py::test_cli_build_success[requires-python] - TypeError... 188s FAILED tests/test_cli.py::test_cli_build_success[requires-python_complex] - T... 188s FAILED tests/test_cli.py::test_cli_build_success[keywords] - TypeError: Resul... 188s FAILED tests/test_cli.py::test_cli_build_success[authors] - TypeError: Result... 188s FAILED tests/test_cli.py::test_cli_build_success[maintainers] - TypeError: Re... 188s FAILED tests/test_cli.py::test_cli_build_success[classifiers] - TypeError: Re... 188s FAILED tests/test_cli.py::test_cli_build_success[dependencies] - TypeError: R... 188s FAILED tests/test_cli.py::test_cli_build_success[optional-dependencies] - Typ... 188s FAILED tests/test_cli.py::test_cli_build_success[urls] - TypeError: Result.__... 188s FAILED tests/test_cli.py::test_cli_build_success[entry_points] - TypeError: R... 188s FAILED tests/test_cli.py::test_build_complete[COMPLETE_A] - TypeError: Result... 188s FAILED tests/test_cli.py::test_build_complete[COMPLETE_B] - TypeError: Result... 188s FAILED tests/test_cli.py::test_build_sdist_complete[COMPLETE_A] - TypeError: ... 188s FAILED tests/test_cli.py::test_build_sdist_complete[COMPLETE_B] - TypeError: ... 188s FAILED tests/test_cli.py::test_build_wheel_complete[COMPLETE_A] - TypeError: ... 188s FAILED tests/test_cli.py::test_build_wheel_complete[COMPLETE_B] - TypeError: ... 188s FAILED tests/test_cli.py::test_build_binary_complete[COMPLETE_A] - TypeError:... 188s FAILED tests/test_cli.py::test_build_binary_complete[COMPLETE_B] - TypeError:... 188s FAILED tests/test_cli.py::test_show_builders_error - TypeError: Result.__init... 188s FAILED tests/test_cli.py::test_version - TypeError: Result.__init__() missing... 188s =========== 22 failed, 212 passed, 136 skipped, 7 warnings in 2.20s ============ 188s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.R1hm4M/autopkgtest_tmp/build; python3.13 -m pytest tests 188s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13 188s make: *** [/tmp/1ix4g3Zcpi/run:4: pybuild-autopkgtest] Error 25 188s pybuild-autopkgtest: error: /tmp/1ix4g3Zcpi/run pybuild-autopkgtest returned exit code 2 188s autopkgtest [04:32:14]: test pybuild-autopkgtest: -----------------------] 189s autopkgtest [04:32:15]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 189s pybuild-autopkgtest FAIL non-zero exit status 25 189s autopkgtest [04:32:15]: @@@@@@@@@@@@@@@@@@@@ summary 189s python3-whey PASS 189s pybuild-autopkgtest FAIL non-zero exit status 25 206s nova [W] Using flock in prodstack6-s390x 206s Creating nova instance adt-plucky-s390x-python-whey-20250219-042906-juju-7f2275-prod-proposed-migration-environment-20-6d7b3cab-6629-485c-97d4-5e24297183bf from image adt/ubuntu-plucky-s390x-server-20250218.img (UUID d4b3949f-1d31-4fe6-9e99-080adec067af)... 206s nova [W] Timed out waiting for 41fc5d57-d009-4801-a6c9-a4777ee90b93 to get deleted.