0s autopkgtest [10:50:42]: starting date and time: 2024-03-20 10:50:42+0000
0s autopkgtest [10:50:42]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps
0s autopkgtest [10:50:42]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.2zrstwd_/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:git,src:curl,src:gnutls28,src:libpsl,src:nettle --apt-upgrade poetry --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=git/1:2.43.0-1ubuntu5 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos01-arm64-16.secgroup --name adt-noble-arm64-poetry-20240320-102355-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -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,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://us.ports.ubuntu.com/ubuntu-ports/
99s autopkgtest [10:52:21]: testbed dpkg architecture: arm64
99s autopkgtest [10:52:21]: testbed apt version: 2.7.12
99s autopkgtest [10:52:21]: @@@@@@@@@@@@@@@@@@@@ test bed setup
100s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB]
100s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3813 kB]
101s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B]
101s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [52.7 kB]
101s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [497 kB]
101s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [670 kB]
101s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B]
101s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [41.7 kB]
101s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B]
101s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4235 kB]
101s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B]
101s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [56.7 kB]
101s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B]
106s Fetched 9501 kB in 3s (3727 kB/s)
107s Reading package lists...
110s Reading package lists...
111s Building dependency tree...
111s Reading state information...
111s Calculating upgrade...
112s The following packages have been kept back:
112s curl
112s The following packages will be upgraded:
112s ubuntu-minimal ubuntu-standard
112s 2 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
112s Need to get 21.5 kB of archives.
112s After this operation, 0 B of additional disk space will be used.
112s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-minimal arm64 1.536build1 [10.7 kB]
112s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-standard arm64 1.536build1 [10.7 kB]
113s Fetched 21.5 kB in 0s (95.0 kB/s)
114s (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 ... 75850 files and directories currently installed.)
114s Preparing to unpack .../ubuntu-minimal_1.536build1_arm64.deb ...
114s Unpacking ubuntu-minimal (1.536build1) over (1.536) ...
114s Preparing to unpack .../ubuntu-standard_1.536build1_arm64.deb ...
114s Unpacking ubuntu-standard (1.536build1) over (1.536) ...
114s Setting up ubuntu-minimal (1.536build1) ...
114s Setting up ubuntu-standard (1.536build1) ...
114s Reading package lists...
114s Building dependency tree...
114s Reading state information...
114s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
115s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease
115s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease
115s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease
115s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease
118s Reading package lists...
118s Reading package lists...
118s Building dependency tree...
118s Reading state information...
119s Calculating upgrade...
120s The following packages have been kept back:
120s curl
120s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
120s Reading package lists...
120s Building dependency tree...
120s Reading state information...
121s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
124s autopkgtest [10:52:46]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024
124s autopkgtest [10:52:46]: @@@@@@@@@@@@@@@@@@@@ apt-source poetry
126s Get:1 http://ftpmaster.internal/ubuntu noble/universe poetry 1.7.1+dfsg-1 (dsc) [3263 B]
126s Get:2 http://ftpmaster.internal/ubuntu noble/universe poetry 1.7.1+dfsg-1 (tar) [2624 kB]
126s Get:3 http://ftpmaster.internal/ubuntu noble/universe poetry 1.7.1+dfsg-1 (diff) [7344 B]
126s gpgv: Signature made Fri Nov 24 13:13:39 2023 UTC
126s gpgv: using RSA key 13796755BBC72BB8ABE2AEB5FA9DEC5DE11C63F1
126s gpgv: issuer "eamanu@debian.org"
126s gpgv: Can't check signature: No public key
126s dpkg-source: warning: cannot verify inline signature for ./poetry_1.7.1+dfsg-1.dsc: no acceptable signature found
127s autopkgtest [10:52:49]: testing package poetry version 1.7.1+dfsg-1
127s autopkgtest [10:52:49]: build not needed
128s autopkgtest [10:52:50]: test pytest: preparing testbed
133s Reading package lists...
134s Building dependency tree...
134s Reading state information...
134s Starting pkgProblemResolver with broken count: 0
134s Starting 2 pkgProblemResolver with broken count: 0
134s Done
135s The following additional packages will be installed:
135s cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu curl gcc gcc-13
135s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu git git-man libasan8
135s libatomic1 libblas3 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev
135s libcurl3t64-gnutls libcurl4t64 liberror-perl libexpat1-dev libgcc-13-dev
135s libgfortran5 libgnutls30t64 libgomp1 libhogweed6t64 libhwasan0 libisl23
135s libitm1 libjs-jquery libjs-sphinxdoc libjs-underscore liblapack3 liblsan0
135s libmpc3 libnettle8t64 libnsl-dev libpsl5t64 libpython3-all-dev
135s libpython3-dev libpython3.12 libpython3.12-dev libssl3t64 libtirpc-dev
135s libtsan2 libubsan1 linux-libc-dev python3-all python3-all-dev python3-build
135s python3-cachecontrol python3-cachy python3-cleo python3-crashtest
135s python3-deepdiff python3-dev python3-distlib python3-dulwich python3-execnet
135s python3-fastjsonschema python3-filelock python3-httpretty
135s python3-importlib-metadata python3-iniconfig python3-installer
135s python3-jaraco.classes python3-jeepney python3-jsonpickle python3-keyring
135s python3-lockfile python3-more-itertools python3-msgpack python3-numpy
135s python3-ordered-set python3-packaging python3-pexpect python3-pip-whl
135s python3-pkginfo python3-platformdirs python3-pluggy python3-poetry
135s python3-poetry-core python3-ptyprocess python3-pylev python3-pyproject-hooks
135s python3-pytest python3-pytest-mock python3-pytest-xdist
135s python3-requests-toolbelt python3-secretstorage python3-setuptools-whl
135s python3-shellingham python3-toml python3-tomlkit python3-trove-classifiers
135s python3-venv python3-virtualenv python3-wheel python3-wheel-whl python3-zipp
135s python3.11-venv python3.12-dev python3.12-venv rpcsvc-proto zlib1g-dev
135s Suggested packages:
135s cpp-doc gcc-13-locales cpp-13-doc gcc-multilib manpages-dev autoconf
136s automake libtool flex bison gdb gcc-doc gcc-13-doc gdb-aarch64-linux-gnu
136s git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb
136s git-cvs git-mediawiki git-svn glibc-doc gnutls-bin python3-pip
136s python-build-doc python-cleo-doc python3-gpg execnet-doc
136s python-fastjsonschema-doc python-installer-doc python-jsonpickle-doc
136s python3-simplejson gir1.2-secret-1 gnome-keyring libkf5wallet-bin
136s python3-keyrings.alt python3-shtab python-lockfile-doc gfortran
136s python-pexpect-doc python-pytest-mock-doc gnome-keyring | libkf5wallet-bin
136s | keepassxc python-secretstorage-doc
136s Recommended packages:
136s manpages manpages-dev libc-devtools javascript-common python3-clevercsv
136s python3-fastimport python-pkginfo-doc build-essential
136s The following packages will be REMOVED:
136s libcurl3-gnutls libcurl4 libgnutls30 libhogweed6 libnettle8 libpsl5 libssl3
136s The following NEW packages will be installed:
136s autopkgtest-satdep cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu
136s gcc gcc-13 gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu git git-man
136s libasan8 libatomic1 libblas3 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev
136s libcurl3t64-gnutls libcurl4t64 liberror-perl libexpat1-dev libgcc-13-dev
136s libgfortran5 libgnutls30t64 libgomp1 libhogweed6t64 libhwasan0 libisl23
136s libitm1 libjs-jquery libjs-sphinxdoc libjs-underscore liblapack3 liblsan0
136s libmpc3 libnettle8t64 libnsl-dev libpsl5t64 libpython3-all-dev
136s libpython3-dev libpython3.12 libpython3.12-dev libssl3t64 libtirpc-dev
136s libtsan2 libubsan1 linux-libc-dev python3-all python3-all-dev python3-build
136s python3-cachecontrol python3-cachy python3-cleo python3-crashtest
136s python3-deepdiff python3-dev python3-distlib python3-dulwich python3-execnet
136s python3-fastjsonschema python3-filelock python3-httpretty
136s python3-importlib-metadata python3-iniconfig python3-installer
136s python3-jaraco.classes python3-jeepney python3-jsonpickle python3-keyring
136s python3-lockfile python3-more-itertools python3-msgpack python3-numpy
136s python3-ordered-set python3-packaging python3-pexpect python3-pip-whl
136s python3-pkginfo python3-platformdirs python3-pluggy python3-poetry
136s python3-poetry-core python3-ptyprocess python3-pylev python3-pyproject-hooks
136s python3-pytest python3-pytest-mock python3-pytest-xdist
136s python3-requests-toolbelt python3-secretstorage python3-setuptools-whl
136s python3-shellingham python3-toml python3-tomlkit python3-trove-classifiers
136s python3-venv python3-virtualenv python3-wheel python3-wheel-whl python3-zipp
136s python3.11-venv python3.12-dev python3.12-venv rpcsvc-proto zlib1g-dev
136s The following packages will be upgraded:
136s curl
136s 1 upgraded, 106 newly installed, 7 to remove and 0 not upgraded.
136s Need to get 78.8 MB/78.8 MB of archives.
136s After this operation, 282 MB of additional disk space will be used.
136s Get:1 /tmp/autopkgtest.qLoeLi/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [828 B]
136s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libnettle8t64 arm64 3.9.1-2.2 [192 kB]
136s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libhogweed6t64 arm64 3.9.1-2.2 [199 kB]
136s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgnutls30t64 arm64 3.8.3-1.1ubuntu2 [1042 kB]
136s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu2 [1793 kB]
136s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcurl4t64 arm64 8.5.0-2ubuntu7 [332 kB]
136s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 curl arm64 8.5.0-2ubuntu7 [222 kB]
136s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpsl5t64 arm64 0.21.2-1.1 [57.4 kB]
136s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcurl3t64-gnutls arm64 8.5.0-2ubuntu7 [327 kB]
136s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB]
136s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB]
136s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.3 MB]
137s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13 arm64 13.2.0-17ubuntu2 [1028 B]
137s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B]
137s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB]
137s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libcc1-0 arm64 14-20240303-1ubuntu1 [44.7 kB]
137s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240303-1ubuntu1 [144 kB]
137s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libitm1 arm64 14-20240303-1ubuntu1 [27.7 kB]
137s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libatomic1 arm64 14-20240303-1ubuntu1 [11.4 kB]
137s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libasan8 arm64 14-20240303-1ubuntu1 [2919 kB]
137s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 liblsan0 arm64 14-20240303-1ubuntu1 [1282 kB]
137s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libtsan2 arm64 14-20240303-1ubuntu1 [2687 kB]
137s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libubsan1 arm64 14-20240303-1ubuntu1 [1151 kB]
137s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libhwasan0 arm64 14-20240303-1ubuntu1 [1597 kB]
137s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 libgcc-13-dev arm64 13.2.0-17ubuntu2 [2464 kB]
137s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [20.1 MB]
137s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13 arm64 13.2.0-17ubuntu2 [467 kB]
137s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B]
137s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B]
137s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 liberror-perl all 0.17029-2 [25.6 kB]
137s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 git-man all 1:2.43.0-1ubuntu5 [1099 kB]
137s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 git arm64 1:2.43.0-1ubuntu5 [3765 kB]
138s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 libblas3 arm64 3.12.0-3 [143 kB]
138s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB]
138s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB]
138s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB]
138s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libtirpc-dev arm64 1.3.4+ds-1build1 [232 kB]
138s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB]
138s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB]
138s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB]
138s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libexpat1-dev arm64 2.6.0-1 [128 kB]
138s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libgfortran5 arm64 14-20240303-1ubuntu1 [444 kB]
138s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB]
138s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB]
138s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libjs-sphinxdoc all 7.2.6-4 [149 kB]
138s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 liblapack3 arm64 3.12.0-3 [2241 kB]
138s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libpython3.12 arm64 3.12.2-1 [2291 kB]
138s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB]
138s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libpython3.12-dev arm64 3.12.2-1 [5408 kB]
138s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 libpython3-dev arm64 3.12.1-0ubuntu2 [9998 B]
138s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 libpython3-all-dev arm64 3.12.1-0ubuntu2 [908 B]
138s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 python3-all arm64 3.12.1-0ubuntu2 [906 B]
138s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 python3.12-dev arm64 3.12.2-1 [505 kB]
138s Get:54 http://ftpmaster.internal/ubuntu noble/main arm64 python3-dev arm64 3.12.1-0ubuntu2 [26.7 kB]
138s Get:55 http://ftpmaster.internal/ubuntu noble/main arm64 python3-all-dev arm64 3.12.1-0ubuntu2 [906 B]
138s Get:56 http://ftpmaster.internal/ubuntu noble/main arm64 python3-more-itertools all 10.2.0-1 [52.9 kB]
138s Get:57 http://ftpmaster.internal/ubuntu noble/main arm64 python3-zipp all 1.0.0-6 [6090 B]
138s Get:58 http://ftpmaster.internal/ubuntu noble/main arm64 python3-importlib-metadata all 4.12.0-1 [17.8 kB]
138s Get:59 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB]
138s Get:60 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pyproject-hooks all 1.0.0-2 [9434 B]
138s Get:61 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-toml all 0.10.2-1 [16.5 kB]
138s Get:62 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-wheel all 0.42.0-1 [53.1 kB]
138s Get:63 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-build all 1.0.3-2 [27.3 kB]
138s Get:64 http://ftpmaster.internal/ubuntu noble/main arm64 python3-msgpack arm64 1.0.3-3build1 [93.0 kB]
138s Get:65 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-cachecontrol all 0.14.0-1 [19.0 kB]
138s Get:66 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-cachy all 0.3.0-4 [12.0 kB]
138s Get:67 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-crashtest all 0.4.1-1 [6804 B]
138s Get:68 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pylev all 1.4.0-1 [6594 B]
138s Get:69 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-cleo all 2.1.0-2 [51.8 kB]
138s Get:70 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-jsonpickle all 3.0.3+dfsg-1 [35.5 kB]
138s Get:71 http://ftpmaster.internal/ubuntu noble/main arm64 python3-numpy arm64 1:1.24.2-2 [4525 kB]
138s Get:72 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-ordered-set all 4.1.0-1 [9778 B]
138s Get:73 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-deepdiff all 6.7.1-1 [62.8 kB]
138s Get:74 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-distlib all 0.3.8-1 [318 kB]
138s Get:75 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-dulwich arm64 0.21.6-1build1 [311 kB]
138s Get:76 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-execnet all 2.0.0-2 [33.6 kB]
138s Get:77 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-fastjsonschema all 2.19.0-1 [19.6 kB]
138s Get:78 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-filelock all 3.13.1-1 [10.8 kB]
138s Get:79 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-httpretty all 1.1.4-4 [23.1 kB]
138s Get:80 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B]
138s Get:81 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-installer all 0.7.0+dfsg1-2 [18.1 kB]
138s Get:82 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-jaraco.classes all 3.2.1-4 [6528 B]
138s Get:83 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-jeepney all 0.8.0-3 [34.7 kB]
138s Get:84 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-secretstorage all 3.3.3-3 [13.7 kB]
138s Get:85 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-keyring all 24.3.1-1 [40.3 kB]
138s Get:86 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-lockfile all 1:0.12.2-3 [13.7 kB]
138s Get:87 http://ftpmaster.internal/ubuntu noble/main arm64 python3-ptyprocess all 0.7.0-5 [15.1 kB]
138s Get:88 http://ftpmaster.internal/ubuntu noble/main arm64 python3-pexpect all 4.9-2 [48.1 kB]
138s Get:89 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pip-whl all 24.0+dfsg-1 [1702 kB]
139s Get:90 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pkginfo all 1.9.6-1 [15.7 kB]
139s Get:91 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-platformdirs all 4.2.0-1 [16.1 kB]
139s Get:92 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pluggy all 1.4.0-1 [20.4 kB]
139s Get:93 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-poetry-core all 1.9.0-1 [203 kB]
139s Get:94 http://ftpmaster.internal/ubuntu noble/main arm64 python3-requests-toolbelt all 1.0.0-2 [36.7 kB]
139s Get:95 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-shellingham all 1.5.4-1 [9482 B]
139s Get:96 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-tomlkit all 0.12.4-1 [37.5 kB]
139s Get:97 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-trove-classifiers all 2024.1.31-1 [10.4 kB]
139s Get:98 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-setuptools-whl all 68.1.2-2 [715 kB]
139s Get:99 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-wheel-whl all 0.42.0-1 [67.8 kB]
139s Get:100 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-virtualenv all 20.25.0+ds-1 [70.7 kB]
139s Get:101 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-poetry all 1.7.1+dfsg-1 [138 kB]
139s Get:102 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest all 7.4.4-1 [305 kB]
139s Get:103 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-mock all 3.12.0-1.1 [11.3 kB]
139s Get:104 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-pytest-xdist all 3.4.0-1 [32.0 kB]
139s Get:105 http://ftpmaster.internal/ubuntu noble/universe arm64 python3.12-venv arm64 3.12.2-1 [5672 B]
139s Get:106 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-venv arm64 3.12.1-0ubuntu2 [1046 B]
139s Get:107 http://ftpmaster.internal/ubuntu noble/universe arm64 python3.11-venv arm64 3.11.8-1 [5740 B]
140s Fetched 78.8 MB in 3s (23.8 MB/s)
140s dpkg: libhogweed6:arm64: dependency problems, but removing anyway as you requested:
140s librtmp1:arm64 depends on libhogweed6.
140s libjcat1:arm64 depends on libhogweed6.
140s libgnutls30:arm64 depends on libhogweed6 (>= 3.6).
140s
140s (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 ... 75850 files and directories currently installed.)
140s Removing libhogweed6:arm64 (3.9.1-2) ...
140s dpkg: libnettle8:arm64: dependency problems, but removing anyway as you requested:
140s librtmp1:arm64 depends on libnettle8.
140s libgnutls30:arm64 depends on libnettle8 (>= 3.9~).
140s libcurl3-gnutls:arm64 depends on libnettle8.
140s libarchive13:arm64 depends on libnettle8.
140s
140s Removing libnettle8:arm64 (3.9.1-2) ...
140s Selecting previously unselected package libnettle8t64:arm64.
140s (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 ... 75838 files and directories currently installed.)
140s Preparing to unpack .../libnettle8t64_3.9.1-2.2_arm64.deb ...
140s Unpacking libnettle8t64:arm64 (3.9.1-2.2) ...
140s Selecting previously unselected package libhogweed6t64:arm64.
140s Preparing to unpack .../libhogweed6t64_3.9.1-2.2_arm64.deb ...
140s Unpacking libhogweed6t64:arm64 (3.9.1-2.2) ...
140s dpkg: libgnutls30:arm64: dependency problems, but removing anyway as you requested:
140s u-boot-tools depends on libgnutls30 (>= 3.7.3).
140s librtmp1:arm64 depends on libgnutls30 (>= 3.7.2).
140s libldap2:arm64 depends on libgnutls30 (>= 3.8.2).
140s libjcat1:arm64 depends on libgnutls30 (>= 3.7.3).
140s libcurl3-gnutls:arm64 depends on libgnutls30 (>= 3.8.2).
140s fwupd depends on libgnutls30 (>= 3.7.3).
140s dirmngr depends on libgnutls30 (>= 3.8.1).
140s apt depends on libgnutls30 (>= 3.8.1).
140s
140s (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 ... 75852 files and directories currently installed.)
140s Removing libgnutls30:arm64 (3.8.3-1ubuntu1) ...
140s Selecting previously unselected package libgnutls30t64:arm64.
140s (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 ... 75843 files and directories currently installed.)
140s Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu2_arm64.deb ...
140s Unpacking libgnutls30t64:arm64 (3.8.3-1.1ubuntu2) ...
141s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested:
141s wget depends on libssl3 (>= 3.0.0).
141s u-boot-tools depends on libssl3 (>= 3.0.0).
141s tnftp depends on libssl3 (>= 3.0.0).
141s tcpdump depends on libssl3 (>= 3.0.0).
141s systemd-resolved depends on libssl3 (>= 3.0.0).
141s systemd depends on libssl3 (>= 3.0.0).
141s sudo depends on libssl3 (>= 3.0.0).
141s sbsigntool depends on libssl3 (>= 3.0.0).
141s rsync depends on libssl3 (>= 3.0.0).
141s python3-cryptography depends on libssl3 (>= 3.0.0).
141s openssl depends on libssl3 (>= 3.0.9).
141s openssh-server depends on libssl3 (>= 3.0.10).
141s openssh-client depends on libssl3 (>= 3.0.10).
141s mtd-utils depends on libssl3 (>= 3.0.0).
141s mokutil depends on libssl3 (>= 3.0.0).
141s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0).
141s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0).
141s libssh-4:arm64 depends on libssl3 (>= 3.0.0).
141s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0).
141s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0).
141s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0).
141s libpython3.11-minimal:arm64 depends on libssl3 (>= 3.0.0).
141s libnvme1 depends on libssl3 (>= 3.0.0).
141s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0).
141s libkmod2:arm64 depends on libssl3 (>= 3.0.0).
141s libfido2-1:arm64 depends on libssl3 (>= 3.0.0).
141s libcurl4:arm64 depends on libssl3 (>= 3.0.0).
141s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0).
141s kmod depends on libssl3 (>= 3.0.0).
141s dhcpcd-base depends on libssl3 (>= 3.0.0).
141s bind9-libs:arm64 depends on libssl3 (>= 3.0.0).
141s
141s (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 ... 75871 files and directories currently installed.)
141s Removing libssl3:arm64 (3.0.10-1ubuntu4) ...
141s Selecting previously unselected package libssl3t64:arm64.
141s (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 ... 75860 files and directories currently installed.)
141s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_arm64.deb ...
141s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu2) ...
141s dpkg: libcurl4:arm64: dependency problems, but removing anyway as you requested:
141s curl depends on libcurl4 (= 8.5.0-2ubuntu2).
141s
141s (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 ... 75873 files and directories currently installed.)
141s Removing libcurl4:arm64 (8.5.0-2ubuntu2) ...
141s Selecting previously unselected package libcurl4t64:arm64.
141s (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 ... 75868 files and directories currently installed.)
141s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu7_arm64.deb ...
141s Unpacking libcurl4t64:arm64 (8.5.0-2ubuntu7) ...
141s Preparing to unpack .../curl_8.5.0-2ubuntu7_arm64.deb ...
141s Unpacking curl (8.5.0-2ubuntu7) over (8.5.0-2ubuntu2) ...
141s dpkg: libpsl5:arm64: dependency problems, but removing anyway as you requested:
141s wget depends on libpsl5 (>= 0.16.0).
141s libcurl3-gnutls:arm64 depends on libpsl5 (>= 0.16.0).
141s
141s (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 ... 75874 files and directories currently installed.)
141s Removing libpsl5:arm64 (0.21.2-1build1) ...
141s Selecting previously unselected package libpsl5t64:arm64.
141s (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 ... 75869 files and directories currently installed.)
141s Preparing to unpack .../libpsl5t64_0.21.2-1.1_arm64.deb ...
141s Unpacking libpsl5t64:arm64 (0.21.2-1.1) ...
142s dpkg: libcurl3-gnutls:arm64: dependency problems, but removing anyway as you requested:
142s libfwupd2:arm64 depends on libcurl3-gnutls (>= 7.63.0).
142s fwupd depends on libcurl3-gnutls (>= 7.63.0).
142s
142s (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 ... 75875 files and directories currently installed.)
142s Removing libcurl3-gnutls:arm64 (8.5.0-2ubuntu2) ...
142s Selecting previously unselected package libcurl3t64-gnutls:arm64.
142s (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 ... 75868 files and directories currently installed.)
142s Preparing to unpack .../00-libcurl3t64-gnutls_8.5.0-2ubuntu7_arm64.deb ...
142s Unpacking libcurl3t64-gnutls:arm64 (8.5.0-2ubuntu7) ...
142s Selecting previously unselected package libisl23:arm64.
142s Preparing to unpack .../01-libisl23_0.26-3_arm64.deb ...
142s Unpacking libisl23:arm64 (0.26-3) ...
142s Selecting previously unselected package libmpc3:arm64.
142s Preparing to unpack .../02-libmpc3_1.3.1-1_arm64.deb ...
142s Unpacking libmpc3:arm64 (1.3.1-1) ...
142s Selecting previously unselected package cpp-13-aarch64-linux-gnu.
142s Preparing to unpack .../03-cpp-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ...
142s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
142s Selecting previously unselected package cpp-13.
142s Preparing to unpack .../04-cpp-13_13.2.0-17ubuntu2_arm64.deb ...
142s Unpacking cpp-13 (13.2.0-17ubuntu2) ...
142s Selecting previously unselected package cpp-aarch64-linux-gnu.
142s Preparing to unpack .../05-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ...
142s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
142s Selecting previously unselected package cpp.
142s Preparing to unpack .../06-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ...
142s Unpacking cpp (4:13.2.0-7ubuntu1) ...
142s Selecting previously unselected package libcc1-0:arm64.
142s Preparing to unpack .../07-libcc1-0_14-20240303-1ubuntu1_arm64.deb ...
142s Unpacking libcc1-0:arm64 (14-20240303-1ubuntu1) ...
142s Selecting previously unselected package libgomp1:arm64.
142s Preparing to unpack .../08-libgomp1_14-20240303-1ubuntu1_arm64.deb ...
142s Unpacking libgomp1:arm64 (14-20240303-1ubuntu1) ...
143s Selecting previously unselected package libitm1:arm64.
143s Preparing to unpack .../09-libitm1_14-20240303-1ubuntu1_arm64.deb ...
143s Unpacking libitm1:arm64 (14-20240303-1ubuntu1) ...
143s Selecting previously unselected package libatomic1:arm64.
143s Preparing to unpack .../10-libatomic1_14-20240303-1ubuntu1_arm64.deb ...
143s Unpacking libatomic1:arm64 (14-20240303-1ubuntu1) ...
143s Selecting previously unselected package libasan8:arm64.
143s Preparing to unpack .../11-libasan8_14-20240303-1ubuntu1_arm64.deb ...
143s Unpacking libasan8:arm64 (14-20240303-1ubuntu1) ...
143s Selecting previously unselected package liblsan0:arm64.
143s Preparing to unpack .../12-liblsan0_14-20240303-1ubuntu1_arm64.deb ...
143s Unpacking liblsan0:arm64 (14-20240303-1ubuntu1) ...
143s Selecting previously unselected package libtsan2:arm64.
143s Preparing to unpack .../13-libtsan2_14-20240303-1ubuntu1_arm64.deb ...
143s Unpacking libtsan2:arm64 (14-20240303-1ubuntu1) ...
143s Selecting previously unselected package libubsan1:arm64.
143s Preparing to unpack .../14-libubsan1_14-20240303-1ubuntu1_arm64.deb ...
143s Unpacking libubsan1:arm64 (14-20240303-1ubuntu1) ...
143s Selecting previously unselected package libhwasan0:arm64.
143s Preparing to unpack .../15-libhwasan0_14-20240303-1ubuntu1_arm64.deb ...
143s Unpacking libhwasan0:arm64 (14-20240303-1ubuntu1) ...
143s Selecting previously unselected package libgcc-13-dev:arm64.
143s Preparing to unpack .../16-libgcc-13-dev_13.2.0-17ubuntu2_arm64.deb ...
143s Unpacking libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ...
143s Selecting previously unselected package gcc-13-aarch64-linux-gnu.
143s Preparing to unpack .../17-gcc-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ...
143s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
144s Selecting previously unselected package gcc-13.
144s Preparing to unpack .../18-gcc-13_13.2.0-17ubuntu2_arm64.deb ...
144s Unpacking gcc-13 (13.2.0-17ubuntu2) ...
144s Selecting previously unselected package gcc-aarch64-linux-gnu.
144s Preparing to unpack .../19-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ...
144s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
144s Selecting previously unselected package gcc.
144s Preparing to unpack .../20-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ...
144s Unpacking gcc (4:13.2.0-7ubuntu1) ...
144s Selecting previously unselected package liberror-perl.
144s Preparing to unpack .../21-liberror-perl_0.17029-2_all.deb ...
144s Unpacking liberror-perl (0.17029-2) ...
144s Selecting previously unselected package git-man.
144s Preparing to unpack .../22-git-man_1%3a2.43.0-1ubuntu5_all.deb ...
144s Unpacking git-man (1:2.43.0-1ubuntu5) ...
144s Selecting previously unselected package git.
144s Preparing to unpack .../23-git_1%3a2.43.0-1ubuntu5_arm64.deb ...
144s Unpacking git (1:2.43.0-1ubuntu5) ...
145s Selecting previously unselected package libblas3:arm64.
145s Preparing to unpack .../24-libblas3_3.12.0-3_arm64.deb ...
145s Unpacking libblas3:arm64 (3.12.0-3) ...
145s Selecting previously unselected package libc-dev-bin.
145s Preparing to unpack .../25-libc-dev-bin_2.39-0ubuntu2_arm64.deb ...
145s Unpacking libc-dev-bin (2.39-0ubuntu2) ...
145s Selecting previously unselected package linux-libc-dev:arm64.
145s Preparing to unpack .../26-linux-libc-dev_6.8.0-11.11_arm64.deb ...
145s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ...
145s Selecting previously unselected package libcrypt-dev:arm64.
145s Preparing to unpack .../27-libcrypt-dev_1%3a4.4.36-4_arm64.deb ...
145s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ...
145s Selecting previously unselected package libtirpc-dev:arm64.
145s Preparing to unpack .../28-libtirpc-dev_1.3.4+ds-1build1_arm64.deb ...
145s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1build1) ...
145s Selecting previously unselected package libnsl-dev:arm64.
145s Preparing to unpack .../29-libnsl-dev_1.3.0-3_arm64.deb ...
145s Unpacking libnsl-dev:arm64 (1.3.0-3) ...
145s Selecting previously unselected package rpcsvc-proto.
145s Preparing to unpack .../30-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ...
145s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
145s Selecting previously unselected package libc6-dev:arm64.
145s Preparing to unpack .../31-libc6-dev_2.39-0ubuntu2_arm64.deb ...
145s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ...
146s Selecting previously unselected package libexpat1-dev:arm64.
146s Preparing to unpack .../32-libexpat1-dev_2.6.0-1_arm64.deb ...
146s Unpacking libexpat1-dev:arm64 (2.6.0-1) ...
146s Selecting previously unselected package libgfortran5:arm64.
146s Preparing to unpack .../33-libgfortran5_14-20240303-1ubuntu1_arm64.deb ...
146s Unpacking libgfortran5:arm64 (14-20240303-1ubuntu1) ...
146s Selecting previously unselected package libjs-jquery.
146s Preparing to unpack .../34-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ...
146s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
146s Selecting previously unselected package libjs-underscore.
146s Preparing to unpack .../35-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ...
146s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
146s Selecting previously unselected package libjs-sphinxdoc.
146s Preparing to unpack .../36-libjs-sphinxdoc_7.2.6-4_all.deb ...
146s Unpacking libjs-sphinxdoc (7.2.6-4) ...
146s Selecting previously unselected package liblapack3:arm64.
146s Preparing to unpack .../37-liblapack3_3.12.0-3_arm64.deb ...
146s Unpacking liblapack3:arm64 (3.12.0-3) ...
146s Selecting previously unselected package libpython3.12:arm64.
146s Preparing to unpack .../38-libpython3.12_3.12.2-1_arm64.deb ...
146s Unpacking libpython3.12:arm64 (3.12.2-1) ...
146s Selecting previously unselected package zlib1g-dev:arm64.
146s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ...
146s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ...
146s Selecting previously unselected package libpython3.12-dev:arm64.
146s Preparing to unpack .../40-libpython3.12-dev_3.12.2-1_arm64.deb ...
146s Unpacking libpython3.12-dev:arm64 (3.12.2-1) ...
147s Selecting previously unselected package libpython3-dev:arm64.
147s Preparing to unpack .../41-libpython3-dev_3.12.1-0ubuntu2_arm64.deb ...
147s Unpacking libpython3-dev:arm64 (3.12.1-0ubuntu2) ...
147s Selecting previously unselected package libpython3-all-dev:arm64.
147s Preparing to unpack .../42-libpython3-all-dev_3.12.1-0ubuntu2_arm64.deb ...
147s Unpacking libpython3-all-dev:arm64 (3.12.1-0ubuntu2) ...
147s Selecting previously unselected package python3-all.
147s Preparing to unpack .../43-python3-all_3.12.1-0ubuntu2_arm64.deb ...
147s Unpacking python3-all (3.12.1-0ubuntu2) ...
147s Selecting previously unselected package python3.12-dev.
147s Preparing to unpack .../44-python3.12-dev_3.12.2-1_arm64.deb ...
147s Unpacking python3.12-dev (3.12.2-1) ...
147s Selecting previously unselected package python3-dev.
147s Preparing to unpack .../45-python3-dev_3.12.1-0ubuntu2_arm64.deb ...
147s Unpacking python3-dev (3.12.1-0ubuntu2) ...
147s Selecting previously unselected package python3-all-dev.
147s Preparing to unpack .../46-python3-all-dev_3.12.1-0ubuntu2_arm64.deb ...
147s Unpacking python3-all-dev (3.12.1-0ubuntu2) ...
147s Selecting previously unselected package python3-more-itertools.
147s Preparing to unpack .../47-python3-more-itertools_10.2.0-1_all.deb ...
147s Unpacking python3-more-itertools (10.2.0-1) ...
147s Selecting previously unselected package python3-zipp.
147s Preparing to unpack .../48-python3-zipp_1.0.0-6_all.deb ...
147s Unpacking python3-zipp (1.0.0-6) ...
147s Selecting previously unselected package python3-importlib-metadata.
147s Preparing to unpack .../49-python3-importlib-metadata_4.12.0-1_all.deb ...
147s Unpacking python3-importlib-metadata (4.12.0-1) ...
147s Selecting previously unselected package python3-packaging.
147s Preparing to unpack .../50-python3-packaging_23.2-1_all.deb ...
147s Unpacking python3-packaging (23.2-1) ...
147s Selecting previously unselected package python3-pyproject-hooks.
147s Preparing to unpack .../51-python3-pyproject-hooks_1.0.0-2_all.deb ...
147s Unpacking python3-pyproject-hooks (1.0.0-2) ...
147s Selecting previously unselected package python3-toml.
147s Preparing to unpack .../52-python3-toml_0.10.2-1_all.deb ...
147s Unpacking python3-toml (0.10.2-1) ...
147s Selecting previously unselected package python3-wheel.
147s Preparing to unpack .../53-python3-wheel_0.42.0-1_all.deb ...
147s Unpacking python3-wheel (0.42.0-1) ...
147s Selecting previously unselected package python3-build.
147s Preparing to unpack .../54-python3-build_1.0.3-2_all.deb ...
147s Unpacking python3-build (1.0.3-2) ...
147s Selecting previously unselected package python3-msgpack.
147s Preparing to unpack .../55-python3-msgpack_1.0.3-3build1_arm64.deb ...
147s Unpacking python3-msgpack (1.0.3-3build1) ...
147s Selecting previously unselected package python3-cachecontrol.
147s Preparing to unpack .../56-python3-cachecontrol_0.14.0-1_all.deb ...
147s Unpacking python3-cachecontrol (0.14.0-1) ...
148s Selecting previously unselected package python3-cachy.
148s Preparing to unpack .../57-python3-cachy_0.3.0-4_all.deb ...
148s Unpacking python3-cachy (0.3.0-4) ...
148s Selecting previously unselected package python3-crashtest.
148s Preparing to unpack .../58-python3-crashtest_0.4.1-1_all.deb ...
148s Unpacking python3-crashtest (0.4.1-1) ...
148s Selecting previously unselected package python3-pylev.
148s Preparing to unpack .../59-python3-pylev_1.4.0-1_all.deb ...
148s Unpacking python3-pylev (1.4.0-1) ...
148s Selecting previously unselected package python3-cleo.
148s Preparing to unpack .../60-python3-cleo_2.1.0-2_all.deb ...
148s Unpacking python3-cleo (2.1.0-2) ...
148s Selecting previously unselected package python3-jsonpickle.
148s Preparing to unpack .../61-python3-jsonpickle_3.0.3+dfsg-1_all.deb ...
148s Unpacking python3-jsonpickle (3.0.3+dfsg-1) ...
148s Selecting previously unselected package python3-numpy.
148s Preparing to unpack .../62-python3-numpy_1%3a1.24.2-2_arm64.deb ...
148s Unpacking python3-numpy (1:1.24.2-2) ...
148s Selecting previously unselected package python3-ordered-set.
148s Preparing to unpack .../63-python3-ordered-set_4.1.0-1_all.deb ...
148s Unpacking python3-ordered-set (4.1.0-1) ...
148s Selecting previously unselected package python3-deepdiff.
148s Preparing to unpack .../64-python3-deepdiff_6.7.1-1_all.deb ...
148s Unpacking python3-deepdiff (6.7.1-1) ...
148s Selecting previously unselected package python3-distlib.
148s Preparing to unpack .../65-python3-distlib_0.3.8-1_all.deb ...
148s Unpacking python3-distlib (0.3.8-1) ...
148s Selecting previously unselected package python3-dulwich.
148s Preparing to unpack .../66-python3-dulwich_0.21.6-1build1_arm64.deb ...
148s Unpacking python3-dulwich (0.21.6-1build1) ...
149s Selecting previously unselected package python3-execnet.
149s Preparing to unpack .../67-python3-execnet_2.0.0-2_all.deb ...
149s Unpacking python3-execnet (2.0.0-2) ...
149s Selecting previously unselected package python3-fastjsonschema.
149s Preparing to unpack .../68-python3-fastjsonschema_2.19.0-1_all.deb ...
149s Unpacking python3-fastjsonschema (2.19.0-1) ...
149s Selecting previously unselected package python3-filelock.
149s Preparing to unpack .../69-python3-filelock_3.13.1-1_all.deb ...
149s Unpacking python3-filelock (3.13.1-1) ...
149s Selecting previously unselected package python3-httpretty.
149s Preparing to unpack .../70-python3-httpretty_1.1.4-4_all.deb ...
149s Unpacking python3-httpretty (1.1.4-4) ...
149s Selecting previously unselected package python3-iniconfig.
149s Preparing to unpack .../71-python3-iniconfig_1.1.1-2_all.deb ...
149s Unpacking python3-iniconfig (1.1.1-2) ...
149s Selecting previously unselected package python3-installer.
149s Preparing to unpack .../72-python3-installer_0.7.0+dfsg1-2_all.deb ...
149s Unpacking python3-installer (0.7.0+dfsg1-2) ...
149s Selecting previously unselected package python3-jaraco.classes.
149s Preparing to unpack .../73-python3-jaraco.classes_3.2.1-4_all.deb ...
149s Unpacking python3-jaraco.classes (3.2.1-4) ...
149s Selecting previously unselected package python3-jeepney.
149s Preparing to unpack .../74-python3-jeepney_0.8.0-3_all.deb ...
149s Unpacking python3-jeepney (0.8.0-3) ...
149s Selecting previously unselected package python3-secretstorage.
149s Preparing to unpack .../75-python3-secretstorage_3.3.3-3_all.deb ...
149s Unpacking python3-secretstorage (3.3.3-3) ...
149s Selecting previously unselected package python3-keyring.
149s Preparing to unpack .../76-python3-keyring_24.3.1-1_all.deb ...
149s Unpacking python3-keyring (24.3.1-1) ...
149s Selecting previously unselected package python3-lockfile.
149s Preparing to unpack .../77-python3-lockfile_1%3a0.12.2-3_all.deb ...
149s Unpacking python3-lockfile (1:0.12.2-3) ...
149s Selecting previously unselected package python3-ptyprocess.
149s Preparing to unpack .../78-python3-ptyprocess_0.7.0-5_all.deb ...
149s Unpacking python3-ptyprocess (0.7.0-5) ...
149s Selecting previously unselected package python3-pexpect.
149s Preparing to unpack .../79-python3-pexpect_4.9-2_all.deb ...
149s Unpacking python3-pexpect (4.9-2) ...
149s Selecting previously unselected package python3-pip-whl.
149s Preparing to unpack .../80-python3-pip-whl_24.0+dfsg-1_all.deb ...
149s Unpacking python3-pip-whl (24.0+dfsg-1) ...
149s Selecting previously unselected package python3-pkginfo.
149s Preparing to unpack .../81-python3-pkginfo_1.9.6-1_all.deb ...
149s Unpacking python3-pkginfo (1.9.6-1) ...
149s Selecting previously unselected package python3-platformdirs.
149s Preparing to unpack .../82-python3-platformdirs_4.2.0-1_all.deb ...
149s Unpacking python3-platformdirs (4.2.0-1) ...
149s Selecting previously unselected package python3-pluggy.
149s Preparing to unpack .../83-python3-pluggy_1.4.0-1_all.deb ...
149s Unpacking python3-pluggy (1.4.0-1) ...
150s Selecting previously unselected package python3-poetry-core.
150s Preparing to unpack .../84-python3-poetry-core_1.9.0-1_all.deb ...
150s Unpacking python3-poetry-core (1.9.0-1) ...
150s Selecting previously unselected package python3-requests-toolbelt.
150s Preparing to unpack .../85-python3-requests-toolbelt_1.0.0-2_all.deb ...
150s Unpacking python3-requests-toolbelt (1.0.0-2) ...
150s Selecting previously unselected package python3-shellingham.
150s Preparing to unpack .../86-python3-shellingham_1.5.4-1_all.deb ...
150s Unpacking python3-shellingham (1.5.4-1) ...
150s Selecting previously unselected package python3-tomlkit.
150s Preparing to unpack .../87-python3-tomlkit_0.12.4-1_all.deb ...
150s Unpacking python3-tomlkit (0.12.4-1) ...
150s Selecting previously unselected package python3-trove-classifiers.
150s Preparing to unpack .../88-python3-trove-classifiers_2024.1.31-1_all.deb ...
150s Unpacking python3-trove-classifiers (2024.1.31-1) ...
150s Selecting previously unselected package python3-setuptools-whl.
150s Preparing to unpack .../89-python3-setuptools-whl_68.1.2-2_all.deb ...
150s Unpacking python3-setuptools-whl (68.1.2-2) ...
150s Selecting previously unselected package python3-wheel-whl.
150s Preparing to unpack .../90-python3-wheel-whl_0.42.0-1_all.deb ...
150s Unpacking python3-wheel-whl (0.42.0-1) ...
150s Selecting previously unselected package python3-virtualenv.
150s Preparing to unpack .../91-python3-virtualenv_20.25.0+ds-1_all.deb ...
150s Unpacking python3-virtualenv (20.25.0+ds-1) ...
150s Selecting previously unselected package python3-poetry.
150s Preparing to unpack .../92-python3-poetry_1.7.1+dfsg-1_all.deb ...
150s Unpacking python3-poetry (1.7.1+dfsg-1) ...
150s Selecting previously unselected package python3-pytest.
150s Preparing to unpack .../93-python3-pytest_7.4.4-1_all.deb ...
150s Unpacking python3-pytest (7.4.4-1) ...
150s Selecting previously unselected package python3-pytest-mock.
150s Preparing to unpack .../94-python3-pytest-mock_3.12.0-1.1_all.deb ...
150s Unpacking python3-pytest-mock (3.12.0-1.1) ...
150s Selecting previously unselected package python3-pytest-xdist.
150s Preparing to unpack .../95-python3-pytest-xdist_3.4.0-1_all.deb ...
150s Unpacking python3-pytest-xdist (3.4.0-1) ...
150s Selecting previously unselected package python3.12-venv.
150s Preparing to unpack .../96-python3.12-venv_3.12.2-1_arm64.deb ...
150s Unpacking python3.12-venv (3.12.2-1) ...
150s Selecting previously unselected package python3-venv.
150s Preparing to unpack .../97-python3-venv_3.12.1-0ubuntu2_arm64.deb ...
150s Unpacking python3-venv (3.12.1-0ubuntu2) ...
150s Selecting previously unselected package python3.11-venv.
150s Preparing to unpack .../98-python3.11-venv_3.11.8-1_arm64.deb ...
150s Unpacking python3.11-venv (3.11.8-1) ...
150s Selecting previously unselected package autopkgtest-satdep.
151s Preparing to unpack .../99-1-autopkgtest-satdep.deb ...
151s Unpacking autopkgtest-satdep (0) ...
151s Setting up python3-more-itertools (10.2.0-1) ...
151s Setting up python3-iniconfig (1.1.1-2) ...
151s Setting up python3-lockfile (1:0.12.2-3) ...
151s Setting up python3-httpretty (1.1.4-4) ...
152s Setting up python3-setuptools-whl (68.1.2-2) ...
152s Setting up python3-filelock (3.13.1-1) ...
152s Setting up python3-jsonpickle (3.0.3+dfsg-1) ...
152s Setting up python3-jaraco.classes (3.2.1-4) ...
153s Setting up python3-requests-toolbelt (1.0.0-2) ...
153s Setting up python3-pkginfo (1.9.6-1) ...
153s Setting up python3-pip-whl (24.0+dfsg-1) ...
153s Setting up libssl3t64:arm64 (3.0.13-0ubuntu2) ...
153s Setting up python3-pylev (1.4.0-1) ...
153s Setting up libpsl5t64:arm64 (0.21.2-1.1) ...
153s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ...
153s Setting up python3-all (3.12.1-0ubuntu2) ...
153s Setting up python3-ordered-set (4.1.0-1) ...
154s Setting up python3-distlib (0.3.8-1) ...
154s Setting up python3-zipp (1.0.0-6) ...
154s Setting up libgomp1:arm64 (14-20240303-1ubuntu1) ...
154s Setting up python3-wheel (0.42.0-1) ...
155s Setting up python3-platformdirs (4.2.0-1) ...
155s Setting up liberror-perl (0.17029-2) ...
155s Setting up libnettle8t64:arm64 (3.9.1-2.2) ...
155s Setting up libblas3:arm64 (3.12.0-3) ...
155s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode
155s Setting up python3-packaging (23.2-1) ...
155s Setting up libtirpc-dev:arm64 (1.3.4+ds-1build1) ...
155s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
155s Setting up python3-pyproject-hooks (1.0.0-2) ...
156s Setting up python3.11-venv (3.11.8-1) ...
156s Setting up python3-poetry-core (1.9.0-1) ...
156s Setting up python3-crashtest (0.4.1-1) ...
157s Setting up libmpc3:arm64 (1.3.1-1) ...
157s Setting up libatomic1:arm64 (14-20240303-1ubuntu1) ...
157s Setting up python3-toml (0.10.2-1) ...
157s Setting up python3-jeepney (0.8.0-3) ...
157s Setting up python3-installer (0.7.0+dfsg1-2) ...
158s Setting up libgfortran5:arm64 (14-20240303-1ubuntu1) ...
158s Setting up python3-pluggy (1.4.0-1) ...
158s Setting up libubsan1:arm64 (14-20240303-1ubuntu1) ...
158s Setting up python3-fastjsonschema (2.19.0-1) ...
158s Setting up libhogweed6t64:arm64 (3.9.1-2.2) ...
158s Setting up libnsl-dev:arm64 (1.3.0-3) ...
158s Setting up python3-trove-classifiers (2024.1.31-1) ...
159s Setting up libhwasan0:arm64 (14-20240303-1ubuntu1) ...
159s Setting up python3-dulwich (0.21.6-1build1) ...
159s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ...
160s Setting up libasan8:arm64 (14-20240303-1ubuntu1) ...
160s Setting up python3-cachy (0.3.0-4) ...
160s Setting up python3-cleo (2.1.0-2) ...
160s Setting up git-man (1:2.43.0-1ubuntu5) ...
160s Setting up python3-msgpack (1.0.3-3build1) ...
160s Setting up python3-cachecontrol (0.14.0-1) ...
161s Setting up libtsan2:arm64 (14-20240303-1ubuntu1) ...
161s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
161s Setting up libisl23:arm64 (0.26-3) ...
161s Setting up python3-build (1.0.3-2) ...
161s Setting up libc-dev-bin (2.39-0ubuntu2) ...
161s Setting up python3-execnet (2.0.0-2) ...
161s Setting up python3-shellingham (1.5.4-1) ...
162s Setting up python3-tomlkit (0.12.4-1) ...
162s Setting up python3-wheel-whl (0.42.0-1) ...
162s Setting up libpython3.12:arm64 (3.12.2-1) ...
162s Setting up libcc1-0:arm64 (14-20240303-1ubuntu1) ...
162s Setting up liblsan0:arm64 (14-20240303-1ubuntu1) ...
162s Setting up libitm1:arm64 (14-20240303-1ubuntu1) ...
162s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
162s Setting up python3-ptyprocess (0.7.0-5) ...
162s Setting up libgnutls30t64:arm64 (3.8.3-1.1ubuntu2) ...
162s Setting up liblapack3:arm64 (3.12.0-3) ...
162s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode
162s Setting up python3-importlib-metadata (4.12.0-1) ...
163s Setting up cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
163s Setting up libcurl4t64:arm64 (8.5.0-2ubuntu7) ...
163s Setting up python3.12-venv (3.12.2-1) ...
163s Setting up python3-pytest (7.4.4-1) ...
163s Setting up libcurl3t64-gnutls:arm64 (8.5.0-2ubuntu7) ...
163s Setting up python3-virtualenv (20.25.0+ds-1) ...
164s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
164s Setting up python3-venv (3.12.1-0ubuntu2) ...
164s Setting up python3-secretstorage (3.3.3-3) ...
164s Setting up python3-pexpect (4.9-2) ...
164s Setting up git (1:2.43.0-1ubuntu5) ...
164s Setting up python3-numpy (1:1.24.2-2) ...
168s Setting up libjs-sphinxdoc (7.2.6-4) ...
168s Setting up python3-pytest-mock (3.12.0-1.1) ...
168s Setting up libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ...
168s Setting up python3-keyring (24.3.1-1) ...
169s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ...
169s Setting up curl (8.5.0-2ubuntu7) ...
169s Setting up python3-deepdiff (6.7.1-1) ...
169s Setting up python3-pytest-xdist (3.4.0-1) ...
169s Setting up cpp-13 (13.2.0-17ubuntu2) ...
169s Setting up gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ...
169s Setting up libexpat1-dev:arm64 (2.6.0-1) ...
169s Setting up python3-poetry (1.7.1+dfsg-1) ...
170s Setting up gcc-13 (13.2.0-17ubuntu2) ...
170s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ...
170s Setting up cpp (4:13.2.0-7ubuntu1) ...
170s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ...
170s Setting up libpython3.12-dev:arm64 (3.12.2-1) ...
170s Setting up gcc (4:13.2.0-7ubuntu1) ...
170s Setting up python3.12-dev (3.12.2-1) ...
170s Setting up libpython3-dev:arm64 (3.12.1-0ubuntu2) ...
170s Setting up libpython3-all-dev:arm64 (3.12.1-0ubuntu2) ...
170s Setting up python3-dev (3.12.1-0ubuntu2) ...
170s Setting up python3-all-dev (3.12.1-0ubuntu2) ...
170s Setting up autopkgtest-satdep (0) ...
170s Processing triggers for man-db (2.12.0-3) ...
171s Processing triggers for libc-bin (2.39-0ubuntu2) ...
177s (Reading database ... 82149 files and directories currently installed.)
177s Removing autopkgtest-satdep (0) ...
178s autopkgtest [10:53:40]: test pytest: [-----------------------
178s + cp -r tests /tmp/autopkgtest.qLoeLi/autopkgtest_tmp
178s + cp pyproject.toml /tmp/autopkgtest.qLoeLi/autopkgtest_tmp
178s + cd /tmp/autopkgtest.qLoeLi/autopkgtest_tmp
178s + py3versions -s
178s + python3.12 -m pytest --ignore=tests/console/commands/env/test_list.py --ignore=tests/console/commands/env/test_remove.py --ignore=tests/console/commands/env/test_use.py --ignore=tests/utils/test_env.py --ignore=tests/config/test_config.py --ignore=tests/utils/test_helpers.py -k not test_self_update_should_install_all_necessary_elements and not test_add_file_constraint_sdist and not test_add_file_constraint_sdist_old_installer and not test_publish_dry_run and not test_info_from_sdist and not test_installer_can_install_dependencies_from_forced_source and not test_search_for_file_sdist and not test_search_for_file_sdist_with_extras and not test_solver_can_resolve_sdist_dependencies and not test_solver_can_resolve_sdist_dependencies_with_extras and not test_solver_chooses_from_correct_repository_if_forced and not test_solver_chooses_from_correct_repository_if_forced_and_transitive_dependency and not test_solver_does_not_choose_from_secondary_repository_by_default and not test_solver_chooses_from_secondary_if_explicit and not test_get_package_information_fallback_read_setup and not test_get_package_information_skips_dependencies_with_invalid_constraints and not test_get_package_retrieves_packages_with_no_hashes and not test_fallback_can_read_setup_to_get_dependencies and not test_exporter_can_export_requirements_txt_with_file_packages and not test_exporter_can_export_requirements_txt_with_file_packages_and_markers and not test_lock_no_update and not test_locker_dumps_dependency_information_correctly and not test_package_partial_yank and not test_run_installs_with_same_version_url_files and not test_env_info_displays_complete_info and not test_skip_existing_output and not test_installer_should_use_the_locked_version_of_git_dependencies_with_extras and not test_installer_should_use_the_locked_version_of_git_dependencies_without_reference and not test_installer_uses_prereleases_if_they_are_compatible and not test_requirement_git_subdirectory and not test_check_valid and not test_check_invalid and not test_packages_property_returns_empty_list and not test_parse_dependency_specification and not test_info_setup_missing_mandatory_should_trigger_pep517 and not test_uninstall_git_package_nspkg_pth_cleanup and not test_executor_should_write_pep610_url_references_for_directories and not test_executor_should_write_pep610_url_references_for_git and not test_executor_should_write_pep610_url_references_for_git_with_subdirectories and not test_builder_setup_generation_runs_with_pip_editable and not test_executor_should_write_pep610_url_references_for_non_wheel_urls and not test_executor_should_write_pep610_url_references_for_non_wheel_files and not test_prepare_sdist and not test_shell and not test_chooser_md5_remote_fallback_to_sha256_inline_calculation and not test_solver_ignores_explicit_repo_for_transient_dependencies and not test_export_prints_warning and not test_disable_export_warning and not test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess and not test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_encoding and not test_isolated_env_install_success and not test_isolated_env_install_error and not test_isolated_env_install_failure and not test_application_with_plugins and not test_build_system_requires_not_available and not test_build_system_requires_install_failure and not test_installer_with_pypi_repository and not test_prepare_directory and not test_prepare_directory_with_extensions and not test_prepare_directory_editable and not test_prepare_directory_script -v
187s ============================= test session starts ==============================
187s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python3.12
187s cachedir: .pytest_cache
187s rootdir: /tmp/autopkgtest.qLoeLi/autopkgtest_tmp
187s configfile: pyproject.toml
187s testpaths: tests
187s plugins: mock-3.12.0, xdist-3.4.0
187s created: 1/1 worker
187s 1 worker [1195 items]
187s
187s scheduling tests via LoadScheduling
187s
188s tests/test_factory.py::test_create_poetry
188s [gw0] [ 0%] PASSED tests/test_factory.py::test_create_poetry
188s tests/test_factory.py::test_create_pyproject_from_package[simple_project]
188s [gw0] [ 0%] PASSED tests/test_factory.py::test_create_pyproject_from_package[simple_project]
188s tests/test_factory.py::test_create_pyproject_from_package[project_with_extras]
188s [gw0] [ 0%] PASSED tests/test_factory.py::test_create_pyproject_from_package[project_with_extras]
188s tests/test_factory.py::test_create_poetry_with_packages_and_includes
188s [gw0] [ 0%] PASSED tests/test_factory.py::test_create_poetry_with_packages_and_includes
188s tests/test_factory.py::test_create_poetry_with_multi_constraints_dependency
188s [gw0] [ 0%] PASSED tests/test_factory.py::test_create_poetry_with_multi_constraints_dependency
188s tests/test_factory.py::test_poetry_with_default_source_legacy
188s [gw0] [ 0%] PASSED tests/test_factory.py::test_poetry_with_default_source_legacy
189s tests/test_factory.py::test_poetry_with_default_source
189s [gw0] [ 0%] PASSED tests/test_factory.py::test_poetry_with_default_source
189s tests/test_factory.py::test_poetry_with_default_source_and_pypi
189s [gw0] [ 0%] PASSED tests/test_factory.py::test_poetry_with_default_source_and_pypi
189s tests/test_factory.py::test_poetry_with_default_source_pypi
189s [gw0] [ 0%] PASSED tests/test_factory.py::test_poetry_with_default_source_pypi
189s tests/test_factory.py::test_poetry_with_non_default_source[with_non_default_source_implicit]
189s [gw0] [ 0%] PASSED tests/test_factory.py::test_poetry_with_non_default_source[with_non_default_source_implicit]
189s tests/test_factory.py::test_poetry_with_non_default_source[with_non_default_source_explicit]
189s [gw0] [ 0%] PASSED tests/test_factory.py::test_poetry_with_non_default_source[with_non_default_source_explicit]
189s tests/test_factory.py::test_poetry_with_non_default_secondary_source_legacy
189s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_non_default_secondary_source_legacy
189s tests/test_factory.py::test_poetry_with_non_default_secondary_source
189s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_non_default_secondary_source
189s tests/test_factory.py::test_poetry_with_non_default_multiple_secondary_sources_legacy
189s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_non_default_multiple_secondary_sources_legacy
190s tests/test_factory.py::test_poetry_with_non_default_multiple_secondary_sources
190s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_non_default_multiple_secondary_sources
190s tests/test_factory.py::test_poetry_with_non_default_multiple_sources_legacy
190s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_non_default_multiple_sources_legacy
190s tests/test_factory.py::test_poetry_with_non_default_multiple_sources
190s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_non_default_multiple_sources
190s tests/test_factory.py::test_poetry_with_non_default_multiple_sources_pypi
190s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_non_default_multiple_sources_pypi
190s tests/test_factory.py::test_poetry_with_no_default_source
190s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_no_default_source
190s tests/test_factory.py::test_poetry_with_supplemental_source
190s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_supplemental_source
191s tests/test_factory.py::test_poetry_with_explicit_source
191s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_explicit_source
191s tests/test_factory.py::test_poetry_with_explicit_pypi_and_other
191s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_explicit_pypi_and_other
191s tests/test_factory.py::test_poetry_with_pypi_explicit_only[with_explicit_pypi_no_other]
191s [gw0] [ 1%] PASSED tests/test_factory.py::test_poetry_with_pypi_explicit_only[with_explicit_pypi_no_other]
191s tests/test_factory.py::test_poetry_with_pypi_explicit_only[with_explicit_pypi_and_other_explicit]
191s [gw0] [ 2%] PASSED tests/test_factory.py::test_poetry_with_pypi_explicit_only[with_explicit_pypi_and_other_explicit]
191s tests/test_factory.py::test_poetry_with_two_default_sources_legacy
191s [gw0] [ 2%] PASSED tests/test_factory.py::test_poetry_with_two_default_sources_legacy
191s tests/test_factory.py::test_poetry_with_two_default_sources
191s [gw0] [ 2%] PASSED tests/test_factory.py::test_poetry_with_two_default_sources
191s tests/test_factory.py::test_validate
191s [gw0] [ 2%] PASSED tests/test_factory.py::test_validate
191s tests/test_factory.py::test_validate_fails
191s [gw0] [ 2%] PASSED tests/test_factory.py::test_validate_fails
191s tests/test_factory.py::test_create_poetry_fails_on_invalid_configuration
191s [gw0] [ 2%] FAILED tests/test_factory.py::test_create_poetry_fails_on_invalid_configuration
192s tests/test_factory.py::test_create_poetry_with_local_config
192s [gw0] [ 2%] PASSED tests/test_factory.py::test_create_poetry_with_local_config
192s tests/test_factory.py::test_create_poetry_with_plugins
192s [gw0] [ 2%] PASSED tests/test_factory.py::test_create_poetry_with_plugins
192s tests/test_factory.py::test_create_package_source_invalid[source0-Missing [name] in source.]
192s [gw0] [ 2%] PASSED tests/test_factory.py::test_create_package_source_invalid[source0-Missing [name] in source.]
192s tests/test_factory.py::test_create_package_source_invalid[source1-Missing [url] in source 'foo'.]
192s [gw0] [ 2%] PASSED tests/test_factory.py::test_create_package_source_invalid[source1-Missing [url] in source 'foo'.]
192s tests/test_factory.py::test_create_package_source_invalid[source2-The PyPI repository cannot be configured with a custom url.]
192s [gw0] [ 2%] PASSED tests/test_factory.py::test_create_package_source_invalid[source2-The PyPI repository cannot be configured with a custom url.]
192s tests/test_helpers.py::test_flatten_dict
192s [gw0] [ 2%] PASSED tests/test_helpers.py::test_flatten_dict
192s tests/console/test_application.py::test_application_execute_plugin_command
192s [gw0] [ 3%] PASSED tests/console/test_application.py::test_application_execute_plugin_command
192s tests/console/test_application.py::test_application_execute_plugin_command_with_plugins_disabled
192s [gw0] [ 3%] PASSED tests/console/test_application.py::test_application_execute_plugin_command_with_plugins_disabled
192s tests/console/test_application.py::test_application_verify_source_cache_flag[True]
192s [gw0] [ 3%] PASSED tests/console/test_application.py::test_application_verify_source_cache_flag[True]
192s tests/console/test_application.py::test_application_verify_source_cache_flag[False]
192s [gw0] [ 3%] PASSED tests/console/test_application.py::test_application_verify_source_cache_flag[False]
208s tests/console/test_application.py::test_application_verify_cache_flag_at_install[True]
208s [gw0] [ 3%] PASSED tests/console/test_application.py::test_application_verify_cache_flag_at_install[True]
223s tests/console/test_application.py::test_application_verify_cache_flag_at_install[False]
223s [gw0] [ 3%] PASSED tests/console/test_application.py::test_application_verify_cache_flag_at_install[False]
223s tests/console/commands/test_about.py::test_about
223s [gw0] [ 3%] PASSED tests/console/commands/test_about.py::test_about
224s tests/console/commands/test_add.py::test_add_no_constraint
224s [gw0] [ 3%] PASSED tests/console/commands/test_add.py::test_add_no_constraint
224s tests/console/commands/test_add.py::test_add_replace_by_constraint
224s [gw0] [ 3%] PASSED tests/console/commands/test_add.py::test_add_replace_by_constraint
224s tests/console/commands/test_add.py::test_add_no_constraint_editable_error
224s [gw0] [ 3%] PASSED tests/console/commands/test_add.py::test_add_no_constraint_editable_error
224s tests/console/commands/test_add.py::test_add_equal_constraint
224s [gw0] [ 3%] PASSED tests/console/commands/test_add.py::test_add_equal_constraint
224s tests/console/commands/test_add.py::test_add_greater_constraint
224s [gw0] [ 3%] PASSED tests/console/commands/test_add.py::test_add_greater_constraint
225s tests/console/commands/test_add.py::test_add_constraint_with_extras[msgpack]
225s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_constraint_with_extras[msgpack]
225s tests/console/commands/test_add.py::test_add_constraint_with_extras[MsgPack]
225s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_constraint_with_extras[MsgPack]
225s tests/console/commands/test_add.py::test_add_constraint_dependencies
225s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_constraint_dependencies
225s tests/console/commands/test_add.py::test_add_git_constraint
225s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_git_constraint
226s tests/console/commands/test_add.py::test_add_git_constraint_with_poetry
226s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_git_constraint_with_poetry
226s tests/console/commands/test_add.py::test_add_git_constraint_with_extras[foo]
226s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_git_constraint_with_extras[foo]
226s tests/console/commands/test_add.py::test_add_git_constraint_with_extras[FOO]
226s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_git_constraint_with_extras[FOO]
227s tests/console/commands/test_add.py::test_add_git_constraint_with_subdirectory[git+https://github.com/demo/subdirectories.git#subdirectory=two-None]
227s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_git_constraint_with_subdirectory[git+https://github.com/demo/subdirectories.git#subdirectory=two-None]
227s tests/console/commands/test_add.py::test_add_git_constraint_with_subdirectory[git+https://github.com/demo/subdirectories.git@master#subdirectory=two-master]
227s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_git_constraint_with_subdirectory[git+https://github.com/demo/subdirectories.git@master#subdirectory=two-master]
228s tests/console/commands/test_add.py::test_add_git_ssh_constraint[False]
228s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_git_ssh_constraint[False]
228s tests/console/commands/test_add.py::test_add_git_ssh_constraint[True]
228s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_git_ssh_constraint[True]
228s tests/console/commands/test_add.py::test_add_directory_constraint[False-required_fixtures0]
228s [gw0] [ 4%] PASSED tests/console/commands/test_add.py::test_add_directory_constraint[False-required_fixtures0]
228s tests/console/commands/test_add.py::test_add_directory_constraint[True-required_fixtures0]
228s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_directory_constraint[True-required_fixtures0]
229s tests/console/commands/test_add.py::test_add_directory_with_poetry[required_fixtures0]
229s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_directory_with_poetry[required_fixtures0]
229s tests/console/commands/test_add.py::test_add_file_constraint_wheel[required_fixtures0]
229s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_file_constraint_wheel[required_fixtures0]
229s tests/console/commands/test_add.py::test_add_constraint_with_extras_option[msgpack]
229s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_constraint_with_extras_option[msgpack]
229s tests/console/commands/test_add.py::test_add_constraint_with_extras_option[MsgPack]
229s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_constraint_with_extras_option[MsgPack]
230s tests/console/commands/test_add.py::test_add_url_constraint_wheel
230s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_url_constraint_wheel
230s tests/console/commands/test_add.py::test_add_url_constraint_wheel_with_extras[foo]
230s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_url_constraint_wheel_with_extras[foo]
230s tests/console/commands/test_add.py::test_add_url_constraint_wheel_with_extras[FOO]
230s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_url_constraint_wheel_with_extras[FOO]
230s tests/console/commands/test_add.py::test_add_constraint_with_optional
230s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_constraint_with_optional
230s tests/console/commands/test_add.py::test_add_constraint_with_python
230s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_constraint_with_python
231s tests/console/commands/test_add.py::test_add_constraint_with_platform
231s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_constraint_with_platform
231s tests/console/commands/test_add.py::test_add_constraint_with_source
231s [gw0] [ 5%] PASSED tests/console/commands/test_add.py::test_add_constraint_with_source
231s tests/console/commands/test_add.py::test_add_constraint_with_source_that_does_not_exist
231s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_constraint_with_source_that_does_not_exist
231s tests/console/commands/test_add.py::test_add_constraint_not_found_with_source
231s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_constraint_not_found_with_source
231s tests/console/commands/test_add.py::test_add_to_section_that_does_not_exist_yet
231s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_to_section_that_does_not_exist_yet
232s tests/console/commands/test_add.py::test_add_to_dev_section_deprecated
232s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_to_dev_section_deprecated
232s tests/console/commands/test_add.py::test_add_should_not_select_prereleases
232s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_should_not_select_prereleases
232s tests/console/commands/test_add.py::test_add_should_skip_when_adding_existing_package_with_no_constraint
232s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_should_skip_when_adding_existing_package_with_no_constraint
232s tests/console/commands/test_add.py::test_add_should_skip_when_adding_canonicalized_existing_package_with_no_constraint
232s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_should_skip_when_adding_canonicalized_existing_package_with_no_constraint
232s tests/console/commands/test_add.py::test_add_should_fail_circular_dependency
232s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_should_fail_circular_dependency
233s tests/console/commands/test_add.py::test_add_latest_should_not_create_duplicate_keys
233s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_latest_should_not_create_duplicate_keys
233s tests/console/commands/test_add.py::test_add_should_work_when_adding_existing_package_with_latest_constraint
233s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_should_work_when_adding_existing_package_with_latest_constraint
233s tests/console/commands/test_add.py::test_add_chooses_prerelease_if_only_prereleases_are_available
233s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_chooses_prerelease_if_only_prereleases_are_available
233s tests/console/commands/test_add.py::test_add_prefers_stable_releases
233s [gw0] [ 6%] PASSED tests/console/commands/test_add.py::test_add_prefers_stable_releases
233s tests/console/commands/test_add.py::test_add_with_lock
233s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_with_lock
234s tests/console/commands/test_add.py::test_add_to_section_that_does_no_exist_yet
234s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_to_section_that_does_no_exist_yet
234s tests/console/commands/test_add.py::test_add_keyboard_interrupt_restore_content
234s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_keyboard_interrupt_restore_content
234s tests/console/commands/test_add.py::test_add_with_dry_run_keep_files_intact[cachy --dry-run]
234s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_with_dry_run_keep_files_intact[cachy --dry-run]
234s tests/console/commands/test_add.py::test_add_with_dry_run_keep_files_intact[cachy --lock --dry-run]
234s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_with_dry_run_keep_files_intact[cachy --lock --dry-run]
235s tests/console/commands/test_add.py::test_add_should_not_change_lock_file_when_dependency_installation_fail
235s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_should_not_change_lock_file_when_dependency_installation_fail
235s tests/console/commands/test_add.py::test_add_with_path_dependency_no_loopiness
235s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_with_path_dependency_no_loopiness
235s tests/console/commands/test_add.py::test_add_extras_are_parsed_and_included
235s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_extras_are_parsed_and_included
235s tests/console/commands/test_add.py::test_add_extras_only_accepts_one_package[requests --extras security socks]
235s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_extras_only_accepts_one_package[requests --extras security socks]
236s tests/console/commands/test_add.py::test_add_does_not_update_locked_dependencies[True-4.3.1-foo]
236s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_does_not_update_locked_dependencies[True-4.3.1-foo]
236s tests/console/commands/test_add.py::test_add_does_not_update_locked_dependencies[True-4.3.1-foo --lock]
236s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_does_not_update_locked_dependencies[True-4.3.1-foo --lock]
236s tests/console/commands/test_add.py::test_add_does_not_update_locked_dependencies[False-4.3.2-foo]
236s [gw0] [ 7%] PASSED tests/console/commands/test_add.py::test_add_does_not_update_locked_dependencies[False-4.3.2-foo]
237s tests/console/commands/test_add.py::test_add_does_not_update_locked_dependencies[False-4.3.2-foo --lock]
237s [gw0] [ 8%] PASSED tests/console/commands/test_add.py::test_add_does_not_update_locked_dependencies[False-4.3.2-foo --lock]
237s tests/console/commands/test_build.py::test_build_with_multiple_readme_files
237s [gw0] [ 8%] PASSED tests/console/commands/test_build.py::test_build_with_multiple_readme_files
237s tests/console/commands/test_check.py::test_check_private
237s [gw0] [ 8%] PASSED tests/console/commands/test_check.py::test_check_private
237s tests/console/commands/test_check.py::test_check_lock_missing[-All set!\n-0]
237s [gw0] [ 8%] PASSED tests/console/commands/test_check.py::test_check_lock_missing[-All set!\n-0]
238s tests/console/commands/test_check.py::test_check_lock_missing[--lock-Error: poetry.lock was not found.\n-1]
238s [gw0] [ 8%] PASSED tests/console/commands/test_check.py::test_check_lock_missing[--lock-Error: poetry.lock was not found.\n-1]
238s tests/console/commands/test_check.py::test_check_lock_outdated[]
238s [gw0] [ 8%] PASSED tests/console/commands/test_check.py::test_check_lock_outdated[]
238s tests/console/commands/test_check.py::test_check_lock_outdated[--lock]
238s [gw0] [ 8%] PASSED tests/console/commands/test_check.py::test_check_lock_outdated[--lock]
239s tests/console/commands/test_check.py::test_check_lock_up_to_date[]
239s [gw0] [ 8%] PASSED tests/console/commands/test_check.py::test_check_lock_up_to_date[]
239s tests/console/commands/test_check.py::test_check_lock_up_to_date[--lock]
239s [gw0] [ 8%] PASSED tests/console/commands/test_check.py::test_check_lock_up_to_date[--lock]
239s tests/console/commands/test_config.py::test_show_config_with_local_config_file_empty
239s [gw0] [ 8%] PASSED tests/console/commands/test_config.py::test_show_config_with_local_config_file_empty
239s tests/console/commands/test_config.py::test_list_displays_default_value_if_not_set
240s [gw0] [ 8%] PASSED tests/console/commands/test_config.py::test_list_displays_default_value_if_not_set
240s tests/console/commands/test_config.py::test_list_displays_set_get_setting
240s [gw0] [ 8%] PASSED tests/console/commands/test_config.py::test_list_displays_set_get_setting
240s tests/console/commands/test_config.py::test_cannot_set_with_multiple_values
240s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_cannot_set_with_multiple_values
240s tests/console/commands/test_config.py::test_cannot_set_invalid_value
240s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_cannot_set_invalid_value
240s tests/console/commands/test_config.py::test_cannot_unset_with_value
240s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_cannot_unset_with_value
240s tests/console/commands/test_config.py::test_unset_setting
240s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_unset_setting
240s tests/console/commands/test_config.py::test_unset_repo_setting
240s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_unset_repo_setting
241s tests/console/commands/test_config.py::test_unset_value_not_exists
241s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_unset_value_not_exists
241s tests/console/commands/test_config.py::test_display_single_setting[virtualenvs.create-true\n]
241s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_display_single_setting[virtualenvs.create-true\n]
241s tests/console/commands/test_config.py::test_display_single_setting[repositories.foo.url-{'url': 'https://bar.com/simple/'}\n]
241s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_display_single_setting[repositories.foo.url-{'url': 'https://bar.com/simple/'}\n]
241s tests/console/commands/test_config.py::test_display_single_local_setting
241s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_display_single_local_setting
241s tests/console/commands/test_config.py::test_display_empty_repositories_setting
241s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_display_empty_repositories_setting
242s tests/console/commands/test_config.py::test_unset_nonempty_repositories_section[repositories-You cannot remove the [repositories] section]
242s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_unset_nonempty_repositories_section[repositories-You cannot remove the [repositories] section]
242s tests/console/commands/test_config.py::test_unset_nonempty_repositories_section[repositories.test-There is no test repository defined]
242s [gw0] [ 9%] PASSED tests/console/commands/test_config.py::test_unset_nonempty_repositories_section[repositories.test-There is no test repository defined]
242s tests/console/commands/test_config.py::test_set_malformed_repositories_setting
242s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_set_malformed_repositories_setting
242s tests/console/commands/test_config.py::test_display_undefined_setting[repositories.foo-There is no foo repository defined]
242s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_display_undefined_setting[repositories.foo-There is no foo repository defined]
242s tests/console/commands/test_config.py::test_display_undefined_setting[foo-There is no foo setting.]
242s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_display_undefined_setting[foo-There is no foo setting.]
242s tests/console/commands/test_config.py::test_list_displays_set_get_local_setting
242s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_list_displays_set_get_local_setting
243s tests/console/commands/test_config.py::test_list_must_not_display_sources_from_pyproject_toml
243s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_list_must_not_display_sources_from_pyproject_toml
243s tests/console/commands/test_config.py::test_set_http_basic
243s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_set_http_basic
243s tests/console/commands/test_config.py::test_unset_http_basic
243s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_unset_http_basic
243s tests/console/commands/test_config.py::test_set_http_basic_unsuccessful_multiple_values
243s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_set_http_basic_unsuccessful_multiple_values
244s tests/console/commands/test_config.py::test_set_pypi_token
244s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_set_pypi_token
244s tests/console/commands/test_config.py::test_unset_pypi_token
244s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_unset_pypi_token
244s tests/console/commands/test_config.py::test_set_pypi_token_unsuccessful_multiple_values
244s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_set_pypi_token_unsuccessful_multiple_values
244s tests/console/commands/test_config.py::test_set_pypi_token_no_values
244s [gw0] [ 10%] PASSED tests/console/commands/test_config.py::test_set_pypi_token_no_values
244s tests/console/commands/test_config.py::test_set_client_cert
244s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_set_client_cert
244s tests/console/commands/test_config.py::test_set_client_cert_unsuccessful_multiple_values
244s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_set_client_cert_unsuccessful_multiple_values
245s tests/console/commands/test_config.py::test_set_cert[path/to/ca.pem-path/to/ca.pem]
245s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_set_cert[path/to/ca.pem-path/to/ca.pem]
245s tests/console/commands/test_config.py::test_set_cert[true-True]
245s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_set_cert[true-True]
245s tests/console/commands/test_config.py::test_set_cert[false-False]
245s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_set_cert[false-False]
245s tests/console/commands/test_config.py::test_unset_cert
245s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_unset_cert
245s tests/console/commands/test_config.py::test_config_installer_parallel
245s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_config_installer_parallel
245s tests/console/commands/test_config.py::test_config_installer_no_binary[true-expected0]
245s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_config_installer_no_binary[true-expected0]
245s tests/console/commands/test_config.py::test_config_installer_no_binary[1-expected1]
246s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_config_installer_no_binary[1-expected1]
246s tests/console/commands/test_config.py::test_config_installer_no_binary[false-expected2]
246s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_config_installer_no_binary[false-expected2]
246s tests/console/commands/test_config.py::test_config_installer_no_binary[0-expected3]
246s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_config_installer_no_binary[0-expected3]
246s tests/console/commands/test_config.py::test_config_installer_no_binary[pytest-expected4]
246s [gw0] [ 11%] PASSED tests/console/commands/test_config.py::test_config_installer_no_binary[pytest-expected4]
246s tests/console/commands/test_config.py::test_config_installer_no_binary[PyTest-expected5]
246s [gw0] [ 12%] PASSED tests/console/commands/test_config.py::test_config_installer_no_binary[PyTest-expected5]
246s tests/console/commands/test_config.py::test_config_installer_no_binary[pytest,black-expected6]
246s [gw0] [ 12%] PASSED tests/console/commands/test_config.py::test_config_installer_no_binary[pytest,black-expected6]
246s tests/console/commands/test_config.py::test_config_installer_no_binary[-expected7]
246s [gw0] [ 12%] PASSED tests/console/commands/test_config.py::test_config_installer_no_binary[-expected7]
247s tests/console/commands/test_init.py::test_basic_interactive
247s [gw0] [ 12%] PASSED tests/console/commands/test_init.py::test_basic_interactive
247s tests/console/commands/test_init.py::test_noninteractive
247s [gw0] [ 12%] PASSED tests/console/commands/test_init.py::test_noninteractive
247s tests/console/commands/test_init.py::test_interactive_with_dependencies
247s [gw0] [ 12%] PASSED tests/console/commands/test_init.py::test_interactive_with_dependencies
247s tests/console/commands/test_init.py::test_interactive_with_dependencies_and_no_selection
247s [gw0] [ 12%] PASSED tests/console/commands/test_init.py::test_interactive_with_dependencies_and_no_selection
247s tests/console/commands/test_init.py::test_empty_license
247s [gw0] [ 12%] PASSED tests/console/commands/test_init.py::test_empty_license
247s tests/console/commands/test_init.py::test_interactive_with_git_dependencies
247s [gw0] [ 12%] PASSED tests/console/commands/test_init.py::test_interactive_with_git_dependencies
247s tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages0-flask]
247s [gw0] [ 12%] PASSED tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages0-flask]
247s tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages0-Flask]
247s [gw0] [ 12%] PASSED tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages0-Flask]
247s tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages0-flAsK]
247s [gw0] [ 12%] PASSED tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages0-flAsK]
247s tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages1-flask]
247s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages1-flask]
247s tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages1-Flask]
247s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages1-Flask]
247s tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages1-flAsK]
247s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_generate_choice_list[_generate_choice_list_packages1-flAsK]
247s tests/console/commands/test_init.py::test_interactive_with_git_dependencies_with_reference
247s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_interactive_with_git_dependencies_with_reference
247s tests/console/commands/test_init.py::test_interactive_with_git_dependencies_and_other_name
247s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_interactive_with_git_dependencies_and_other_name
247s tests/console/commands/test_init.py::test_interactive_with_directory_dependency
247s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_interactive_with_directory_dependency
248s tests/console/commands/test_init.py::test_interactive_with_directory_dependency_and_other_name
248s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_interactive_with_directory_dependency_and_other_name
248s tests/console/commands/test_init.py::test_interactive_with_file_dependency
248s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_interactive_with_file_dependency
248s tests/console/commands/test_init.py::test_interactive_with_wrong_dependency_inputs
248s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_interactive_with_wrong_dependency_inputs
248s tests/console/commands/test_init.py::test_python_option
248s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_python_option
248s tests/console/commands/test_init.py::test_predefined_dependency
248s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_predefined_dependency
248s tests/console/commands/test_init.py::test_predefined_and_interactive_dependencies
248s [gw0] [ 13%] PASSED tests/console/commands/test_init.py::test_predefined_and_interactive_dependencies
248s tests/console/commands/test_init.py::test_predefined_dev_dependency
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_predefined_dev_dependency
248s tests/console/commands/test_init.py::test_predefined_and_interactive_dev_dependencies
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_predefined_and_interactive_dev_dependencies
248s tests/console/commands/test_init.py::test_predefined_all_options
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_predefined_all_options
248s tests/console/commands/test_init.py::test_add_package_with_extras_and_whitespace
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_add_package_with_extras_and_whitespace
248s tests/console/commands/test_init.py::test_init_existing_pyproject_simple
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_init_existing_pyproject_simple
248s tests/console/commands/test_init.py::test_init_existing_pyproject_consistent_linesep[\n]
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_init_existing_pyproject_consistent_linesep[\n]
248s tests/console/commands/test_init.py::test_init_existing_pyproject_consistent_linesep[\r\n]
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_init_existing_pyproject_consistent_linesep[\r\n]
248s tests/console/commands/test_init.py::test_init_non_interactive_existing_pyproject_add_dependency
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_init_non_interactive_existing_pyproject_add_dependency
248s tests/console/commands/test_init.py::test_init_existing_pyproject_with_build_system_fails
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_init_existing_pyproject_with_build_system_fails
248s tests/console/commands/test_init.py::test_validate_package_valid[None]
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_validate_package_valid[None]
248s tests/console/commands/test_init.py::test_validate_package_valid[]
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_validate_package_valid[]
248s tests/console/commands/test_init.py::test_validate_package_valid[foo]
248s [gw0] [ 14%] PASSED tests/console/commands/test_init.py::test_validate_package_valid[foo]
248s tests/console/commands/test_init.py::test_validate_package_valid[ foo ]
248s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_validate_package_valid[ foo ]
248s tests/console/commands/test_init.py::test_validate_package_valid[foo==2.0]
248s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_validate_package_valid[foo==2.0]
248s tests/console/commands/test_init.py::test_validate_package_valid[foo@2.0]
248s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_validate_package_valid[foo@2.0]
248s tests/console/commands/test_init.py::test_validate_package_valid[ foo@2.0 ]
248s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_validate_package_valid[ foo@2.0 ]
248s tests/console/commands/test_init.py::test_validate_package_valid[foo 2.0]
248s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_validate_package_valid[foo 2.0]
248s tests/console/commands/test_init.py::test_validate_package_valid[ foo 2.0 ]
248s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_validate_package_valid[ foo 2.0 ]
248s tests/console/commands/test_init.py::test_validate_package_invalid[foo bar 2.0]
248s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_validate_package_invalid[foo bar 2.0]
248s tests/console/commands/test_init.py::test_validate_package_invalid[ foo bar 2.0 ]
248s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_validate_package_invalid[ foo bar 2.0 ]
248s tests/console/commands/test_init.py::test_validate_package_invalid[foo bar foobar 2.0]
248s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_validate_package_invalid[foo bar foobar 2.0]
248s tests/console/commands/test_init.py::test_package_include[mypackage-None]
248s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_package_include[mypackage-None]
248s tests/console/commands/test_init.py::test_package_include[my-package-my_package]
248s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_package_include[my-package-my_package]
249s tests/console/commands/test_init.py::test_package_include[my.package-my]
249s [gw0] [ 15%] PASSED tests/console/commands/test_init.py::test_package_include[my.package-my]
249s tests/console/commands/test_init.py::test_package_include[my-awesome-package-my_awesome_package]
249s [gw0] [ 16%] PASSED tests/console/commands/test_init.py::test_package_include[my-awesome-package-my_awesome_package]
249s tests/console/commands/test_init.py::test_package_include[my.awesome.package-my]
249s [gw0] [ 16%] PASSED tests/console/commands/test_init.py::test_package_include[my.awesome.package-my]
249s tests/console/commands/test_init.py::test_respect_prefer_active_on_init[False-3.12]
249s [gw0] [ 16%] PASSED tests/console/commands/test_init.py::test_respect_prefer_active_on_init[False-3.12]
249s tests/console/commands/test_init.py::test_get_pool
249s [gw0] [ 16%] PASSED tests/console/commands/test_init.py::test_get_pool
249s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True--groups0]
249s [gw0] [ 16%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True--groups0]
249s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---only-root-groups1]
249s [gw0] [ 16%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---only-root-groups1]
249s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---only main-groups2]
249s [gw0] [ 16%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---only main-groups2]
249s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---only foo-groups3]
249s [gw0] [ 16%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---only foo-groups3]
249s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---only foo,bar-groups4]
249s [gw0] [ 16%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---only foo,bar-groups4]
250s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---only bam-groups5]
250s [gw0] [ 16%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---only bam-groups5]
250s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---with bam-groups6]
250s [gw0] [ 16%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---with bam-groups6]
250s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---without foo,bar-groups7]
250s [gw0] [ 16%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---without foo,bar-groups7]
250s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---without main-groups8]
250s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---without main-groups8]
251s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---with foo,bar --without baz --without bim --only bam-groups9]
251s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---with foo,bar --without baz --without bim --only bam-groups9]
251s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---with foo-groups10]
251s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---with foo-groups10]
251s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---without bam-groups11]
251s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---without bam-groups11]
251s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---with bam --without bam-groups12]
251s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---with bam --without bam-groups12]
251s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---with foo --without foo-groups13]
251s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---with foo --without foo-groups13]
251s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---no-dev-groups14]
251s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[True---no-dev-groups14]
252s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False--groups0]
252s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False--groups0]
252s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---only-root-groups1]
252s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---only-root-groups1]
252s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---only main-groups2]
252s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---only main-groups2]
252s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---only foo-groups3]
252s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---only foo-groups3]
252s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---only foo,bar-groups4]
252s [gw0] [ 17%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---only foo,bar-groups4]
252s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---only bam-groups5]
252s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---only bam-groups5]
252s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---with bam-groups6]
252s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---with bam-groups6]
253s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---without foo,bar-groups7]
253s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---without foo,bar-groups7]
253s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---without main-groups8]
253s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---without main-groups8]
253s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---with foo,bar --without baz --without bim --only bam-groups9]
253s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---with foo,bar --without baz --without bim --only bam-groups9]
253s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---with foo-groups10]
253s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---with foo-groups10]
253s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---without bam-groups11]
253s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---without bam-groups11]
253s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---with bam --without bam-groups12]
253s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---with bam --without bam-groups12]
254s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---with foo --without foo-groups13]
254s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---with foo --without foo-groups13]
254s tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---no-dev-groups14]
254s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_group_options_are_passed_to_the_installer[False---no-dev-groups14]
254s tests/console/commands/test_install.py::test_sync_option_is_passed_to_the_installer
254s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_sync_option_is_passed_to_the_installer
254s tests/console/commands/test_install.py::test_compile_option_is_passed_to_the_installer[False]
254s [gw0] [ 18%] PASSED tests/console/commands/test_install.py::test_compile_option_is_passed_to_the_installer[False]
254s tests/console/commands/test_install.py::test_compile_option_is_passed_to_the_installer[True]
254s [gw0] [ 19%] PASSED tests/console/commands/test_install.py::test_compile_option_is_passed_to_the_installer[True]
254s tests/console/commands/test_install.py::test_no_directory_is_passed_to_installer[True]
254s [gw0] [ 19%] PASSED tests/console/commands/test_install.py::test_no_directory_is_passed_to_installer[True]
255s tests/console/commands/test_install.py::test_no_directory_is_passed_to_installer[False]
255s [gw0] [ 19%] PASSED tests/console/commands/test_install.py::test_no_directory_is_passed_to_installer[False]
255s tests/console/commands/test_install.py::test_no_all_extras_doesnt_populate_installer
255s [gw0] [ 19%] PASSED tests/console/commands/test_install.py::test_no_all_extras_doesnt_populate_installer
255s tests/console/commands/test_install.py::test_all_extras_populates_installer
255s [gw0] [ 19%] PASSED tests/console/commands/test_install.py::test_all_extras_populates_installer
255s tests/console/commands/test_install.py::test_extras_are_parsed_and_populate_installer
255s [gw0] [ 19%] PASSED tests/console/commands/test_install.py::test_extras_are_parsed_and_populate_installer
255s tests/console/commands/test_install.py::test_extras_conflicts_all_extras
255s [gw0] [ 19%] PASSED tests/console/commands/test_install.py::test_extras_conflicts_all_extras
255s tests/console/commands/test_install.py::test_only_root_conflicts_with_without_only[--with foo]
255s [gw0] [ 19%] PASSED tests/console/commands/test_install.py::test_only_root_conflicts_with_without_only[--with foo]
256s tests/console/commands/test_install.py::test_only_root_conflicts_with_without_only[--without foo]
256s [gw0] [ 19%] PASSED tests/console/commands/test_install.py::test_only_root_conflicts_with_without_only[--without foo]
256s tests/console/commands/test_install.py::test_only_root_conflicts_with_without_only[--with foo,bar --without baz]
256s [gw0] [ 19%] PASSED tests/console/commands/test_install.py::test_only_root_conflicts_with_without_only[--with foo,bar --without baz]
256s tests/console/commands/test_install.py::test_only_root_conflicts_with_without_only[--only foo]
256s [gw0] [ 19%] PASSED tests/console/commands/test_install.py::test_only_root_conflicts_with_without_only[--only foo]
256s tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options0-valid_groups0-False]
256s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options0-valid_groups0-False]
256s tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options1-valid_groups1-True]
256s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options1-valid_groups1-True]
256s tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options2-valid_groups2-True]
256s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options2-valid_groups2-True]
257s tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options3-valid_groups3-True]
257s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options3-valid_groups3-True]
257s tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options4-valid_groups4-True]
257s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options4-valid_groups4-True]
257s tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options5-valid_groups5-True]
257s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options5-valid_groups5-True]
257s tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options6-valid_groups6-True]
257s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options6-valid_groups6-True]
257s tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options7-valid_groups7-True]
257s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options7-valid_groups7-True]
257s tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options8-valid_groups8-False]
257s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options8-valid_groups8-False]
258s tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options9-valid_groups9-False]
258s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_invalid_groups_with_without_only[options9-valid_groups9-False]
258s tests/console/commands/test_install.py::test_remove_untracked_outputs_deprecation_warning
258s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_remove_untracked_outputs_deprecation_warning
258s tests/console/commands/test_install.py::test_dry_run_populates_installer
258s [gw0] [ 20%] PASSED tests/console/commands/test_install.py::test_dry_run_populates_installer
258s tests/console/commands/test_install.py::test_dry_run_does_not_build
258s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_dry_run_does_not_build
258s tests/console/commands/test_install.py::test_install_logs_output
258s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_install_logs_output
258s tests/console/commands/test_install.py::test_install_logs_output_decorated
258s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_install_logs_output_decorated
259s tests/console/commands/test_install.py::test_install_warning_corrupt_root[module-True]
259s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_install_warning_corrupt_root[module-True]
259s tests/console/commands/test_install.py::test_install_warning_corrupt_root[readme-True]
259s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_install_warning_corrupt_root[readme-True]
259s tests/console/commands/test_install.py::test_install_warning_corrupt_root[-True]
259s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_install_warning_corrupt_root[-True]
259s tests/console/commands/test_install.py::test_install_path_dependency_does_not_exist[missing_directory_dependency-]
259s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_install_path_dependency_does_not_exist[missing_directory_dependency-]
260s tests/console/commands/test_install.py::test_install_path_dependency_does_not_exist[missing_directory_dependency---without dev]
260s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_install_path_dependency_does_not_exist[missing_directory_dependency---without dev]
260s tests/console/commands/test_install.py::test_install_path_dependency_does_not_exist[missing_file_dependency-]
260s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_install_path_dependency_does_not_exist[missing_file_dependency-]
260s tests/console/commands/test_install.py::test_install_path_dependency_does_not_exist[missing_file_dependency---without dev]
260s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_install_path_dependency_does_not_exist[missing_file_dependency---without dev]
261s tests/console/commands/test_install.py::test_install_missing_directory_dependency_with_no_directory[]
261s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_install_missing_directory_dependency_with_no_directory[]
261s tests/console/commands/test_install.py::test_install_missing_directory_dependency_with_no_directory[--no-directory]
261s [gw0] [ 21%] PASSED tests/console/commands/test_install.py::test_install_missing_directory_dependency_with_no_directory[--no-directory]
261s tests/console/commands/test_lock.py::test_lock_check_outdated_legacy
261s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_check_outdated_legacy
262s tests/console/commands/test_lock.py::test_lock_check_up_to_date_legacy
262s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_check_up_to_date_legacy
262s tests/console/commands/test_lock.py::test_lock_path_dependency_does_not_exist[missing_directory_dependency-True]
262s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_path_dependency_does_not_exist[missing_directory_dependency-True]
262s tests/console/commands/test_lock.py::test_lock_path_dependency_does_not_exist[missing_directory_dependency-False]
262s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_path_dependency_does_not_exist[missing_directory_dependency-False]
262s tests/console/commands/test_lock.py::test_lock_path_dependency_does_not_exist[missing_file_dependency-True]
262s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_path_dependency_does_not_exist[missing_file_dependency-True]
263s tests/console/commands/test_lock.py::test_lock_path_dependency_does_not_exist[missing_file_dependency-False]
263s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_path_dependency_does_not_exist[missing_file_dependency-False]
263s tests/console/commands/test_lock.py::test_lock_path_dependency_deleted_from_pyproject[deleted_directory_dependency-True]
263s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_path_dependency_deleted_from_pyproject[deleted_directory_dependency-True]
263s tests/console/commands/test_lock.py::test_lock_path_dependency_deleted_from_pyproject[deleted_directory_dependency-False]
263s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_path_dependency_deleted_from_pyproject[deleted_directory_dependency-False]
264s tests/console/commands/test_lock.py::test_lock_path_dependency_deleted_from_pyproject[deleted_file_dependency-True]
264s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_path_dependency_deleted_from_pyproject[deleted_file_dependency-True]
264s tests/console/commands/test_lock.py::test_lock_path_dependency_deleted_from_pyproject[deleted_file_dependency-False]
264s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_path_dependency_deleted_from_pyproject[deleted_file_dependency-False]
264s tests/console/commands/test_lock.py::test_lock_with_incompatible_lockfile[False]
264s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_with_incompatible_lockfile[False]
264s tests/console/commands/test_lock.py::test_lock_with_incompatible_lockfile[True]
264s [gw0] [ 22%] PASSED tests/console/commands/test_lock.py::test_lock_with_incompatible_lockfile[True]
265s tests/console/commands/test_lock.py::test_lock_with_invalid_lockfile[False]
265s [gw0] [ 23%] PASSED tests/console/commands/test_lock.py::test_lock_with_invalid_lockfile[False]
265s tests/console/commands/test_lock.py::test_lock_with_invalid_lockfile[True]
265s [gw0] [ 23%] PASSED tests/console/commands/test_lock.py::test_lock_with_invalid_lockfile[True]
265s tests/console/commands/test_new.py::test_command_new[options0-package-package-package-None]
265s [gw0] [ 23%] PASSED tests/console/commands/test_new.py::test_command_new[options0-package-package-package-None]
265s tests/console/commands/test_new.py::test_command_new[options1-package-package-src/package-src]
266s [gw0] [ 23%] PASSED tests/console/commands/test_new.py::test_command_new[options1-package-package-src/package-src]
266s tests/console/commands/test_new.py::test_command_new[options2-namespace-package-namespace-package-namespace/package-None]
266s [gw0] [ 23%] PASSED tests/console/commands/test_new.py::test_command_new[options2-namespace-package-namespace-package-namespace/package-None]
266s tests/console/commands/test_new.py::test_command_new[options3-namespace-package-namespace-package-src/namespace/package-src]
266s [gw0] [ 23%] PASSED tests/console/commands/test_new.py::test_command_new[options3-namespace-package-namespace-package-src/namespace/package-src]
266s tests/console/commands/test_new.py::test_command_new[options4-namespace-package_a-namespace-package-a-namespace/package_a-None]
266s [gw0] [ 23%] PASSED tests/console/commands/test_new.py::test_command_new[options4-namespace-package_a-namespace-package-a-namespace/package_a-None]
267s tests/console/commands/test_new.py::test_command_new[options5-namespace-package_a-namespace-package-a-src/namespace/package_a-src]
267s [gw0] [ 23%] PASSED tests/console/commands/test_new.py::test_command_new[options5-namespace-package_a-namespace-package-a-src/namespace/package_a-src]
267s tests/console/commands/test_new.py::test_command_new[options6-namespace-package-namespace-package-namespace_package-None]
267s [gw0] [ 23%] PASSED tests/console/commands/test_new.py::test_command_new[options6-namespace-package-namespace-package-namespace_package-None]
267s tests/console/commands/test_new.py::test_command_new[options7-namespace-package-namespace-package-src/namespace_package-src]
267s [gw0] [ 23%] PASSED tests/console/commands/test_new.py::test_command_new[options7-namespace-package-namespace-package-src/namespace_package-src]
267s tests/console/commands/test_new.py::test_command_new[options8-package-namespace-package-namespace/package-None]
267s [gw0] [ 23%] PASSED tests/console/commands/test_new.py::test_command_new[options8-package-namespace-package-namespace/package-None]
268s tests/console/commands/test_new.py::test_command_new[options9-package-namespace-package-src/namespace/package-src]
268s [gw0] [ 23%] PASSED tests/console/commands/test_new.py::test_command_new[options9-package-namespace-package-src/namespace/package-src]
268s tests/console/commands/test_new.py::test_command_new[options10-package-namespace-package-namespace/package-None]
268s [gw0] [ 24%] PASSED tests/console/commands/test_new.py::test_command_new[options10-package-namespace-package-namespace/package-None]
268s tests/console/commands/test_new.py::test_command_new[options11-package-namespace-package-src/namespace/package-src]
268s [gw0] [ 24%] PASSED tests/console/commands/test_new.py::test_command_new[options11-package-namespace-package-src/namespace/package-src]
269s tests/console/commands/test_new.py::test_command_new[options12-namespace_package-namespace-package-namespace_package-None]
269s [gw0] [ 24%] PASSED tests/console/commands/test_new.py::test_command_new[options12-namespace_package-namespace-package-namespace_package-None]
269s tests/console/commands/test_new.py::test_command_new[options13-namespace_package-namespace-package-src/namespace_package-src]
269s [gw0] [ 24%] PASSED tests/console/commands/test_new.py::test_command_new[options13-namespace_package-namespace-package-src/namespace_package-src]
269s tests/console/commands/test_new.py::test_command_new_with_readme[None]
269s [gw0] [ 24%] PASSED tests/console/commands/test_new.py::test_command_new_with_readme[None]
269s tests/console/commands/test_new.py::test_command_new_with_readme[md]
269s [gw0] [ 24%] PASSED tests/console/commands/test_new.py::test_command_new_with_readme[md]
270s tests/console/commands/test_new.py::test_command_new_with_readme[rst]
270s [gw0] [ 24%] PASSED tests/console/commands/test_new.py::test_command_new_with_readme[rst]
270s tests/console/commands/test_new.py::test_command_new_with_readme[adoc]
270s [gw0] [ 24%] PASSED tests/console/commands/test_new.py::test_command_new_with_readme[adoc]
270s tests/console/commands/test_new.py::test_command_new_with_readme[creole]
270s [gw0] [ 24%] PASSED tests/console/commands/test_new.py::test_command_new_with_readme[creole]
270s tests/console/commands/test_new.py::test_respect_prefer_active_on_new[False-3.12]
270s [gw0] [ 24%] PASSED tests/console/commands/test_new.py::test_respect_prefer_active_on_new[False-3.12]
271s tests/console/commands/test_publish.py::test_publish_returns_non_zero_code_for_upload_errors
271s [gw0] [ 24%] FAILED tests/console/commands/test_publish.py::test_publish_returns_non_zero_code_for_upload_errors
271s tests/console/commands/test_publish.py::test_publish_returns_non_zero_code_for_connection_errors
271s [gw0] [ 24%] FAILED tests/console/commands/test_publish.py::test_publish_returns_non_zero_code_for_connection_errors
271s tests/console/commands/test_publish.py::test_publish_with_cert
271s [gw0] [ 25%] PASSED tests/console/commands/test_publish.py::test_publish_with_cert
271s tests/console/commands/test_publish.py::test_publish_with_client_cert
271s [gw0] [ 25%] PASSED tests/console/commands/test_publish.py::test_publish_with_client_cert
271s tests/console/commands/test_remove.py::test_remove_without_specific_group_removes_from_all_groups
271s [gw0] [ 25%] PASSED tests/console/commands/test_remove.py::test_remove_without_specific_group_removes_from_all_groups
271s tests/console/commands/test_remove.py::test_remove_without_specific_group_removes_from_specific_groups
271s [gw0] [ 25%] PASSED tests/console/commands/test_remove.py::test_remove_without_specific_group_removes_from_specific_groups
272s tests/console/commands/test_remove.py::test_remove_does_not_live_empty_groups
272s [gw0] [ 25%] PASSED tests/console/commands/test_remove.py::test_remove_does_not_live_empty_groups
272s tests/console/commands/test_remove.py::test_remove_canonicalized_named_removes_dependency_correctly
272s [gw0] [ 25%] PASSED tests/console/commands/test_remove.py::test_remove_canonicalized_named_removes_dependency_correctly
272s tests/console/commands/test_remove.py::test_remove_command_should_not_write_changes_upon_installer_errors
272s [gw0] [ 25%] PASSED tests/console/commands/test_remove.py::test_remove_command_should_not_write_changes_upon_installer_errors
272s tests/console/commands/test_remove.py::test_remove_with_dry_run_keep_files_intact
272s [gw0] [ 25%] PASSED tests/console/commands/test_remove.py::test_remove_with_dry_run_keep_files_intact
273s tests/console/commands/test_remove.py::test_remove_performs_uninstall_op
273s [gw0] [ 25%] PASSED tests/console/commands/test_remove.py::test_remove_performs_uninstall_op
273s tests/console/commands/test_remove.py::test_remove_with_lock_does_not_perform_uninstall_op
273s [gw0] [ 25%] PASSED tests/console/commands/test_remove.py::test_remove_with_lock_does_not_perform_uninstall_op
273s tests/console/commands/test_run.py::test_run_passes_all_args
273s [gw0] [ 25%] PASSED tests/console/commands/test_run.py::test_run_passes_all_args
273s tests/console/commands/test_run.py::test_run_keeps_options_passed_before_command
273s [gw0] [ 25%] PASSED tests/console/commands/test_run.py::test_run_keeps_options_passed_before_command
274s tests/console/commands/test_run.py::test_run_has_helpful_error_when_command_not_found
274s [gw0] [ 26%] PASSED tests/console/commands/test_run.py::test_run_has_helpful_error_when_command_not_found
274s tests/console/commands/test_run.py::test_run_console_scripts_of_editable_dependencies_on_windows
274s [gw0] [ 26%] SKIPPED tests/console/commands/test_run.py::test_run_console_scripts_of_editable_dependencies_on_windows
274s tests/console/commands/test_run.py::test_run_script_exit_code
274s [gw0] [ 26%] PASSED tests/console/commands/test_run.py::test_run_script_exit_code
275s tests/console/commands/test_run.py::test_run_script_sys_argv0[not installed]
275s [gw0] [ 26%] PASSED tests/console/commands/test_run.py::test_run_script_sys_argv0[not installed]
275s tests/console/commands/test_run.py::test_run_script_sys_argv0[installed]
275s [gw0] [ 26%] PASSED tests/console/commands/test_run.py::test_run_script_sys_argv0[installed]
275s tests/console/commands/test_search.py::test_search
275s [gw0] [ 26%] FAILED tests/console/commands/test_search.py::test_search
276s tests/console/commands/test_show.py::test_show_basic_with_installed_packages
276s [gw0] [ 26%] PASSED tests/console/commands/test_show.py::test_show_basic_with_installed_packages
276s tests/console/commands/test_show.py::test_show_basic_with_group_options[-cachy 0.1.0 Cachy package\npytest 3.7.3 Pytest package\n]
276s [gw0] [ 26%] PASSED tests/console/commands/test_show.py::test_show_basic_with_group_options[-cachy 0.1.0 Cachy package\npytest 3.7.3 Pytest package\n]
276s tests/console/commands/test_show.py::test_show_basic_with_group_options[--with time-cachy 0.1.0 Cachy package\npendulum 2.0.0 Pendulum package\npytest 3.7.3 Pytest package\n0]
276s [gw0] [ 26%] PASSED tests/console/commands/test_show.py::test_show_basic_with_group_options[--with time-cachy 0.1.0 Cachy package\npendulum 2.0.0 Pendulum package\npytest 3.7.3 Pytest package\n0]
276s tests/console/commands/test_show.py::test_show_basic_with_group_options[--without test-cachy 0.1.0 Cachy package\n]
276s [gw0] [ 26%] PASSED tests/console/commands/test_show.py::test_show_basic_with_group_options[--without test-cachy 0.1.0 Cachy package\n]
276s tests/console/commands/test_show.py::test_show_basic_with_group_options[--without main-pytest 3.7.3 Pytest package\n]
276s [gw0] [ 26%] PASSED tests/console/commands/test_show.py::test_show_basic_with_group_options[--without main-pytest 3.7.3 Pytest package\n]
276s tests/console/commands/test_show.py::test_show_basic_with_group_options[--only main-cachy 0.1.0 Cachy package\n]
276s [gw0] [ 26%] PASSED tests/console/commands/test_show.py::test_show_basic_with_group_options[--only main-cachy 0.1.0 Cachy package\n]
277s tests/console/commands/test_show.py::test_show_basic_with_group_options[--no-dev-cachy 0.1.0 Cachy package\n]
277s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_basic_with_group_options[--no-dev-cachy 0.1.0 Cachy package\n]
277s tests/console/commands/test_show.py::test_show_basic_with_group_options[--with time --without test-cachy 0.1.0 Cachy package\npendulum 2.0.0 Pendulum package\n]
277s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_basic_with_group_options[--with time --without test-cachy 0.1.0 Cachy package\npendulum 2.0.0 Pendulum package\n]
277s tests/console/commands/test_show.py::test_show_basic_with_group_options[--with time --without main,test-pendulum 2.0.0 Pendulum package\n]
277s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_basic_with_group_options[--with time --without main,test-pendulum 2.0.0 Pendulum package\n]
277s tests/console/commands/test_show.py::test_show_basic_with_group_options[--only time-pendulum 2.0.0 Pendulum package\n]
277s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_basic_with_group_options[--only time-pendulum 2.0.0 Pendulum package\n]
277s tests/console/commands/test_show.py::test_show_basic_with_group_options[--only time --with test-pendulum 2.0.0 Pendulum package\n]
277s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_basic_with_group_options[--only time --with test-pendulum 2.0.0 Pendulum package\n]
277s tests/console/commands/test_show.py::test_show_basic_with_group_options[--with time-cachy 0.1.0 Cachy package\npendulum 2.0.0 Pendulum package\npytest 3.7.3 Pytest package\n1]
277s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_basic_with_group_options[--with time-cachy 0.1.0 Cachy package\npendulum 2.0.0 Pendulum package\npytest 3.7.3 Pytest package\n1]
278s tests/console/commands/test_show.py::test_show_basic_with_installed_packages_single
278s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_basic_with_installed_packages_single
278s tests/console/commands/test_show.py::test_show_basic_with_installed_packages_single_canonicalized
278s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_basic_with_installed_packages_single_canonicalized
278s tests/console/commands/test_show.py::test_show_basic_with_not_installed_packages_non_decorated
278s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_basic_with_not_installed_packages_non_decorated
278s tests/console/commands/test_show.py::test_show_basic_with_not_installed_packages_decorated
278s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_basic_with_not_installed_packages_decorated
278s tests/console/commands/test_show.py::test_show_latest_non_decorated
278s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_latest_non_decorated
278s tests/console/commands/test_show.py::test_show_latest_decorated
278s [gw0] [ 27%] PASSED tests/console/commands/test_show.py::test_show_latest_decorated
279s tests/console/commands/test_show.py::test_show_outdated
279s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_outdated
279s tests/console/commands/test_show.py::test_show_outdated_with_only_up_to_date_packages
279s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_outdated_with_only_up_to_date_packages
279s tests/console/commands/test_show.py::test_show_outdated_has_prerelease_but_not_allowed
279s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_outdated_has_prerelease_but_not_allowed
279s tests/console/commands/test_show.py::test_show_outdated_has_prerelease_and_allowed
279s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_outdated_has_prerelease_and_allowed
279s tests/console/commands/test_show.py::test_show_outdated_formatting
279s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_outdated_formatting
279s tests/console/commands/test_show.py::test_show_outdated_local_dependencies[project_with_local_dependencies-required_fixtures0]
279s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_outdated_local_dependencies[project_with_local_dependencies-required_fixtures0]
280s tests/console/commands/test_show.py::test_show_outdated_git_dev_dependency[project_with_git_dev_dependency]
280s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_outdated_git_dev_dependency[project_with_git_dev_dependency]
280s tests/console/commands/test_show.py::test_show_outdated_no_dev_git_dev_dependency[project_with_git_dev_dependency]
280s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_outdated_no_dev_git_dev_dependency[project_with_git_dev_dependency]
280s tests/console/commands/test_show.py::test_show_hides_incompatible_package
280s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_hides_incompatible_package
280s tests/console/commands/test_show.py::test_show_all_shows_incompatible_package
280s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_all_shows_incompatible_package
280s tests/console/commands/test_show.py::test_show_hides_incompatible_package_with_duplicate
280s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_hides_incompatible_package_with_duplicate
280s tests/console/commands/test_show.py::test_show_all_shows_all_duplicates
280s [gw0] [ 28%] PASSED tests/console/commands/test_show.py::test_show_all_shows_all_duplicates
281s tests/console/commands/test_show.py::test_show_non_dev_with_basic_installed_packages
281s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_show_non_dev_with_basic_installed_packages
281s tests/console/commands/test_show.py::test_show_with_group_only
281s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_show_with_group_only
281s tests/console/commands/test_show.py::test_show_with_optional_group
281s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_show_with_optional_group
281s tests/console/commands/test_show.py::test_show_tree
281s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_show_tree
281s tests/console/commands/test_show.py::test_show_tree_no_dev
281s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_show_tree_no_dev
281s tests/console/commands/test_show.py::test_show_tree_why_package
281s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_show_tree_why_package
282s tests/console/commands/test_show.py::test_show_tree_why
282s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_show_tree_why
282s tests/console/commands/test_show.py::test_show_required_by_deps
282s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_show_required_by_deps
282s tests/console/commands/test_show.py::test_show_errors_without_lock_file
282s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_show_errors_without_lock_file
282s tests/console/commands/test_show.py::test_show_dependency_installed_from_git_in_dev
282s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_show_dependency_installed_from_git_in_dev
282s tests/console/commands/test_show.py::test_url_dependency_is_not_outdated_by_repository_package
282s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_url_dependency_is_not_outdated_by_repository_package
282s tests/console/commands/test_show.py::test_show_top_level
282s [gw0] [ 29%] PASSED tests/console/commands/test_show.py::test_show_top_level
283s tests/console/commands/test_show.py::test_show_top_level_with_explicitly_defined_depenancy
283s [gw0] [ 30%] PASSED tests/console/commands/test_show.py::test_show_top_level_with_explicitly_defined_depenancy
283s tests/console/commands/test_show.py::test_show_top_level_with_extras
283s [gw0] [ 30%] PASSED tests/console/commands/test_show.py::test_show_top_level_with_extras
283s tests/console/commands/test_show.py::test_show_error_top_level_with_tree
283s [gw0] [ 30%] PASSED tests/console/commands/test_show.py::test_show_error_top_level_with_tree
283s tests/console/commands/test_show.py::test_show_error_top_level_with_single_package
283s [gw0] [ 30%] PASSED tests/console/commands/test_show.py::test_show_error_top_level_with_single_package
283s tests/console/commands/test_show.py::test_show_outdated_missing_directory_dependency[deleted_directory_dependency-required_fixtures0]
283s [gw0] [ 30%] PASSED tests/console/commands/test_show.py::test_show_outdated_missing_directory_dependency[deleted_directory_dependency-required_fixtures0]
284s tests/console/commands/test_update.py::test_update_with_dry_run_keep_files_intact[--dry-run]
284s [gw0] [ 30%] PASSED tests/console/commands/test_update.py::test_update_with_dry_run_keep_files_intact[--dry-run]
284s tests/console/commands/test_update.py::test_update_with_dry_run_keep_files_intact[docker --dry-run]
284s [gw0] [ 30%] PASSED tests/console/commands/test_update.py::test_update_with_dry_run_keep_files_intact[docker --dry-run]
284s tests/console/commands/test_update.py::test_update_prints_operations[-True]
284s [gw0] [ 30%] PASSED tests/console/commands/test_update.py::test_update_prints_operations[-True]
284s tests/console/commands/test_update.py::test_update_prints_operations[--dry-run-True]
284s [gw0] [ 30%] PASSED tests/console/commands/test_update.py::test_update_prints_operations[--dry-run-True]
285s tests/console/commands/test_update.py::test_update_prints_operations[--lock-False]
285s [gw0] [ 30%] PASSED tests/console/commands/test_update.py::test_update_prints_operations[--lock-False]
285s tests/console/commands/test_version.py::test_increment_version[0.0.0-patch-0.0.1]
285s [gw0] [ 30%] PASSED tests/console/commands/test_version.py::test_increment_version[0.0.0-patch-0.0.1]
285s tests/console/commands/test_version.py::test_increment_version[0.0.0-minor-0.1.0]
285s [gw0] [ 30%] PASSED tests/console/commands/test_version.py::test_increment_version[0.0.0-minor-0.1.0]
285s tests/console/commands/test_version.py::test_increment_version[0.0.0-major-1.0.0]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[0.0.0-major-1.0.0]
285s tests/console/commands/test_version.py::test_increment_version[0.0-major-1.0]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[0.0-major-1.0]
285s tests/console/commands/test_version.py::test_increment_version[0.0-minor-0.1]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[0.0-minor-0.1]
285s tests/console/commands/test_version.py::test_increment_version[0.0-patch-0.0.1]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[0.0-patch-0.0.1]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-patch-1.2.4]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-patch-1.2.4]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-minor-1.3.0]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-minor-1.3.0]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-major-2.0.0]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-major-2.0.0]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-prepatch-1.2.4a0]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-prepatch-1.2.4a0]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-preminor-1.3.0a0]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-preminor-1.3.0a0]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-premajor-2.0.0a0]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-premajor-2.0.0a0]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-beta.1-patch-1.2.3]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-beta.1-patch-1.2.3]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-beta.1-minor-1.3.0]
285s [gw0] [ 31%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-beta.1-minor-1.3.0]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-beta.1-major-2.0.0]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-beta.1-major-2.0.0]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-beta.1-prerelease-1.2.3b2]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-beta.1-prerelease-1.2.3b2]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-beta1-prerelease-1.2.3b2]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-beta1-prerelease-1.2.3b2]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3beta1-prerelease-1.2.3b2]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3beta1-prerelease-1.2.3b2]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3b1-prerelease-1.2.3b2]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3b1-prerelease-1.2.3b2]
285s tests/console/commands/test_version.py::test_increment_version[1.2.3-prerelease-1.2.4a0]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_increment_version[1.2.3-prerelease-1.2.4a0]
285s tests/console/commands/test_version.py::test_increment_version[0.0.0-1.2.3-1.2.3]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_increment_version[0.0.0-1.2.3-1.2.3]
285s tests/console/commands/test_version.py::test_next_phase_version[1.2.3-prerelease-1.2.4a0]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_next_phase_version[1.2.3-prerelease-1.2.4a0]
285s tests/console/commands/test_version.py::test_next_phase_version[1.2.3a0-prerelease-1.2.3b0]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_next_phase_version[1.2.3a0-prerelease-1.2.3b0]
285s tests/console/commands/test_version.py::test_next_phase_version[1.2.3a1-prerelease-1.2.3b0]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_next_phase_version[1.2.3a1-prerelease-1.2.3b0]
285s tests/console/commands/test_version.py::test_next_phase_version[1.2.3b1-prerelease-1.2.3rc0]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_next_phase_version[1.2.3b1-prerelease-1.2.3rc0]
285s tests/console/commands/test_version.py::test_next_phase_version[1.2.3rc0-prerelease-1.2.3]
285s [gw0] [ 32%] PASSED tests/console/commands/test_version.py::test_next_phase_version[1.2.3rc0-prerelease-1.2.3]
285s tests/console/commands/test_version.py::test_next_phase_version[1.2.3-beta.1-prerelease-1.2.3rc0]
285s [gw0] [ 33%] PASSED tests/console/commands/test_version.py::test_next_phase_version[1.2.3-beta.1-prerelease-1.2.3rc0]
285s tests/console/commands/test_version.py::test_next_phase_version[1.2.3-beta1-prerelease-1.2.3rc0]
285s [gw0] [ 33%] PASSED tests/console/commands/test_version.py::test_next_phase_version[1.2.3-beta1-prerelease-1.2.3rc0]
285s tests/console/commands/test_version.py::test_next_phase_version[1.2.3beta1-prerelease-1.2.3rc0]
285s [gw0] [ 33%] PASSED tests/console/commands/test_version.py::test_next_phase_version[1.2.3beta1-prerelease-1.2.3rc0]
286s tests/console/commands/test_version.py::test_version_show
286s [gw0] [ 33%] PASSED tests/console/commands/test_version.py::test_version_show
286s tests/console/commands/test_version.py::test_short_version_show
286s [gw0] [ 33%] PASSED tests/console/commands/test_version.py::test_short_version_show
286s tests/console/commands/test_version.py::test_version_update
286s [gw0] [ 33%] PASSED tests/console/commands/test_version.py::test_version_update
286s tests/console/commands/test_version.py::test_short_version_update
286s [gw0] [ 33%] PASSED tests/console/commands/test_version.py::test_short_version_update
286s tests/console/commands/test_version.py::test_phase_version_update
286s [gw0] [ 33%] PASSED tests/console/commands/test_version.py::test_phase_version_update
286s tests/console/commands/test_version.py::test_dry_run
286s [gw0] [ 33%] PASSED tests/console/commands/test_version.py::test_dry_run
286s tests/console/commands/cache/test_clear.py::test_cache_clear_all
286s [gw0] [ 33%] PASSED tests/console/commands/cache/test_clear.py::test_cache_clear_all
287s tests/console/commands/cache/test_clear.py::test_cache_clear_all_no
287s [gw0] [ 33%] PASSED tests/console/commands/cache/test_clear.py::test_cache_clear_all_no
287s tests/console/commands/cache/test_clear.py::test_cache_clear_pkg[cachy]
287s [gw0] [ 33%] PASSED tests/console/commands/cache/test_clear.py::test_cache_clear_pkg[cachy]
287s tests/console/commands/cache/test_clear.py::test_cache_clear_pkg[Cachy]
287s [gw0] [ 34%] PASSED tests/console/commands/cache/test_clear.py::test_cache_clear_pkg[Cachy]
287s tests/console/commands/cache/test_clear.py::test_cache_clear_pkg_no
287s [gw0] [ 34%] PASSED tests/console/commands/cache/test_clear.py::test_cache_clear_pkg_no
287s tests/console/commands/cache/test_list.py::test_cache_list
287s [gw0] [ 34%] PASSED tests/console/commands/cache/test_list.py::test_cache_list
287s tests/console/commands/cache/test_list.py::test_cache_list_empty
287s [gw0] [ 34%] PASSED tests/console/commands/cache/test_list.py::test_cache_list_empty
287s tests/console/commands/debug/test_resolve.py::test_debug_resolve_gives_resolution_results
287s [gw0] [ 34%] PASSED tests/console/commands/debug/test_resolve.py::test_debug_resolve_gives_resolution_results
287s tests/console/commands/debug/test_resolve.py::test_debug_resolve_tree_option_gives_the_dependency_tree
287s [gw0] [ 34%] PASSED tests/console/commands/debug/test_resolve.py::test_debug_resolve_tree_option_gives_the_dependency_tree
287s tests/console/commands/debug/test_resolve.py::test_debug_resolve_git_dependency
287s [gw0] [ 34%] PASSED tests/console/commands/debug/test_resolve.py::test_debug_resolve_git_dependency
288s tests/console/commands/env/test_info.py::test_env_info_displays_path_only
288s [gw0] [ 34%] PASSED tests/console/commands/env/test_info.py::test_env_info_displays_path_only
288s tests/console/commands/env/test_info.py::test_env_info_displays_executable_only
288s [gw0] [ 34%] PASSED tests/console/commands/env/test_info.py::test_env_info_displays_executable_only
288s tests/console/commands/self/test_add_plugins.py::test_add_no_constraint
288s [gw0] [ 34%] PASSED tests/console/commands/self/test_add_plugins.py::test_add_no_constraint
289s tests/console/commands/self/test_add_plugins.py::test_add_with_constraint
289s [gw0] [ 34%] PASSED tests/console/commands/self/test_add_plugins.py::test_add_with_constraint
290s tests/console/commands/self/test_add_plugins.py::test_add_with_git_constraint
290s [gw0] [ 34%] PASSED tests/console/commands/self/test_add_plugins.py::test_add_with_git_constraint
290s tests/console/commands/self/test_add_plugins.py::test_add_with_git_constraint_with_extras
290s [gw0] [ 35%] PASSED tests/console/commands/self/test_add_plugins.py::test_add_with_git_constraint_with_extras
291s tests/console/commands/self/test_add_plugins.py::test_add_with_git_constraint_with_subdirectory[git+https://github.com/demo/poetry-plugin2.git#subdirectory=subdir-None]
291s [gw0] [ 35%] PASSED tests/console/commands/self/test_add_plugins.py::test_add_with_git_constraint_with_subdirectory[git+https://github.com/demo/poetry-plugin2.git#subdirectory=subdir-None]
292s tests/console/commands/self/test_add_plugins.py::test_add_with_git_constraint_with_subdirectory[git+https://github.com/demo/poetry-plugin2.git@master#subdirectory=subdir-master]
292s [gw0] [ 35%] PASSED tests/console/commands/self/test_add_plugins.py::test_add_with_git_constraint_with_subdirectory[git+https://github.com/demo/poetry-plugin2.git@master#subdirectory=subdir-master]
293s tests/console/commands/self/test_add_plugins.py::test_add_existing_plugin_warns_about_no_operation
293s [gw0] [ 35%] PASSED tests/console/commands/self/test_add_plugins.py::test_add_existing_plugin_warns_about_no_operation
293s tests/console/commands/self/test_add_plugins.py::test_add_existing_plugin_updates_if_requested
293s [gw0] [ 35%] PASSED tests/console/commands/self/test_add_plugins.py::test_add_existing_plugin_updates_if_requested
294s tests/console/commands/self/test_add_plugins.py::test_adding_a_plugin_can_update_poetry_dependencies_if_needed
294s [gw0] [ 35%] PASSED tests/console/commands/self/test_add_plugins.py::test_adding_a_plugin_can_update_poetry_dependencies_if_needed
294s tests/console/commands/self/test_remove_plugins.py::test_remove_installed_package
294s [gw0] [ 35%] PASSED tests/console/commands/self/test_remove_plugins.py::test_remove_installed_package
295s tests/console/commands/self/test_remove_plugins.py::test_remove_installed_package_dry_run
295s [gw0] [ 35%] PASSED tests/console/commands/self/test_remove_plugins.py::test_remove_installed_package_dry_run
295s tests/console/commands/self/test_self_command.py::test_generate_system_pyproject_trailing_newline[0]
295s [gw0] [ 35%] PASSED tests/console/commands/self/test_self_command.py::test_generate_system_pyproject_trailing_newline[0]
295s tests/console/commands/self/test_self_command.py::test_generate_system_pyproject_trailing_newline[2]
295s [gw0] [ 35%] PASSED tests/console/commands/self/test_self_command.py::test_generate_system_pyproject_trailing_newline[2]
295s tests/console/commands/self/test_self_command.py::test_generate_system_pyproject_carriage_returns
295s [gw0] [ 35%] PASSED tests/console/commands/self/test_self_command.py::test_generate_system_pyproject_carriage_returns
295s tests/console/commands/self/test_show_plugins.py::test_show_displays_installed_plugins[entry_point_values_by_group0-poetry-plugin]
295s [gw0] [ 35%] PASSED tests/console/commands/self/test_show_plugins.py::test_show_displays_installed_plugins[entry_point_values_by_group0-poetry-plugin]
296s tests/console/commands/self/test_show_plugins.py::test_show_displays_installed_plugins[entry_point_values_by_group0-not-package-name]
296s [gw0] [ 36%] PASSED tests/console/commands/self/test_show_plugins.py::test_show_displays_installed_plugins[entry_point_values_by_group0-not-package-name]
296s tests/console/commands/self/test_show_plugins.py::test_show_displays_installed_plugins_with_multiple_plugins[entry_point_values_by_group0]
296s [gw0] [ 36%] PASSED tests/console/commands/self/test_show_plugins.py::test_show_displays_installed_plugins_with_multiple_plugins[entry_point_values_by_group0]
297s tests/console/commands/self/test_show_plugins.py::test_show_displays_installed_plugins_with_dependencies[entry_point_values_by_group0-plugin_package_requires_dist0]
297s [gw0] [ 36%] PASSED tests/console/commands/self/test_show_plugins.py::test_show_displays_installed_plugins_with_dependencies[entry_point_values_by_group0-plugin_package_requires_dist0]
304s tests/console/commands/self/test_update.py::test_self_update_can_update_from_recommended_installation
304s [gw0] [ 36%] PASSED tests/console/commands/self/test_update.py::test_self_update_can_update_from_recommended_installation
304s tests/console/commands/source/test_add.py::test_source_add_simple
304s [gw0] [ 36%] PASSED tests/console/commands/source/test_add.py::test_source_add_simple
304s tests/console/commands/source/test_add.py::test_source_add_default_legacy
304s [gw0] [ 36%] PASSED tests/console/commands/source/test_add.py::test_source_add_default_legacy
304s tests/console/commands/source/test_add.py::test_source_add_secondary_legacy
304s [gw0] [ 36%] PASSED tests/console/commands/source/test_add.py::test_source_add_secondary_legacy
305s tests/console/commands/source/test_add.py::test_source_add_default
305s [gw0] [ 36%] PASSED tests/console/commands/source/test_add.py::test_source_add_default
305s tests/console/commands/source/test_add.py::test_source_add_second_default_fails
305s [gw0] [ 36%] PASSED tests/console/commands/source/test_add.py::test_source_add_second_default_fails
305s tests/console/commands/source/test_add.py::test_source_add_secondary
305s [gw0] [ 36%] PASSED tests/console/commands/source/test_add.py::test_source_add_secondary
306s tests/console/commands/source/test_add.py::test_source_add_supplemental
306s [gw0] [ 36%] PASSED tests/console/commands/source/test_add.py::test_source_add_supplemental
306s tests/console/commands/source/test_add.py::test_source_add_explicit
306s [gw0] [ 36%] PASSED tests/console/commands/source/test_add.py::test_source_add_explicit
306s tests/console/commands/source/test_add.py::test_source_add_error_default_and_secondary_legacy
306s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_error_default_and_secondary_legacy
306s tests/console/commands/source/test_add.py::test_source_add_error_priority_and_deprecated_legacy
306s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_error_priority_and_deprecated_legacy
307s tests/console/commands/source/test_add.py::test_source_add_error_no_url
307s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_error_no_url
307s tests/console/commands/source/test_add.py::test_source_add_error_pypi
307s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_error_pypi
307s tests/console/commands/source/test_add.py::test_source_add_pypi[pypi]
307s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_pypi[pypi]
307s tests/console/commands/source/test_add.py::test_source_add_pypi[PyPI]
307s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_pypi[PyPI]
308s tests/console/commands/source/test_add.py::test_source_add_pypi_explicit
308s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_pypi_explicit
308s tests/console/commands/source/test_add.py::test_source_add_existing_legacy
308s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_existing_legacy
308s tests/console/commands/source/test_add.py::test_source_add_existing_no_change_except_case_of_name[lower]
308s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_existing_no_change_except_case_of_name[lower]
309s tests/console/commands/source/test_add.py::test_source_add_existing_no_change_except_case_of_name[upper]
309s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_existing_no_change_except_case_of_name[upper]
309s tests/console/commands/source/test_add.py::test_source_add_existing_updating[lower]
309s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_existing_updating[lower]
309s tests/console/commands/source/test_add.py::test_source_add_existing_updating[upper]
309s [gw0] [ 37%] PASSED tests/console/commands/source/test_add.py::test_source_add_existing_updating[upper]
309s tests/console/commands/source/test_add.py::test_source_add_existing_fails_due_to_other_default[lower]
309s [gw0] [ 38%] PASSED tests/console/commands/source/test_add.py::test_source_add_existing_fails_due_to_other_default[lower]
310s tests/console/commands/source/test_add.py::test_source_add_existing_fails_due_to_other_default[upper]
310s [gw0] [ 38%] PASSED tests/console/commands/source/test_add.py::test_source_add_existing_fails_due_to_other_default[upper]
310s tests/console/commands/source/test_remove.py::test_source_remove_simple[lower]
310s [gw0] [ 38%] PASSED tests/console/commands/source/test_remove.py::test_source_remove_simple[lower]
310s tests/console/commands/source/test_remove.py::test_source_remove_simple[upper]
310s [gw0] [ 38%] PASSED tests/console/commands/source/test_remove.py::test_source_remove_simple[upper]
311s tests/console/commands/source/test_remove.py::test_source_remove_pypi[pypi]
311s [gw0] [ 38%] PASSED tests/console/commands/source/test_remove.py::test_source_remove_pypi[pypi]
311s tests/console/commands/source/test_remove.py::test_source_remove_pypi[PyPI]
311s [gw0] [ 38%] PASSED tests/console/commands/source/test_remove.py::test_source_remove_pypi[PyPI]
311s tests/console/commands/source/test_remove.py::test_source_remove_pypi_and_other[pypi]
311s [gw0] [ 38%] PASSED tests/console/commands/source/test_remove.py::test_source_remove_pypi_and_other[pypi]
311s tests/console/commands/source/test_remove.py::test_source_remove_pypi_and_other[PyPI]
311s [gw0] [ 38%] PASSED tests/console/commands/source/test_remove.py::test_source_remove_pypi_and_other[PyPI]
312s tests/console/commands/source/test_remove.py::test_source_remove_error[foo]
312s [gw0] [ 38%] PASSED tests/console/commands/source/test_remove.py::test_source_remove_error[foo]
312s tests/console/commands/source/test_remove.py::test_source_remove_error[pypi]
312s [gw0] [ 38%] PASSED tests/console/commands/source/test_remove.py::test_source_remove_error[pypi]
312s tests/console/commands/source/test_remove.py::test_source_remove_error[PyPI]
312s [gw0] [ 38%] PASSED tests/console/commands/source/test_remove.py::test_source_remove_error[PyPI]
313s tests/console/commands/source/test_show.py::test_source_show_simple
313s [gw0] [ 38%] PASSED tests/console/commands/source/test_show.py::test_source_show_simple
313s tests/console/commands/source/test_show.py::test_source_show_one[lower]
313s [gw0] [ 39%] PASSED tests/console/commands/source/test_show.py::test_source_show_one[lower]
313s tests/console/commands/source/test_show.py::test_source_show_one[upper]
313s [gw0] [ 39%] PASSED tests/console/commands/source/test_show.py::test_source_show_one[upper]
314s tests/console/commands/source/test_show.py::test_source_show_two[lower]
314s [gw0] [ 39%] PASSED tests/console/commands/source/test_show.py::test_source_show_two[lower]
314s tests/console/commands/source/test_show.py::test_source_show_two[upper]
314s [gw0] [ 39%] PASSED tests/console/commands/source/test_show.py::test_source_show_two[upper]
314s tests/console/commands/source/test_show.py::test_source_show_given_priority[source_primary]
314s [gw0] [ 39%] PASSED tests/console/commands/source/test_show.py::test_source_show_given_priority[source_primary]
314s tests/console/commands/source/test_show.py::test_source_show_given_priority[source_default]
314s [gw0] [ 39%] PASSED tests/console/commands/source/test_show.py::test_source_show_given_priority[source_default]
315s tests/console/commands/source/test_show.py::test_source_show_given_priority[source_secondary]
315s [gw0] [ 39%] PASSED tests/console/commands/source/test_show.py::test_source_show_given_priority[source_secondary]
315s tests/console/commands/source/test_show.py::test_source_show_given_priority[source_supplemental]
315s [gw0] [ 39%] PASSED tests/console/commands/source/test_show.py::test_source_show_given_priority[source_supplemental]
315s tests/console/commands/source/test_show.py::test_source_show_given_priority[source_explicit]
315s [gw0] [ 39%] PASSED tests/console/commands/source/test_show.py::test_source_show_given_priority[source_explicit]
316s tests/console/commands/source/test_show.py::test_source_show_pypi
316s [gw0] [ 39%] PASSED tests/console/commands/source/test_show.py::test_source_show_pypi
316s tests/console/commands/source/test_show.py::test_source_show_pypi_and_other
316s [gw0] [ 39%] PASSED tests/console/commands/source/test_show.py::test_source_show_pypi_and_other
316s tests/console/commands/source/test_show.py::test_source_show_no_sources
316s [gw0] [ 40%] PASSED tests/console/commands/source/test_show.py::test_source_show_no_sources
316s tests/console/commands/source/test_show.py::test_source_show_error
316s [gw0] [ 40%] PASSED tests/console/commands/source/test_show.py::test_source_show_error
316s tests/inspection/test_info.py::test_info_from_wheel
316s [gw0] [ 40%] PASSED tests/inspection/test_info.py::test_info_from_wheel
316s tests/inspection/test_info.py::test_info_from_bdist
317s [gw0] [ 40%] PASSED tests/inspection/test_info.py::test_info_from_bdist
317s tests/inspection/test_info.py::test_info_from_poetry_directory
317s [gw0] [ 40%] PASSED tests/inspection/test_info.py::test_info_from_poetry_directory
317s tests/inspection/test_info.py::test_info_from_poetry_directory_fallback_on_poetry_create_error
317s [gw0] [ 40%] PASSED tests/inspection/test_info.py::test_info_from_poetry_directory_fallback_on_poetry_create_error
317s tests/inspection/test_info.py::test_info_from_requires_txt
317s [gw0] [ 40%] PASSED tests/inspection/test_info.py::test_info_from_requires_txt
317s tests/inspection/test_info.py::test_info_from_setup_py
317s [gw0] [ 40%] PASSED tests/inspection/test_info.py::test_info_from_setup_py
317s tests/inspection/test_info.py::test_info_from_setup_cfg
317s [gw0] [ 40%] PASSED tests/inspection/test_info.py::test_info_from_setup_cfg
317s tests/inspection/test_info.py::test_info_no_setup_pkg_info_no_deps
317s [gw0] [ 40%] PASSED tests/inspection/test_info.py::test_info_no_setup_pkg_info_no_deps
317s tests/inspection/test_info.py::test_info_setup_simple
317s [gw0] [ 40%] PASSED tests/inspection/test_info.py::test_info_setup_simple
317s tests/inspection/test_info.py::test_info_setup_cfg
317s [gw0] [ 40%] PASSED tests/inspection/test_info.py::test_info_setup_cfg
335s tests/inspection/test_info.py::test_info_setup_complex
335s [gw0] [ 41%] PASSED tests/inspection/test_info.py::test_info_setup_complex
339s tests/inspection/test_info.py::test_info_setup_complex_pep517_error
339s [gw0] [ 41%] PASSED tests/inspection/test_info.py::test_info_setup_complex_pep517_error
354s tests/inspection/test_info.py::test_info_setup_complex_pep517_legacy
354s [gw0] [ 41%] PASSED tests/inspection/test_info.py::test_info_setup_complex_pep517_legacy
354s tests/inspection/test_info.py::test_info_setup_complex_disable_build
354s [gw0] [ 41%] PASSED tests/inspection/test_info.py::test_info_setup_complex_disable_build
355s tests/inspection/test_info.py::test_info_prefer_poetry_config_over_egg_info
355s [gw0] [ 41%] PASSED tests/inspection/test_info.py::test_info_prefer_poetry_config_over_egg_info
355s tests/installation/test_chooser.py::test_chooser_chooses_universal_wheel_link_if_available[]
355s [gw0] [ 41%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_universal_wheel_link_if_available[]
355s tests/installation/test_chooser.py::test_chooser_chooses_universal_wheel_link_if_available[legacy]
355s [gw0] [ 41%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_universal_wheel_link_if_available[legacy]
356s tests/installation/test_chooser.py::test_chooser_no_binary_policy[-:all:-pytest-3.5.0.tar.gz]
356s [gw0] [ 41%] FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[-:all:-pytest-3.5.0.tar.gz]
356s tests/installation/test_chooser.py::test_chooser_no_binary_policy[-:none:-pytest-3.5.0-py2.py3-none-any.whl]
356s [gw0] [ 41%] FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[-:none:-pytest-3.5.0-py2.py3-none-any.whl]
356s tests/installation/test_chooser.py::test_chooser_no_binary_policy[-black-pytest-3.5.0-py2.py3-none-any.whl]
356s [gw0] [ 41%] FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[-black-pytest-3.5.0-py2.py3-none-any.whl]
356s tests/installation/test_chooser.py::test_chooser_no_binary_policy[-pytest-pytest-3.5.0.tar.gz]
356s [gw0] [ 41%] FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[-pytest-pytest-3.5.0.tar.gz]
356s tests/installation/test_chooser.py::test_chooser_no_binary_policy[-pytest,black-pytest-3.5.0.tar.gz]
356s [gw0] [ 41%] FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[-pytest,black-pytest-3.5.0.tar.gz]
357s tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-:all:-pytest-3.5.0.tar.gz]
357s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-:all:-pytest-3.5.0.tar.gz]
357s tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-:none:-pytest-3.5.0-py2.py3-none-any.whl]
357s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-:none:-pytest-3.5.0-py2.py3-none-any.whl]
357s tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-black-pytest-3.5.0-py2.py3-none-any.whl]
357s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-black-pytest-3.5.0-py2.py3-none-any.whl]
357s tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-pytest-pytest-3.5.0.tar.gz]
357s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-pytest-pytest-3.5.0.tar.gz]
358s tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-pytest,black-pytest-3.5.0.tar.gz]
358s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-pytest,black-pytest-3.5.0.tar.gz]
358s tests/installation/test_chooser.py::test_chooser_chooses_specific_python_universal_wheel_link_if_available[]
358s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_specific_python_universal_wheel_link_if_available[]
359s tests/installation/test_chooser.py::test_chooser_chooses_specific_python_universal_wheel_link_if_available[legacy]
359s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_specific_python_universal_wheel_link_if_available[legacy]
359s tests/installation/test_chooser.py::test_chooser_chooses_system_specific_wheel_link_if_available[]
359s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_system_specific_wheel_link_if_available[]
359s tests/installation/test_chooser.py::test_chooser_chooses_system_specific_wheel_link_if_available[legacy]
359s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_system_specific_wheel_link_if_available[legacy]
359s tests/installation/test_chooser.py::test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available[]
359s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available[]
359s tests/installation/test_chooser.py::test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available[legacy]
359s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available[legacy]
360s tests/installation/test_chooser.py::test_chooser_chooses_distributions_that_match_the_package_hashes[]
360s [gw0] [ 42%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_distributions_that_match_the_package_hashes[]
360s tests/installation/test_chooser.py::test_chooser_chooses_distributions_that_match_the_package_hashes[legacy]
360s [gw0] [ 43%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_distributions_that_match_the_package_hashes[legacy]
360s tests/installation/test_chooser.py::test_chooser_chooses_yanked_if_no_others[]
360s [gw0] [ 43%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_yanked_if_no_others[]
360s tests/installation/test_chooser.py::test_chooser_chooses_yanked_if_no_others[legacy]
360s [gw0] [ 43%] FAILED tests/installation/test_chooser.py::test_chooser_chooses_yanked_if_no_others[legacy]
361s tests/installation/test_chooser.py::test_chooser_does_not_choose_yanked_if_others
361s [gw0] [ 43%] FAILED tests/installation/test_chooser.py::test_chooser_does_not_choose_yanked_if_others
361s tests/installation/test_chooser.py::test_chooser_throws_an_error_if_package_hashes_do_not_match[]
361s [gw0] [ 43%] FAILED tests/installation/test_chooser.py::test_chooser_throws_an_error_if_package_hashes_do_not_match[]
361s tests/installation/test_chooser.py::test_chooser_throws_an_error_if_package_hashes_do_not_match[legacy]
361s [gw0] [ 43%] FAILED tests/installation/test_chooser.py::test_chooser_throws_an_error_if_package_hashes_do_not_match[legacy]
361s tests/installation/test_executor.py::test_execute_executes_a_batch_of_operations
361s [gw0] [ 43%] FAILED tests/installation/test_executor.py::test_execute_executes_a_batch_of_operations
362s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations0-True]
362s [gw0] [ 43%] FAILED tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations0-True]
362s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations1-False]
362s [gw0] [ 43%] PASSED tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations1-False]
362s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
362s [gw0] [ 43%] FAILED tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
362s tests/installation/test_executor.py::test_execute_prints_warning_for_invalid_wheels
362s [gw0] [ 43%] SKIPPED tests/installation/test_executor.py::test_execute_prints_warning_for_invalid_wheels
362s tests/installation/test_executor.py::test_execute_shows_skipped_operations_if_verbose
362s [gw0] [ 43%] PASSED tests/installation/test_executor.py::test_execute_shows_skipped_operations_if_verbose
362s tests/installation/test_executor.py::test_execute_should_show_errors
362s [gw0] [ 44%] PASSED tests/installation/test_executor.py::test_execute_should_show_errors
362s tests/installation/test_executor.py::test_execute_works_with_ansi_output
362s [gw0] [ 44%] FAILED tests/installation/test_executor.py::test_execute_works_with_ansi_output
363s tests/installation/test_executor.py::test_execute_works_with_no_ansi_output
363s [gw0] [ 44%] FAILED tests/installation/test_executor.py::test_execute_works_with_no_ansi_output
363s tests/installation/test_executor.py::test_execute_should_show_operation_as_cancelled_on_subprocess_keyboard_interrupt
363s [gw0] [ 44%] PASSED tests/installation/test_executor.py::test_execute_should_show_operation_as_cancelled_on_subprocess_keyboard_interrupt
363s tests/installation/test_executor.py::test_execute_should_gracefully_handle_io_error
363s [gw0] [ 44%] PASSED tests/installation/test_executor.py::test_execute_should_gracefully_handle_io_error
363s tests/installation/test_executor.py::test_executor_should_delete_incomplete_downloads
363s [gw0] [ 44%] PASSED tests/installation/test_executor.py::test_executor_should_delete_incomplete_downloads
363s tests/installation/test_executor.py::test_executor_should_not_write_pep610_url_references_for_cached_package[package0]
363s [gw0] [ 44%] PASSED tests/installation/test_executor.py::test_executor_should_not_write_pep610_url_references_for_cached_package[package0]
363s tests/installation/test_executor.py::test_executor_should_not_write_pep610_url_references_for_cached_package[package1]
363s [gw0] [ 44%] PASSED tests/installation/test_executor.py::test_executor_should_not_write_pep610_url_references_for_cached_package[package1]
363s tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_wheel_files
363s [gw0] [ 44%] PASSED tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_wheel_files
364s tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_editable_directories
364s [gw0] [ 44%] PASSED tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_editable_directories
364s tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_wheel_urls[False]
364s [gw0] [ 44%] FAILED tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_wheel_urls[False]
364s tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_wheel_urls[True]
364s [gw0] [ 44%] PASSED tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_wheel_urls[True]
364s tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_editable_git
364s [gw0] [ 45%] PASSED tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_editable_git
364s tests/installation/test_executor.py::test_executor_should_append_subdirectory_for_git
365s [gw0] [ 45%] PASSED tests/installation/test_executor.py::test_executor_should_append_subdirectory_for_git
365s tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[None-3-None-7]
365s [gw0] [ 45%] PASSED tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[None-3-None-7]
365s tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[3-4-None-3]
365s [gw0] [ 45%] PASSED tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[3-4-None-3]
365s tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[8-3-None-7]
365s [gw0] [ 45%] PASSED tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[8-3-None-7]
365s tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[None-8-side_effect3-5]
365s [gw0] [ 45%] PASSED tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[None-8-side_effect3-5]
365s tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[2-8-side_effect4-2]
365s [gw0] [ 45%] PASSED tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[2-8-side_effect4-2]
365s tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[8-8-side_effect5-5]
365s [gw0] [ 45%] PASSED tests/installation/test_executor.py::test_executor_should_be_initialized_with_correct_workers[8-8-side_effect5-5]
365s tests/installation/test_executor.py::test_executor_fallback_on_poetry_create_error_without_wheel_installer
365s [gw0] [ 45%] PASSED tests/installation/test_executor.py::test_executor_fallback_on_poetry_create_error_without_wheel_installer
365s tests/installation/test_executor.py::test_other_error
365s [gw0] [ 45%] PASSED tests/installation/test_executor.py::test_other_error
365s tests/installation/test_installer.py::test_run_no_dependencies
365s [gw0] [ 45%] PASSED tests/installation/test_installer.py::test_run_no_dependencies
365s tests/installation/test_installer.py::test_run_with_dependencies
365s [gw0] [ 45%] PASSED tests/installation/test_installer.py::test_run_with_dependencies
365s tests/installation/test_installer.py::test_run_update_after_removing_dependencies
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_update_after_removing_dependencies
365s tests/installation/test_installer.py::test_run_install_with_dependency_groups[None-2-0-0-False]
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_install_with_dependency_groups[None-2-0-0-False]
365s tests/installation/test_installer.py::test_run_install_with_dependency_groups[None-0-0-1-True]
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_install_with_dependency_groups[None-0-0-1-True]
365s tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups2-0-0-0-False]
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups2-0-0-0-False]
365s tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups3-0-0-3-True]
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups3-0-0-3-True]
365s tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups4-1-0-0-False]
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups4-1-0-0-False]
365s tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups5-0-0-2-True]
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups5-0-0-2-True]
365s tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups6-2-0-0-False]
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups6-2-0-0-False]
365s tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups7-0-0-1-True]
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups7-0-0-1-True]
365s tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups8-3-0-0-False]
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups8-3-0-0-False]
365s tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups9-0-0-0-True]
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_install_with_dependency_groups[groups9-0-0-0-True]
365s tests/installation/test_installer.py::test_run_install_does_not_remove_locked_packages_if_installed_but_not_required
365s [gw0] [ 46%] PASSED tests/installation/test_installer.py::test_run_install_does_not_remove_locked_packages_if_installed_but_not_required
366s tests/installation/test_installer.py::test_run_install_removes_locked_packages_if_installed_and_synchronization_is_required
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_run_install_removes_locked_packages_if_installed_and_synchronization_is_required
366s tests/installation/test_installer.py::test_run_install_removes_no_longer_locked_packages_if_installed
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_run_install_removes_no_longer_locked_packages_if_installed
366s tests/installation/test_installer.py::test_run_install_with_synchronization[managed_reserved_package_names0]
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_run_install_with_synchronization[managed_reserved_package_names0]
366s tests/installation/test_installer.py::test_run_install_with_synchronization[managed_reserved_package_names1]
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_run_install_with_synchronization[managed_reserved_package_names1]
366s tests/installation/test_installer.py::test_run_whitelist_add
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_run_whitelist_add
366s tests/installation/test_installer.py::test_run_whitelist_remove
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_run_whitelist_remove
366s tests/installation/test_installer.py::test_add_with_sub_dependencies
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_add_with_sub_dependencies
366s tests/installation/test_installer.py::test_run_with_python_versions
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_run_with_python_versions
366s tests/installation/test_installer.py::test_run_with_optional_and_python_restricted_dependencies
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_run_with_optional_and_python_restricted_dependencies
366s tests/installation/test_installer.py::test_run_with_optional_and_platform_restricted_dependencies
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_run_with_optional_and_platform_restricted_dependencies
366s tests/installation/test_installer.py::test_run_with_dependencies_extras
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_run_with_dependencies_extras
366s tests/installation/test_installer.py::test_run_with_dependencies_nested_extras
366s [gw0] [ 47%] PASSED tests/installation/test_installer.py::test_run_with_dependencies_nested_extras
366s tests/installation/test_installer.py::test_run_does_not_install_extras_if_not_requested
366s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_does_not_install_extras_if_not_requested
366s tests/installation/test_installer.py::test_run_installs_extras_if_requested
366s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_installs_extras_if_requested
366s tests/installation/test_installer.py::test_run_installs_extras_with_deps_if_requested
366s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_installs_extras_with_deps_if_requested
366s tests/installation/test_installer.py::test_run_installs_extras_with_deps_if_requested_locked
366s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_installs_extras_with_deps_if_requested_locked
366s tests/installation/test_installer.py::test_run_installs_with_local_file
366s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_installs_with_local_file
366s tests/installation/test_installer.py::test_run_installs_wheel_with_no_requires_dist
366s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_installs_wheel_with_no_requires_dist
367s tests/installation/test_installer.py::test_run_installs_with_local_poetry_directory_and_extras
367s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_installs_with_local_poetry_directory_and_extras
368s tests/installation/test_installer.py::test_run_installs_with_local_poetry_directory_and_skip_directory_flag[True]
368s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_installs_with_local_poetry_directory_and_skip_directory_flag[True]
370s tests/installation/test_installer.py::test_run_installs_with_local_poetry_directory_and_skip_directory_flag[False]
370s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_installs_with_local_poetry_directory_and_skip_directory_flag[False]
371s tests/installation/test_installer.py::test_run_installs_with_local_poetry_file_transitive
371s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_installs_with_local_poetry_file_transitive
371s tests/installation/test_installer.py::test_run_installs_with_local_setuptools_directory
371s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_installs_with_local_setuptools_directory
371s tests/installation/test_installer.py::test_run_with_prereleases
371s [gw0] [ 48%] PASSED tests/installation/test_installer.py::test_run_with_prereleases
371s tests/installation/test_installer.py::test_run_update_all_with_lock
371s [gw0] [ 49%] PASSED tests/installation/test_installer.py::test_run_update_all_with_lock
371s tests/installation/test_installer.py::test_run_update_with_locked_extras
371s [gw0] [ 49%] PASSED tests/installation/test_installer.py::test_run_update_with_locked_extras
371s tests/installation/test_installer.py::test_run_install_duplicate_dependencies_different_constraints
371s [gw0] [ 49%] PASSED tests/installation/test_installer.py::test_run_install_duplicate_dependencies_different_constraints
371s tests/installation/test_installer.py::test_run_install_duplicate_dependencies_different_constraints_with_lock
371s [gw0] [ 49%] PASSED tests/installation/test_installer.py::test_run_install_duplicate_dependencies_different_constraints_with_lock
371s tests/installation/test_installer.py::test_run_update_uninstalls_after_removal_transient_dependency
371s [gw0] [ 49%] PASSED tests/installation/test_installer.py::test_run_update_uninstalls_after_removal_transient_dependency
371s tests/installation/test_installer.py::test_run_install_duplicate_dependencies_different_constraints_with_lock_update
371s [gw0] [ 49%] PASSED tests/installation/test_installer.py::test_run_install_duplicate_dependencies_different_constraints_with_lock_update
371s tests/installation/test_installer.py::test_installer_test_solver_finds_compatible_package_for_dependency_python_not_fully_compatible_with_package_python
371s [gw0] [ 49%] SKIPPED tests/installation/test_installer.py::test_installer_test_solver_finds_compatible_package_for_dependency_python_not_fully_compatible_with_package_python
371s tests/installation/test_installer.py::test_installer_required_extras_should_not_be_removed_when_updating_single_dependency
371s [gw0] [ 49%] PASSED tests/installation/test_installer.py::test_installer_required_extras_should_not_be_removed_when_updating_single_dependency
371s tests/installation/test_installer.py::test_installer_required_extras_should_not_be_removed_when_updating_single_dependency_pypi_repository
371s [gw0] [ 49%] PASSED tests/installation/test_installer.py::test_installer_required_extras_should_not_be_removed_when_updating_single_dependency_pypi_repository
371s tests/installation/test_installer.py::test_installer_required_extras_should_be_installed
371s [gw0] [ 49%] PASSED tests/installation/test_installer.py::test_installer_required_extras_should_be_installed
371s tests/installation/test_installer.py::test_update_multiple_times_with_split_dependencies_is_idempotent
371s [gw0] [ 49%] PASSED tests/installation/test_installer.py::test_update_multiple_times_with_split_dependencies_is_idempotent
371s tests/installation/test_installer.py::test_run_installs_with_url_file
371s [gw0] [ 49%] PASSED tests/installation/test_installer.py::test_run_installs_with_url_file
372s tests/installation/test_installer.py::test_installer_can_handle_old_lock_files
372s [gw0] [ 50%] PASSED tests/installation/test_installer.py::test_installer_can_handle_old_lock_files
372s tests/installation/test_installer.py::test_installer_does_not_write_lock_file_when_installation_fails
372s [gw0] [ 50%] PASSED tests/installation/test_installer.py::test_installer_does_not_write_lock_file_when_installation_fails
372s tests/installation/test_installer.py::test_run_with_dependencies_quiet[True]
372s [gw0] [ 50%] PASSED tests/installation/test_installer.py::test_run_with_dependencies_quiet[True]
372s tests/installation/test_installer.py::test_run_with_dependencies_quiet[False]
372s [gw0] [ 50%] PASSED tests/installation/test_installer.py::test_run_with_dependencies_quiet[False]
372s tests/installation/test_installer.py::test_installer_should_use_the_locked_version_of_git_dependencies
372s [gw0] [ 50%] PASSED tests/installation/test_installer.py::test_installer_should_use_the_locked_version_of_git_dependencies
372s tests/installation/test_installer.py::test_installer_distinguishes_locked_packages_with_local_version_by_source[darwin]
372s [gw0] [ 50%] PASSED tests/installation/test_installer.py::test_installer_distinguishes_locked_packages_with_local_version_by_source[darwin]
372s tests/installation/test_installer.py::test_installer_distinguishes_locked_packages_with_local_version_by_source[linux]
372s [gw0] [ 50%] PASSED tests/installation/test_installer.py::test_installer_distinguishes_locked_packages_with_local_version_by_source[linux]
372s tests/installation/test_installer.py::test_installer_distinguishes_locked_packages_with_same_version_by_source[aarch64]
372s [gw0] [ 50%] PASSED tests/installation/test_installer.py::test_installer_distinguishes_locked_packages_with_same_version_by_source[aarch64]
372s tests/installation/test_installer.py::test_installer_distinguishes_locked_packages_with_same_version_by_source[amd64]
372s [gw0] [ 50%] PASSED tests/installation/test_installer.py::test_installer_distinguishes_locked_packages_with_same_version_by_source[amd64]
372s tests/installation/test_installer.py::test_explicit_source_dependency_with_direct_origin_dependency[darwin]
372s [gw0] [ 50%] PASSED tests/installation/test_installer.py::test_explicit_source_dependency_with_direct_origin_dependency[darwin]
372s tests/installation/test_installer.py::test_explicit_source_dependency_with_direct_origin_dependency[linux]
372s [gw0] [ 50%] PASSED tests/installation/test_installer.py::test_explicit_source_dependency_with_direct_origin_dependency[linux]
372s tests/installation/test_wheel_installer.py::test_default_installation_source_dir_content
372s [gw0] [ 50%] PASSED tests/installation/test_wheel_installer.py::test_default_installation_source_dir_content
372s tests/installation/test_wheel_installer.py::test_default_installation_dist_info_dir_content
372s [gw0] [ 51%] PASSED tests/installation/test_wheel_installer.py::test_default_installation_dist_info_dir_content
372s tests/installation/test_wheel_installer.py::test_installer_file_contains_valid_version
372s [gw0] [ 51%] PASSED tests/installation/test_wheel_installer.py::test_installer_file_contains_valid_version
372s tests/installation/test_wheel_installer.py::test_default_installation_no_bytecode
372s [gw0] [ 51%] PASSED tests/installation/test_wheel_installer.py::test_default_installation_no_bytecode
372s tests/installation/test_wheel_installer.py::test_enable_bytecode_compilation[True]
372s [gw0] [ 51%] PASSED tests/installation/test_wheel_installer.py::test_enable_bytecode_compilation[True]
372s tests/installation/test_wheel_installer.py::test_enable_bytecode_compilation[False]
372s [gw0] [ 51%] PASSED tests/installation/test_wheel_installer.py::test_enable_bytecode_compilation[False]
372s tests/json/test_schema_sources.py::test_pyproject_toml_valid_legacy
372s [gw0] [ 51%] PASSED tests/json/test_schema_sources.py::test_pyproject_toml_valid_legacy
372s tests/json/test_schema_sources.py::test_pyproject_toml_valid
372s [gw0] [ 51%] PASSED tests/json/test_schema_sources.py::test_pyproject_toml_valid
373s tests/json/test_schema_sources.py::test_pyproject_toml_invalid_priority
373s [gw0] [ 51%] PASSED tests/json/test_schema_sources.py::test_pyproject_toml_invalid_priority
373s tests/json/test_schema_sources.py::test_pyproject_toml_invalid_priority_legacy_and_new
373s [gw0] [ 51%] PASSED tests/json/test_schema_sources.py::test_pyproject_toml_invalid_priority_legacy_and_new
373s tests/masonry/builders/test_editable_builder.py::test_builder_installs_proper_files_for_standard_packages
373s [gw0] [ 51%] PASSED tests/masonry/builders/test_editable_builder.py::test_builder_installs_proper_files_for_standard_packages
373s tests/masonry/builders/test_editable_builder.py::test_builder_falls_back_on_setup_and_pip_for_packages_with_build_scripts
373s [gw0] [ 51%] PASSED tests/masonry/builders/test_editable_builder.py::test_builder_falls_back_on_setup_and_pip_for_packages_with_build_scripts
374s tests/masonry/builders/test_editable_builder.py::test_builder_installs_proper_files_when_packages_configured
374s [gw0] [ 51%] PASSED tests/masonry/builders/test_editable_builder.py::test_builder_installs_proper_files_when_packages_configured
374s tests/masonry/builders/test_editable_builder.py::test_builder_generates_proper_metadata_when_multiple_readme_files
374s [gw0] [ 52%] PASSED tests/masonry/builders/test_editable_builder.py::test_builder_generates_proper_metadata_when_multiple_readme_files
374s tests/masonry/builders/test_editable_builder.py::test_builder_should_execute_build_scripts
374s [gw0] [ 52%] PASSED tests/masonry/builders/test_editable_builder.py::test_builder_should_execute_build_scripts
374s tests/mixology/solutions/providers/test_python_requirement_solution_provider.py::test_it_can_solve_python_incompatibility_solver_errors
374s [gw0] [ 52%] PASSED tests/mixology/solutions/providers/test_python_requirement_solution_provider.py::test_it_can_solve_python_incompatibility_solver_errors
374s tests/mixology/solutions/providers/test_python_requirement_solution_provider.py::test_it_cannot_solve_other_solver_errors
374s [gw0] [ 52%] PASSED tests/mixology/solutions/providers/test_python_requirement_solution_provider.py::test_it_cannot_solve_other_solver_errors
374s tests/mixology/solutions/solutions/test_python_requirement_solution.py::test_it_provides_the_correct_solution
374s [gw0] [ 52%] PASSED tests/mixology/solutions/solutions/test_python_requirement_solution.py::test_it_provides_the_correct_solution
374s tests/mixology/version_solver/test_backtracking.py::test_circular_dependency_on_older_version
374s [gw0] [ 52%] PASSED tests/mixology/version_solver/test_backtracking.py::test_circular_dependency_on_older_version
374s tests/mixology/version_solver/test_backtracking.py::test_diamond_dependency_graph
374s [gw0] [ 52%] PASSED tests/mixology/version_solver/test_backtracking.py::test_diamond_dependency_graph
374s tests/mixology/version_solver/test_backtracking.py::test_backjumps_after_partial_satisfier
374s [gw0] [ 52%] PASSED tests/mixology/version_solver/test_backtracking.py::test_backjumps_after_partial_satisfier
374s tests/mixology/version_solver/test_backtracking.py::test_rolls_back_leaf_versions_first
374s [gw0] [ 52%] PASSED tests/mixology/version_solver/test_backtracking.py::test_rolls_back_leaf_versions_first
374s tests/mixology/version_solver/test_backtracking.py::test_simple_transitive
374s [gw0] [ 52%] PASSED tests/mixology/version_solver/test_backtracking.py::test_simple_transitive
374s tests/mixology/version_solver/test_backtracking.py::test_backjump_to_nearer_unsatisfied_package
374s [gw0] [ 52%] PASSED tests/mixology/version_solver/test_backtracking.py::test_backjump_to_nearer_unsatisfied_package
374s tests/mixology/version_solver/test_backtracking.py::test_backjump_past_failed_package_on_disjoint_constraint
374s [gw0] [ 52%] PASSED tests/mixology/version_solver/test_backtracking.py::test_backjump_past_failed_package_on_disjoint_constraint
375s tests/mixology/version_solver/test_backtracking.py::test_backtracking_performance_level_1
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_backtracking.py::test_backtracking_performance_level_1
375s tests/mixology/version_solver/test_backtracking.py::test_backtracking_performance_level_2
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_backtracking.py::test_backtracking_performance_level_2
375s tests/mixology/version_solver/test_basic_graph.py::test_simple_dependencies
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_simple_dependencies
375s tests/mixology/version_solver/test_basic_graph.py::test_shared_dependencies_with_overlapping_constraints
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_shared_dependencies_with_overlapping_constraints
375s tests/mixology/version_solver/test_basic_graph.py::test_shared_dependency_where_dependent_version_affects_other_dependencies
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_shared_dependency_where_dependent_version_affects_other_dependencies
375s tests/mixology/version_solver/test_basic_graph.py::test_circular_dependency
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_circular_dependency
375s tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>=1-versions0-yanked_versions0-2]
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>=1-versions0-yanked_versions0-2]
375s tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>=1-versions1-yanked_versions1-1]
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>=1-versions1-yanked_versions1-1]
375s tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>=1-versions2-yanked_versions2-3]
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>=1-versions2-yanked_versions2-3]
375s tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>=1-versions3-yanked_versions3-1]
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>=1-versions3-yanked_versions3-1]
375s tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>1-versions4-yanked_versions4-error]
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>1-versions4-yanked_versions4-error]
375s tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>1-versions5-yanked_versions5-error]
375s [gw0] [ 53%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>1-versions5-yanked_versions5-error]
375s tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>=2-versions6-yanked_versions6-error]
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[>=2-versions6-yanked_versions6-error]
375s tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[==2-versions7-yanked_versions7-2]
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[==2-versions7-yanked_versions7-2]
375s tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[==2-versions8-yanked_versions8-2+local]
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[==2-versions8-yanked_versions8-2+local]
375s tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[==2-versions9-yanked_versions9-2]
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_basic_graph.py::test_yanked_release[==2-versions9-yanked_versions9-2]
375s tests/mixology/version_solver/test_dependency_cache.py::test_solver_dependency_cache_respects_source_type
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_dependency_cache.py::test_solver_dependency_cache_respects_source_type
375s tests/mixology/version_solver/test_dependency_cache.py::test_solver_dependency_cache_pulls_from_prior_level_cache
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_dependency_cache.py::test_solver_dependency_cache_pulls_from_prior_level_cache
375s tests/mixology/version_solver/test_dependency_cache.py::test_solver_dependency_cache_respects_subdirectories
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_dependency_cache.py::test_solver_dependency_cache_respects_subdirectories
375s tests/mixology/version_solver/test_python_constraint.py::test_dependency_does_not_match_root_python_constraint
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_python_constraint.py::test_dependency_does_not_match_root_python_constraint
375s tests/mixology/version_solver/test_unsolvable.py::test_no_version_matching_constraint
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_unsolvable.py::test_no_version_matching_constraint
375s tests/mixology/version_solver/test_unsolvable.py::test_no_version_that_matches_combined_constraints
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_unsolvable.py::test_no_version_that_matches_combined_constraints
375s tests/mixology/version_solver/test_unsolvable.py::test_disjoint_constraints
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_unsolvable.py::test_disjoint_constraints
375s tests/mixology/version_solver/test_unsolvable.py::test_disjoint_root_constraints
375s [gw0] [ 54%] PASSED tests/mixology/version_solver/test_unsolvable.py::test_disjoint_root_constraints
376s tests/mixology/version_solver/test_unsolvable.py::test_disjoint_root_constraints_path_dependencies
376s [gw0] [ 55%] PASSED tests/mixology/version_solver/test_unsolvable.py::test_disjoint_root_constraints_path_dependencies
376s tests/mixology/version_solver/test_unsolvable.py::test_no_valid_solution
376s [gw0] [ 55%] PASSED tests/mixology/version_solver/test_unsolvable.py::test_no_valid_solution
376s tests/mixology/version_solver/test_unsolvable.py::test_package_with_the_same_name_gives_clear_error_message
376s [gw0] [ 55%] PASSED tests/mixology/version_solver/test_unsolvable.py::test_package_with_the_same_name_gives_clear_error_message
376s tests/mixology/version_solver/test_with_lock.py::test_with_compatible_locked_dependencies
376s [gw0] [ 55%] PASSED tests/mixology/version_solver/test_with_lock.py::test_with_compatible_locked_dependencies
376s tests/mixology/version_solver/test_with_lock.py::test_with_incompatible_locked_dependencies
376s [gw0] [ 55%] PASSED tests/mixology/version_solver/test_with_lock.py::test_with_incompatible_locked_dependencies
376s tests/mixology/version_solver/test_with_lock.py::test_with_unrelated_locked_dependencies
376s [gw0] [ 55%] PASSED tests/mixology/version_solver/test_with_lock.py::test_with_unrelated_locked_dependencies
376s tests/mixology/version_solver/test_with_lock.py::test_unlocks_dependencies_if_necessary_to_ensure_that_a_new_dependency_is_satisfied
376s [gw0] [ 55%] PASSED tests/mixology/version_solver/test_with_lock.py::test_unlocks_dependencies_if_necessary_to_ensure_that_a_new_dependency_is_satisfied
376s tests/mixology/version_solver/test_with_lock.py::test_with_compatible_locked_dependencies_use_latest
376s [gw0] [ 55%] PASSED tests/mixology/version_solver/test_with_lock.py::test_with_compatible_locked_dependencies_use_latest
376s tests/mixology/version_solver/test_with_lock.py::test_with_compatible_locked_dependencies_with_extras
376s [gw0] [ 55%] PASSED tests/mixology/version_solver/test_with_lock.py::test_with_compatible_locked_dependencies_with_extras
376s tests/mixology/version_solver/test_with_lock.py::test_with_yanked_package_in_lock
376s [gw0] [ 55%] PASSED tests/mixology/version_solver/test_with_lock.py::test_with_yanked_package_in_lock
376s tests/mixology/version_solver/test_with_lock.py::test_no_update_is_respected_for_legacy_repository
376s [gw0] [ 55%] PASSED tests/mixology/version_solver/test_with_lock.py::test_no_update_is_respected_for_legacy_repository
376s tests/packages/test_direct_origin.py::test_direct_origin_get_package_from_file
376s [gw0] [ 55%] PASSED tests/packages/test_direct_origin.py::test_direct_origin_get_package_from_file
376s tests/packages/test_direct_origin.py::test_direct_origin_caches_url_dependency
376s [gw0] [ 56%] PASSED tests/packages/test_direct_origin.py::test_direct_origin_caches_url_dependency
376s tests/packages/test_direct_origin.py::test_direct_origin_does_not_download_url_dependency_when_cached
376s [gw0] [ 56%] PASSED tests/packages/test_direct_origin.py::test_direct_origin_does_not_download_url_dependency_when_cached
376s tests/packages/test_locker.py::test_lock_file_data_is_ordered
376s [gw0] [ 56%] PASSED tests/packages/test_locker.py::test_lock_file_data_is_ordered
376s tests/packages/test_locker.py::test_locker_properly_loads_extras
376s [gw0] [ 56%] PASSED tests/packages/test_locker.py::test_locker_properly_loads_extras
376s tests/packages/test_locker.py::test_locker_properly_loads_nested_extras
376s [gw0] [ 56%] PASSED tests/packages/test_locker.py::test_locker_properly_loads_nested_extras
376s tests/packages/test_locker.py::test_locker_properly_loads_extras_legacy
376s [gw0] [ 56%] PASSED tests/packages/test_locker.py::test_locker_properly_loads_extras_legacy
376s tests/packages/test_locker.py::test_locker_properly_loads_subdir
376s [gw0] [ 56%] PASSED tests/packages/test_locker.py::test_locker_properly_loads_subdir
376s tests/packages/test_locker.py::test_locker_properly_assigns_metadata_files
376s [gw0] [ 56%] PASSED tests/packages/test_locker.py::test_locker_properly_assigns_metadata_files
376s tests/packages/test_locker.py::test_lock_packages_with_null_description
376s [gw0] [ 56%] PASSED tests/packages/test_locker.py::test_lock_packages_with_null_description
376s tests/packages/test_locker.py::test_lock_file_should_not_have_mixed_types
376s [gw0] [ 56%] PASSED tests/packages/test_locker.py::test_lock_file_should_not_have_mixed_types
376s tests/packages/test_locker.py::test_reading_lock_file_should_raise_an_error_on_invalid_data
376s [gw0] [ 56%] PASSED tests/packages/test_locker.py::test_reading_lock_file_should_raise_an_error_on_invalid_data
376s tests/packages/test_locker.py::test_reading_lock_file_should_raise_an_error_on_missing_metadata
376s [gw0] [ 56%] PASSED tests/packages/test_locker.py::test_reading_lock_file_should_raise_an_error_on_missing_metadata
377s tests/packages/test_locker.py::test_locking_legacy_repository_package_should_include_source_section
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_locking_legacy_repository_package_should_include_source_section
377s tests/packages/test_locker.py::test_locker_should_emit_warnings_if_lock_version_is_newer_but_allowed
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_locker_should_emit_warnings_if_lock_version_is_newer_but_allowed
377s tests/packages/test_locker.py::test_locker_should_raise_an_error_if_lock_version_is_newer_and_not_allowed
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_locker_should_raise_an_error_if_lock_version_is_newer_and_not_allowed
377s tests/packages/test_locker.py::test_root_extras_dependencies_are_ordered
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_root_extras_dependencies_are_ordered
377s tests/packages/test_locker.py::test_extras_dependencies_are_ordered
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_extras_dependencies_are_ordered
377s tests/packages/test_locker.py::test_locker_should_neither_emit_warnings_nor_raise_error_for_lower_compatible_versions
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_locker_should_neither_emit_warnings_nor_raise_error_for_lower_compatible_versions
377s tests/packages/test_locker.py::test_locker_dumps_subdir
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_locker_dumps_subdir
377s tests/packages/test_locker.py::test_locker_dumps_dependency_extras_in_correct_order
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_locker_dumps_dependency_extras_in_correct_order
377s tests/packages/test_locker.py::test_locked_repository_uses_root_dir_of_package
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_locked_repository_uses_root_dir_of_package
377s tests/packages/test_locker.py::test_content_hash_with_legacy_is_compatible[local_config0-True]
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_content_hash_with_legacy_is_compatible[local_config0-True]
377s tests/packages/test_locker.py::test_content_hash_with_legacy_is_compatible[local_config1-True]
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_content_hash_with_legacy_is_compatible[local_config1-True]
377s tests/packages/test_locker.py::test_content_hash_with_legacy_is_compatible[local_config2-True]
377s [gw0] [ 57%] PASSED tests/packages/test_locker.py::test_content_hash_with_legacy_is_compatible[local_config2-True]
377s tests/packages/test_locker.py::test_content_hash_with_legacy_is_compatible[local_config3-True]
377s [gw0] [ 58%] PASSED tests/packages/test_locker.py::test_content_hash_with_legacy_is_compatible[local_config3-True]
377s tests/packages/test_locker.py::test_content_hash_with_legacy_is_compatible[local_config4-False]
377s [gw0] [ 58%] PASSED tests/packages/test_locker.py::test_content_hash_with_legacy_is_compatible[local_config4-False]
377s tests/packages/test_locker.py::test_lock_file_resolves_file_url_symlinks
377s [gw0] [ 58%] PASSED tests/packages/test_locker.py::test_lock_file_resolves_file_url_symlinks
377s tests/packages/test_locker.py::test_lockfile_is_not_rewritten_if_only_poetry_version_changed
377s [gw0] [ 58%] PASSED tests/packages/test_locker.py::test_lockfile_is_not_rewritten_if_only_poetry_version_changed
377s tests/plugins/test_plugin_manager.py::test_load_plugins_and_activate
377s [gw0] [ 58%] PASSED tests/plugins/test_plugin_manager.py::test_load_plugins_and_activate
377s tests/plugins/test_plugin_manager.py::test_load_plugins_with_invalid_plugin
377s [gw0] [ 58%] PASSED tests/plugins/test_plugin_manager.py::test_load_plugins_with_invalid_plugin
377s tests/plugins/test_plugin_manager.py::test_load_plugins_with_plugins_disabled
377s [gw0] [ 58%] PASSED tests/plugins/test_plugin_manager.py::test_load_plugins_with_plugins_disabled
377s tests/publishing/test_publisher.py::test_publish_publishes_to_pypi_by_default
377s [gw0] [ 58%] PASSED tests/publishing/test_publisher.py::test_publish_publishes_to_pypi_by_default
377s tests/publishing/test_publisher.py::test_publish_can_publish_to_given_repository[sample_project]
377s [gw0] [ 58%] PASSED tests/publishing/test_publisher.py::test_publish_can_publish_to_given_repository[sample_project]
378s tests/publishing/test_publisher.py::test_publish_can_publish_to_given_repository[with_default_source]
378s [gw0] [ 58%] PASSED tests/publishing/test_publisher.py::test_publish_can_publish_to_given_repository[with_default_source]
378s tests/publishing/test_publisher.py::test_publish_raises_error_for_undefined_repository
378s [gw0] [ 58%] PASSED tests/publishing/test_publisher.py::test_publish_raises_error_for_undefined_repository
378s tests/publishing/test_publisher.py::test_publish_uses_token_if_it_exists
378s [gw0] [ 58%] PASSED tests/publishing/test_publisher.py::test_publish_uses_token_if_it_exists
378s tests/publishing/test_publisher.py::test_publish_uses_cert
378s [gw0] [ 59%] PASSED tests/publishing/test_publisher.py::test_publish_uses_cert
378s tests/publishing/test_publisher.py::test_publish_uses_client_cert
378s [gw0] [ 59%] PASSED tests/publishing/test_publisher.py::test_publish_uses_client_cert
378s tests/publishing/test_publisher.py::test_publish_read_from_environment_variable
378s [gw0] [ 59%] PASSED tests/publishing/test_publisher.py::test_publish_read_from_environment_variable
379s tests/publishing/test_uploader.py::test_uploader_properly_handles_400_errors
379s [gw0] [ 59%] FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_400_errors
379s tests/publishing/test_uploader.py::test_uploader_properly_handles_403_errors
379s [gw0] [ 59%] FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_403_errors
379s tests/publishing/test_uploader.py::test_uploader_properly_handles_nonstandard_errors
379s [gw0] [ 59%] FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_nonstandard_errors
380s tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[308-Permanent Redirect]
380s [gw0] [ 59%] FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[308-Permanent Redirect]
380s tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[307-Temporary Redirect]
380s [gw0] [ 59%] FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[307-Temporary Redirect]
380s tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[304-Not Modified]
380s [gw0] [ 59%] FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[304-Not Modified]
381s tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[303-See Other]
381s [gw0] [ 59%] FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[303-See Other]
381s tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[302-Found]
381s [gw0] [ 59%] FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[302-Found]
381s tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[301-Moved Permanently]
381s [gw0] [ 60%] FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[301-Moved Permanently]
382s tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[300-Multiple Choices]
382s [gw0] [ 60%] FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[300-Multiple Choices]
382s tests/publishing/test_uploader.py::test_uploader_properly_handles_301_redirects
382s [gw0] [ 60%] FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_301_redirects
383s tests/publishing/test_uploader.py::test_uploader_registers_for_appropriate_400_errors
383s [gw0] [ 60%] FAILED tests/publishing/test_uploader.py::test_uploader_registers_for_appropriate_400_errors
383s tests/publishing/test_uploader.py::test_uploader_skips_existing[409-]
383s [gw0] [ 60%] FAILED tests/publishing/test_uploader.py::test_uploader_skips_existing[409-]
383s tests/publishing/test_uploader.py::test_uploader_skips_existing[400-File already exists]
383s [gw0] [ 60%] FAILED tests/publishing/test_uploader.py::test_uploader_skips_existing[400-File already exists]
384s tests/publishing/test_uploader.py::test_uploader_skips_existing[400-Repository does not allow updating assets]
384s [gw0] [ 60%] FAILED tests/publishing/test_uploader.py::test_uploader_skips_existing[400-Repository does not allow updating assets]
384s tests/publishing/test_uploader.py::test_uploader_skips_existing[403-Not enough permissions to overwrite artifact]
384s [gw0] [ 60%] FAILED tests/publishing/test_uploader.py::test_uploader_skips_existing[403-Not enough permissions to overwrite artifact]
384s tests/publishing/test_uploader.py::test_uploader_skips_existing[400-file name has already been taken]
384s [gw0] [ 60%] FAILED tests/publishing/test_uploader.py::test_uploader_skips_existing[400-file name has already been taken]
385s tests/publishing/test_uploader.py::test_uploader_skip_existing_bubbles_unskippable_errors
385s [gw0] [ 60%] FAILED tests/publishing/test_uploader.py::test_uploader_skip_existing_bubbles_unskippable_errors
385s tests/publishing/test_uploader.py::test_uploader_properly_handles_file_not_existing
385s [gw0] [ 60%] PASSED tests/publishing/test_uploader.py::test_uploader_properly_handles_file_not_existing
385s tests/puzzle/test_provider.py::test_search_for[dependency0-expected0]
385s [gw0] [ 60%] PASSED tests/puzzle/test_provider.py::test_search_for[dependency0-expected0]
385s tests/puzzle/test_provider.py::test_search_for[dependency1-expected1]
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for[dependency1-expected1]
385s tests/puzzle/test_provider.py::test_search_for[dependency2-expected2]
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for[dependency2-expected2]
385s tests/puzzle/test_provider.py::test_search_for[dependency3-expected3]
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for[dependency3-expected3]
385s tests/puzzle/test_provider.py::test_search_for[dependency4-expected4]
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for[dependency4-expected4]
385s tests/puzzle/test_provider.py::test_search_for_direct_origin_and_extras[dependency0-direct_origin_dependency0-expected_before0-expected_after0]
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for_direct_origin_and_extras[dependency0-direct_origin_dependency0-expected_before0-expected_after0]
385s tests/puzzle/test_provider.py::test_search_for_direct_origin_and_extras[dependency1-direct_origin_dependency1-expected_before1-expected_after1]
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for_direct_origin_and_extras[dependency1-direct_origin_dependency1-expected_before1-expected_after1]
385s tests/puzzle/test_provider.py::test_search_for_direct_origin_and_extras[dependency2-direct_origin_dependency2-expected_before2-expected_after2]
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for_direct_origin_and_extras[dependency2-direct_origin_dependency2-expected_before2-expected_after2]
385s tests/puzzle/test_provider.py::test_search_for_direct_origin_and_extras[dependency3-direct_origin_dependency3-expected_before3-expected_after3]
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for_direct_origin_and_extras[dependency3-direct_origin_dependency3-expected_before3-expected_after3]
385s tests/puzzle/test_provider.py::test_search_for_direct_origin_and_extras[dependency4-direct_origin_dependency4-expected_before4-expected_after4]
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for_direct_origin_and_extras[dependency4-direct_origin_dependency4-expected_before4-expected_after4]
385s tests/puzzle/test_provider.py::test_search_for_vcs_retains_develop_flag[True]
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for_vcs_retains_develop_flag[True]
385s tests/puzzle/test_provider.py::test_search_for_vcs_retains_develop_flag[False]
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for_vcs_retains_develop_flag[False]
385s tests/puzzle/test_provider.py::test_search_for_vcs_setup_egg_info
385s [gw0] [ 61%] PASSED tests/puzzle/test_provider.py::test_search_for_vcs_setup_egg_info
385s tests/puzzle/test_provider.py::test_search_for_vcs_setup_egg_info_with_extras
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_vcs_setup_egg_info_with_extras
385s tests/puzzle/test_provider.py::test_search_for_vcs_read_setup
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_vcs_read_setup
385s tests/puzzle/test_provider.py::test_search_for_vcs_read_setup_with_extras
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_vcs_read_setup_with_extras
385s tests/puzzle/test_provider.py::test_search_for_vcs_read_setup_raises_error_if_no_version
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_vcs_read_setup_raises_error_if_no_version
385s tests/puzzle/test_provider.py::test_search_for_directory_setup_egg_info[demo]
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_directory_setup_egg_info[demo]
385s tests/puzzle/test_provider.py::test_search_for_directory_setup_egg_info[non-canonical-name]
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_directory_setup_egg_info[non-canonical-name]
385s tests/puzzle/test_provider.py::test_search_for_directory_setup_egg_info_with_extras
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_directory_setup_egg_info_with_extras
385s tests/puzzle/test_provider.py::test_search_for_directory_setup_with_base[demo]
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_directory_setup_with_base[demo]
385s tests/puzzle/test_provider.py::test_search_for_directory_setup_with_base[non-canonical-name]
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_directory_setup_with_base[non-canonical-name]
385s tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup
385s tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup_with_extras
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup_with_extras
385s tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup_with_no_dependencies
385s [gw0] [ 62%] PASSED tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup_with_no_dependencies
386s tests/puzzle/test_provider.py::test_search_for_directory_poetry
386s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_search_for_directory_poetry
386s tests/puzzle/test_provider.py::test_search_for_directory_poetry_with_extras
386s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_search_for_directory_poetry_with_extras
386s tests/puzzle/test_provider.py::test_search_for_file_wheel
386s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_search_for_file_wheel
386s tests/puzzle/test_provider.py::test_search_for_file_wheel_with_extras
386s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_search_for_file_wheel_with_extras
386s tests/puzzle/test_provider.py::test_complete_package_merges_same_source_and_no_source
386s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_complete_package_merges_same_source_and_no_source
386s tests/puzzle/test_provider.py::test_complete_package_does_not_merge_different_source_names
386s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_complete_package_does_not_merge_different_source_names
386s tests/puzzle/test_provider.py::test_complete_package_merges_same_source_type_and_no_source
386s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_complete_package_merges_same_source_type_and_no_source
387s tests/puzzle/test_provider.py::test_complete_package_does_not_merge_different_source_types
387s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_complete_package_does_not_merge_different_source_types
387s tests/puzzle/test_provider.py::test_complete_package_does_not_merge_different_source_type_and_name
387s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_complete_package_does_not_merge_different_source_type_and_name
387s tests/puzzle/test_provider.py::test_complete_package_does_not_merge_different_subdirectories
387s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_complete_package_does_not_merge_different_subdirectories
387s tests/puzzle/test_provider.py::test_complete_package_with_extras_preserves_source_name[None]
387s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_complete_package_with_extras_preserves_source_name[None]
387s tests/puzzle/test_provider.py::test_complete_package_with_extras_preserves_source_name[repo]
387s [gw0] [ 63%] PASSED tests/puzzle/test_provider.py::test_complete_package_with_extras_preserves_source_name[repo]
387s tests/puzzle/test_provider.py::test_complete_package_fetches_optional_vcs_dependency_only_if_requested[False]
387s [gw0] [ 64%] PASSED tests/puzzle/test_provider.py::test_complete_package_fetches_optional_vcs_dependency_only_if_requested[False]
387s tests/puzzle/test_provider.py::test_complete_package_fetches_optional_vcs_dependency_only_if_requested[True]
387s [gw0] [ 64%] PASSED tests/puzzle/test_provider.py::test_complete_package_fetches_optional_vcs_dependency_only_if_requested[True]
387s tests/puzzle/test_provider.py::test_source_dependency_is_satisfied_by_direct_origin
387s [gw0] [ 64%] PASSED tests/puzzle/test_provider.py::test_source_dependency_is_satisfied_by_direct_origin
387s tests/puzzle/test_provider.py::test_explicit_source_dependency_is_not_satisfied_by_direct_origin
387s [gw0] [ 64%] PASSED tests/puzzle/test_provider.py::test_explicit_source_dependency_is_not_satisfied_by_direct_origin
387s tests/puzzle/test_provider.py::test_source_dependency_is_not_satisfied_by_incompatible_direct_origin
387s [gw0] [ 64%] PASSED tests/puzzle/test_provider.py::test_source_dependency_is_not_satisfied_by_incompatible_direct_origin
387s tests/puzzle/test_solver.py::test_solver_install_single
387s [gw0] [ 64%] PASSED tests/puzzle/test_solver.py::test_solver_install_single
387s tests/puzzle/test_solver.py::test_solver_remove_if_no_longer_locked
387s [gw0] [ 64%] PASSED tests/puzzle/test_solver.py::test_solver_remove_if_no_longer_locked
387s tests/puzzle/test_solver.py::test_remove_non_installed
387s [gw0] [ 64%] PASSED tests/puzzle/test_solver.py::test_remove_non_installed
387s tests/puzzle/test_solver.py::test_install_non_existing_package_fail
387s [gw0] [ 64%] PASSED tests/puzzle/test_solver.py::test_install_non_existing_package_fail
387s tests/puzzle/test_solver.py::test_install_unpublished_package_does_not_fail
387s [gw0] [ 64%] PASSED tests/puzzle/test_solver.py::test_install_unpublished_package_does_not_fail
387s tests/puzzle/test_solver.py::test_solver_with_deps
387s [gw0] [ 64%] PASSED tests/puzzle/test_solver.py::test_solver_with_deps
387s tests/puzzle/test_solver.py::test_install_honours_not_equal
387s [gw0] [ 64%] PASSED tests/puzzle/test_solver.py::test_install_honours_not_equal
387s tests/puzzle/test_solver.py::test_install_with_deps_in_order
387s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_install_with_deps_in_order
387s tests/puzzle/test_solver.py::test_install_installed
387s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_install_installed
387s tests/puzzle/test_solver.py::test_update_installed
387s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_update_installed
387s tests/puzzle/test_solver.py::test_update_with_use_latest
387s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_update_with_use_latest
387s tests/puzzle/test_solver.py::test_solver_sets_groups
387s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_solver_sets_groups
387s tests/puzzle/test_solver.py::test_solver_respects_root_package_python_versions
387s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_solver_respects_root_package_python_versions
387s tests/puzzle/test_solver.py::test_solver_fails_if_mismatch_root_python_versions
387s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_solver_fails_if_mismatch_root_python_versions
387s tests/puzzle/test_solver.py::test_solver_ignores_python_restricted_if_mismatch_root_package_python_versions
387s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_solver_ignores_python_restricted_if_mismatch_root_package_python_versions
387s tests/puzzle/test_solver.py::test_solver_solves_optional_and_compatible_packages
387s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_solver_solves_optional_and_compatible_packages
388s tests/puzzle/test_solver.py::test_solver_does_not_return_extras_if_not_requested
388s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_return_extras_if_not_requested
388s tests/puzzle/test_solver.py::test_solver_returns_extras_if_requested
388s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_if_requested
388s tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested[one]
388s [gw0] [ 65%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested[one]
388s tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested[two]
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested[two]
388s tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested[None]
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested[None]
388s tests/puzzle/test_solver.py::test_solver_returns_extras_when_multiple_extras_use_same_dependency[one]
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_when_multiple_extras_use_same_dependency[one]
388s tests/puzzle/test_solver.py::test_solver_returns_extras_when_multiple_extras_use_same_dependency[two]
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_when_multiple_extras_use_same_dependency[two]
388s tests/puzzle/test_solver.py::test_solver_returns_extras_when_multiple_extras_use_same_dependency[None]
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_when_multiple_extras_use_same_dependency[None]
388s tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested_nested[one]
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested_nested[one]
388s tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested_nested[two]
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested_nested[two]
388s tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested_nested[None]
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_only_requested_nested[None]
388s tests/puzzle/test_solver.py::test_solver_finds_extras_next_to_non_extras
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_finds_extras_next_to_non_extras
388s tests/puzzle/test_solver.py::test_solver_merge_extras_into_base_package_multiple_repos_fixes_5727
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_merge_extras_into_base_package_multiple_repos_fixes_5727
388s tests/puzzle/test_solver.py::test_solver_returns_extras_if_excluded_by_markers_without_extras
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_if_excluded_by_markers_without_extras
388s tests/puzzle/test_solver.py::test_solver_returns_prereleases_if_requested
388s [gw0] [ 66%] PASSED tests/puzzle/test_solver.py::test_solver_returns_prereleases_if_requested
388s tests/puzzle/test_solver.py::test_solver_does_not_return_prereleases_if_not_requested
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_return_prereleases_if_not_requested
388s tests/puzzle/test_solver.py::test_solver_sub_dependencies_with_requirements
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_sub_dependencies_with_requirements
388s tests/puzzle/test_solver.py::test_solver_sub_dependencies_with_requirements_complex
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_sub_dependencies_with_requirements_complex
388s tests/puzzle/test_solver.py::test_solver_sub_dependencies_with_not_supported_python_version
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_sub_dependencies_with_not_supported_python_version
388s tests/puzzle/test_solver.py::test_solver_sub_dependencies_with_not_supported_python_version_transitive
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_sub_dependencies_with_not_supported_python_version_transitive
388s tests/puzzle/test_solver.py::test_solver_with_dependency_in_both_main_and_dev_dependencies
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_with_dependency_in_both_main_and_dev_dependencies
388s tests/puzzle/test_solver.py::test_solver_with_dependency_in_both_main_and_dev_dependencies_with_one_more_dependent
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_with_dependency_in_both_main_and_dev_dependencies_with_one_more_dependent
388s tests/puzzle/test_solver.py::test_solver_with_dependency_and_prerelease_sub_dependencies
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_with_dependency_and_prerelease_sub_dependencies
388s tests/puzzle/test_solver.py::test_solver_with_dependency_and_prerelease_sub_dependencies_increasing_constraints
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_with_dependency_and_prerelease_sub_dependencies_increasing_constraints
388s tests/puzzle/test_solver.py::test_solver_circular_dependency
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_circular_dependency
388s tests/puzzle/test_solver.py::test_solver_circular_dependency_chain
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_circular_dependency_chain
388s tests/puzzle/test_solver.py::test_solver_dense_dependencies
388s [gw0] [ 67%] PASSED tests/puzzle/test_solver.py::test_solver_dense_dependencies
388s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_same_constraint
388s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_same_constraint
388s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints
388s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints
388s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_same_requirements
388s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_same_requirements
388s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_merge_by_marker
388s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_merge_by_marker
388s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_sources_direct_origin_preserved[False]
388s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_sources_direct_origin_preserved[False]
389s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_sources_direct_origin_preserved[True]
389s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_sources_direct_origin_preserved[True]
389s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_merge_no_markers
389s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_merge_no_markers
389s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_conflict
389s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_conflict
389s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_discard_no_markers1
389s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_discard_no_markers1
389s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_discard_no_markers2
389s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_discard_no_markers2
389s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_discard_no_markers3
389s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_different_constraints_discard_no_markers3
389s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_ignore_overrides_with_empty_marker_intersection
389s [gw0] [ 68%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_ignore_overrides_with_empty_marker_intersection
389s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_ignore_overrides_with_empty_marker_intersection2
389s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_ignore_overrides_with_empty_marker_intersection2
389s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_sub_dependencies
389s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_sub_dependencies
389s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_with_overlapping_markers_simple
389s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_with_overlapping_markers_simple
389s tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_with_overlapping_markers_complex
389s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_solver_duplicate_dependencies_with_overlapping_markers_complex
389s tests/puzzle/test_solver.py::test_duplicate_path_dependencies
389s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_duplicate_path_dependencies
390s tests/puzzle/test_solver.py::test_duplicate_path_dependencies_same_path
390s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_duplicate_path_dependencies_same_path
390s tests/puzzle/test_solver.py::test_solver_fails_if_dependency_name_does_not_match_package
390s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_solver_fails_if_dependency_name_does_not_match_package
390s tests/puzzle/test_solver.py::test_solver_does_not_get_stuck_in_recursion_on_circular_dependency
390s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_get_stuck_in_recursion_on_circular_dependency
390s tests/puzzle/test_solver.py::test_solver_can_resolve_git_dependencies
390s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_git_dependencies
390s tests/puzzle/test_solver.py::test_solver_can_resolve_git_dependencies_with_extras
390s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_git_dependencies_with_extras
390s tests/puzzle/test_solver.py::test_solver_can_resolve_git_dependencies_with_ref[branch]
390s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_git_dependencies_with_ref[branch]
390s tests/puzzle/test_solver.py::test_solver_can_resolve_git_dependencies_with_ref[tag]
390s [gw0] [ 69%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_git_dependencies_with_ref[tag]
390s tests/puzzle/test_solver.py::test_solver_can_resolve_git_dependencies_with_ref[rev]
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_git_dependencies_with_ref[rev]
390s tests/puzzle/test_solver.py::test_solver_does_not_trigger_conflict_for_python_constraint_if_python_requirement_is_compatible
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_trigger_conflict_for_python_constraint_if_python_requirement_is_compatible
390s tests/puzzle/test_solver.py::test_solver_does_not_trigger_conflict_for_python_constraint_if_python_requirement_is_compatible_multiple
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_trigger_conflict_for_python_constraint_if_python_requirement_is_compatible_multiple
390s tests/puzzle/test_solver.py::test_solver_triggers_conflict_for_dependency_python_not_fully_compatible_with_package_python
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_triggers_conflict_for_dependency_python_not_fully_compatible_with_package_python
390s tests/puzzle/test_solver.py::test_solver_finds_compatible_package_for_dependency_python_not_fully_compatible_with_package_python
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_finds_compatible_package_for_dependency_python_not_fully_compatible_with_package_python
390s tests/puzzle/test_solver.py::test_solver_does_not_trigger_new_resolution_on_duplicate_dependencies_if_only_extras
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_trigger_new_resolution_on_duplicate_dependencies_if_only_extras
390s tests/puzzle/test_solver.py::test_solver_does_not_raise_conflict_for_locked_conditional_dependencies
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_raise_conflict_for_locked_conditional_dependencies
390s tests/puzzle/test_solver.py::test_solver_returns_extras_if_requested_in_dependencies_and_not_in_root_package
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_returns_extras_if_requested_in_dependencies_and_not_in_root_package
390s tests/puzzle/test_solver.py::test_solver_should_not_resolve_prerelease_version_if_not_requested
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_should_not_resolve_prerelease_version_if_not_requested
390s tests/puzzle/test_solver.py::test_solver_ignores_dependencies_with_incompatible_python_full_version_marker
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_ignores_dependencies_with_incompatible_python_full_version_marker
390s tests/puzzle/test_solver.py::test_solver_git_dependencies_update
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_git_dependencies_update
390s tests/puzzle/test_solver.py::test_solver_git_dependencies_update_skipped
390s [gw0] [ 70%] PASSED tests/puzzle/test_solver.py::test_solver_git_dependencies_update_skipped
390s tests/puzzle/test_solver.py::test_solver_git_dependencies_short_hash_update_skipped
390s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_solver_git_dependencies_short_hash_update_skipped
390s tests/puzzle/test_solver.py::test_solver_can_resolve_directory_dependencies
390s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_directory_dependencies
391s tests/puzzle/test_solver.py::test_solver_can_resolve_directory_dependencies_nested_editable
391s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_directory_dependencies_nested_editable
391s tests/puzzle/test_solver.py::test_solver_can_resolve_directory_dependencies_with_extras
391s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_directory_dependencies_with_extras
391s tests/puzzle/test_solver.py::test_solver_can_resolve_wheel_dependencies
391s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_wheel_dependencies
391s tests/puzzle/test_solver.py::test_solver_can_resolve_wheel_dependencies_with_extras
391s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_wheel_dependencies_with_extras
391s tests/puzzle/test_solver.py::test_solver_can_solve_with_legacy_repository_using_proper_dists
391s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_solver_can_solve_with_legacy_repository_using_proper_dists
391s tests/puzzle/test_solver.py::test_solver_can_solve_with_legacy_repository_using_proper_python_compatible_dists
391s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_solver_can_solve_with_legacy_repository_using_proper_python_compatible_dists
391s tests/puzzle/test_solver.py::test_solver_skips_invalid_versions
391s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_solver_skips_invalid_versions
391s tests/puzzle/test_solver.py::test_multiple_constraints_on_root
391s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_multiple_constraints_on_root
391s tests/puzzle/test_solver.py::test_solver_chooses_most_recent_version_amongst_repositories
391s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_solver_chooses_most_recent_version_amongst_repositories
391s tests/puzzle/test_solver.py::test_solver_does_not_choose_from_explicit_repository
391s [gw0] [ 71%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_choose_from_explicit_repository
391s tests/puzzle/test_solver.py::test_solver_chooses_direct_dependency_from_explicit_if_explicit
391s [gw0] [ 72%] PASSED tests/puzzle/test_solver.py::test_solver_chooses_direct_dependency_from_explicit_if_explicit
391s tests/puzzle/test_solver.py::test_solver_discards_packages_with_empty_markers
391s [gw0] [ 72%] PASSED tests/puzzle/test_solver.py::test_solver_discards_packages_with_empty_markers
391s tests/puzzle/test_solver.py::test_solver_does_not_raise_conflict_for_conditional_dev_dependencies
391s [gw0] [ 72%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_raise_conflict_for_conditional_dev_dependencies
391s tests/puzzle/test_solver.py::test_solver_does_not_loop_indefinitely_on_duplicate_constraints_with_extras
391s [gw0] [ 72%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_loop_indefinitely_on_duplicate_constraints_with_extras
391s tests/puzzle/test_solver.py::test_solver_does_not_fail_with_locked_git_and_non_git_dependencies
391s [gw0] [ 72%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_fail_with_locked_git_and_non_git_dependencies
392s tests/puzzle/test_solver.py::test_ignore_python_constraint_no_overlap_dependencies
392s [gw0] [ 72%] PASSED tests/puzzle/test_solver.py::test_ignore_python_constraint_no_overlap_dependencies
392s tests/puzzle/test_solver.py::test_solver_should_not_go_into_an_infinite_loop_on_duplicate_dependencies
392s [gw0] [ 72%] PASSED tests/puzzle/test_solver.py::test_solver_should_not_go_into_an_infinite_loop_on_duplicate_dependencies
392s tests/puzzle/test_solver.py::test_solver_synchronize_single
392s [gw0] [ 72%] PASSED tests/puzzle/test_solver.py::test_solver_synchronize_single
392s tests/puzzle/test_solver.py::test_solver_with_synchronization_keeps_critical_package
392s [gw0] [ 72%] SKIPPED tests/puzzle/test_solver.py::test_solver_with_synchronization_keeps_critical_package
392s tests/puzzle/test_solver.py::test_solver_cannot_choose_another_version_for_directory_dependencies
392s [gw0] [ 72%] PASSED tests/puzzle/test_solver.py::test_solver_cannot_choose_another_version_for_directory_dependencies
392s tests/puzzle/test_solver.py::test_solver_cannot_choose_another_version_for_file_dependencies
392s [gw0] [ 72%] PASSED tests/puzzle/test_solver.py::test_solver_cannot_choose_another_version_for_file_dependencies
392s tests/puzzle/test_solver.py::test_solver_cannot_choose_another_version_for_git_dependencies
392s [gw0] [ 72%] PASSED tests/puzzle/test_solver.py::test_solver_cannot_choose_another_version_for_git_dependencies
392s tests/puzzle/test_solver.py::test_solver_cannot_choose_another_version_for_url_dependencies
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_cannot_choose_another_version_for_url_dependencies
392s tests/puzzle/test_solver.py::test_solver_cannot_choose_url_dependency_for_explicit_source[True]
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_cannot_choose_url_dependency_for_explicit_source[True]
392s tests/puzzle/test_solver.py::test_solver_cannot_choose_url_dependency_for_explicit_source[False]
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_cannot_choose_url_dependency_for_explicit_source[False]
392s tests/puzzle/test_solver.py::test_solver_should_not_update_same_version_packages_if_installed_has_no_source_type
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_should_not_update_same_version_packages_if_installed_has_no_source_type
392s tests/puzzle/test_solver.py::test_solver_should_use_the_python_constraint_from_the_environment_if_available
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_should_use_the_python_constraint_from_the_environment_if_available
392s tests/puzzle/test_solver.py::test_solver_should_resolve_all_versions_for_multiple_duplicate_dependencies
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_should_resolve_all_versions_for_multiple_duplicate_dependencies
392s tests/puzzle/test_solver.py::test_solver_should_not_raise_errors_for_irrelevant_python_constraints
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_should_not_raise_errors_for_irrelevant_python_constraints
392s tests/puzzle/test_solver.py::test_solver_can_resolve_transitive_extras
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_transitive_extras
392s tests/puzzle/test_solver.py::test_solver_can_resolve_for_packages_with_missing_extras
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_for_packages_with_missing_extras
392s tests/puzzle/test_solver.py::test_solver_can_resolve_python_restricted_package_dependencies
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_can_resolve_python_restricted_package_dependencies
392s tests/puzzle/test_solver.py::test_solver_should_not_raise_errors_for_irrelevant_transitive_python_constraints
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_should_not_raise_errors_for_irrelevant_transitive_python_constraints
392s tests/puzzle/test_solver.py::test_solver_keeps_multiple_locked_dependencies_for_same_package[False]
392s [gw0] [ 73%] PASSED tests/puzzle/test_solver.py::test_solver_keeps_multiple_locked_dependencies_for_same_package[False]
392s tests/puzzle/test_solver.py::test_solver_keeps_multiple_locked_dependencies_for_same_package[True]
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_solver_keeps_multiple_locked_dependencies_for_same_package[True]
392s tests/puzzle/test_solver.py::test_solver_does_not_update_ref_of_locked_vcs_package[False]
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_update_ref_of_locked_vcs_package[False]
392s tests/puzzle/test_solver.py::test_solver_does_not_update_ref_of_locked_vcs_package[True]
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_update_ref_of_locked_vcs_package[True]
392s tests/puzzle/test_solver.py::test_solver_does_not_fetch_locked_vcs_package_with_ref
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_solver_does_not_fetch_locked_vcs_package_with_ref
392s tests/puzzle/test_solver.py::test_solver_direct_origin_dependency_with_extras_requested_by_other_package
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_solver_direct_origin_dependency_with_extras_requested_by_other_package
392s tests/puzzle/test_solver.py::test_solver_incompatible_dependency_with_and_without_extras
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_solver_incompatible_dependency_with_and_without_extras
392s tests/puzzle/test_solver.py::test_update_with_prerelease_and_no_solution
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_update_with_prerelease_and_no_solution
392s tests/puzzle/test_solver.py::test_solver_yanked_warning
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_solver_yanked_warning
392s tests/puzzle/test_solver.py::test_update_with_use_latest_vs_lock[False]
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_update_with_use_latest_vs_lock[False]
392s tests/puzzle/test_solver.py::test_update_with_use_latest_vs_lock[True]
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_update_with_use_latest_vs_lock[True]
392s tests/puzzle/test_solver.py::test_solver_resolves_duplicate_dependency_in_extra[False]
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_solver_resolves_duplicate_dependency_in_extra[False]
392s tests/puzzle/test_solver.py::test_solver_resolves_duplicate_dependency_in_extra[True]
392s [gw0] [ 74%] PASSED tests/puzzle/test_solver.py::test_solver_resolves_duplicate_dependency_in_extra[True]
393s tests/puzzle/test_solver.py::test_solver_resolves_duplicate_dependencies_with_restricted_extras
393s [gw0] [ 75%] PASSED tests/puzzle/test_solver.py::test_solver_resolves_duplicate_dependencies_with_restricted_extras
393s tests/puzzle/test_transaction.py::test_it_should_calculate_operations_in_correct_order
393s [gw0] [ 75%] PASSED tests/puzzle/test_transaction.py::test_it_should_calculate_operations_in_correct_order
393s tests/puzzle/test_transaction.py::test_it_should_calculate_operations_for_installed_packages
393s [gw0] [ 75%] PASSED tests/puzzle/test_transaction.py::test_it_should_calculate_operations_for_installed_packages
393s tests/puzzle/test_transaction.py::test_it_should_remove_installed_packages_if_required
393s [gw0] [ 75%] PASSED tests/puzzle/test_transaction.py::test_it_should_remove_installed_packages_if_required
393s tests/puzzle/test_transaction.py::test_it_should_not_remove_installed_packages_that_are_in_result
393s [gw0] [ 75%] PASSED tests/puzzle/test_transaction.py::test_it_should_not_remove_installed_packages_that_are_in_result
393s tests/puzzle/test_transaction.py::test_it_should_update_installed_packages_if_sources_are_different
393s [gw0] [ 75%] PASSED tests/puzzle/test_transaction.py::test_it_should_update_installed_packages_if_sources_are_different
393s tests/pyproject/test_pyproject_toml.py::test_pyproject_toml_reload
393s [gw0] [ 75%] PASSED tests/pyproject/test_pyproject_toml.py::test_pyproject_toml_reload
393s tests/pyproject/test_pyproject_toml.py::test_pyproject_toml_save
393s [gw0] [ 75%] PASSED tests/pyproject/test_pyproject_toml.py::test_pyproject_toml_save
393s tests/pyproject/test_pyproject_toml_file.py::test_pyproject_toml_file_invalid
393s [gw0] [ 75%] PASSED tests/pyproject/test_pyproject_toml_file.py::test_pyproject_toml_file_invalid
393s tests/pyproject/test_pyproject_toml_file.py::test_pyproject_toml_file_getattr
393s [gw0] [ 75%] PASSED tests/pyproject/test_pyproject_toml_file.py::test_pyproject_toml_file_getattr
393s tests/repositories/test_installed_repository.py::test_load_successful
393s [gw0] [ 75%] PASSED tests/repositories/test_installed_repository.py::test_load_successful
393s tests/repositories/test_installed_repository.py::test_load_successful_with_invalid_distribution
393s [gw0] [ 75%] PASSED tests/repositories/test_installed_repository.py::test_load_successful_with_invalid_distribution
393s tests/repositories/test_installed_repository.py::test_load_ensure_isolation
393s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_ensure_isolation
393s tests/repositories/test_installed_repository.py::test_load_standard_package
393s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_standard_package
393s tests/repositories/test_installed_repository.py::test_load_git_package
393s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_git_package
393s tests/repositories/test_installed_repository.py::test_load_git_package_pth
393s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_git_package_pth
393s tests/repositories/test_installed_repository.py::test_load_platlib_package
393s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_platlib_package
393s tests/repositories/test_installed_repository.py::test_load_editable_package
393s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_editable_package
393s tests/repositories/test_installed_repository.py::test_load_editable_with_import_package
393s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_editable_with_import_package
393s tests/repositories/test_installed_repository.py::test_load_standard_package_with_pth_file
393s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_standard_package_with_pth_file
394s tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_git_packages
394s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_git_packages
394s tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_git_packages_no_requested_version
394s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_git_packages_no_requested_version
394s tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_git_packages_with_subdirectory
394s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_git_packages_with_subdirectory
394s tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_url_packages
394s [gw0] [ 76%] PASSED tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_url_packages
394s tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_file_packages
394s [gw0] [ 77%] PASSED tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_file_packages
394s tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_directory_packages
394s [gw0] [ 77%] PASSED tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_directory_packages
394s tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_editable_directory_packages
394s [gw0] [ 77%] PASSED tests/repositories/test_installed_repository.py::test_load_pep_610_compliant_editable_directory_packages
394s tests/repositories/test_installed_repository.py::test_system_site_packages_source_type
394s [gw0] [ 77%] PASSED tests/repositories/test_installed_repository.py::test_system_site_packages_source_type
394s tests/repositories/test_legacy_repository.py::test_page_relative_links_path_are_correct
394s [gw0] [ 77%] PASSED tests/repositories/test_legacy_repository.py::test_page_relative_links_path_are_correct
394s tests/repositories/test_legacy_repository.py::test_page_absolute_links_path_are_correct
394s [gw0] [ 77%] PASSED tests/repositories/test_legacy_repository.py::test_page_absolute_links_path_are_correct
394s tests/repositories/test_legacy_repository.py::test_page_clean_link
394s [gw0] [ 77%] PASSED tests/repositories/test_legacy_repository.py::test_page_clean_link
394s tests/repositories/test_legacy_repository.py::test_page_invalid_version_link
394s [gw0] [ 77%] PASSED tests/repositories/test_legacy_repository.py::test_page_invalid_version_link
394s tests/repositories/test_legacy_repository.py::test_page_filters_out_invalid_package_names
394s [gw0] [ 77%] PASSED tests/repositories/test_legacy_repository.py::test_page_filters_out_invalid_package_names
394s tests/repositories/test_legacy_repository.py::test_sdist_format_support
394s [gw0] [ 77%] PASSED tests/repositories/test_legacy_repository.py::test_sdist_format_support
394s tests/repositories/test_legacy_repository.py::test_missing_version
395s [gw0] [ 77%] PASSED tests/repositories/test_legacy_repository.py::test_missing_version
395s tests/repositories/test_legacy_repository.py::test_package_not_canonicalized
395s [gw0] [ 77%] PASSED tests/repositories/test_legacy_repository.py::test_package_not_canonicalized
395s tests/repositories/test_legacy_repository.py::test_find_packages_no_prereleases
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_find_packages_no_prereleases
395s tests/repositories/test_legacy_repository.py::test_find_packages_only_prereleases[*-1]
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_find_packages_only_prereleases[*-1]
395s tests/repositories/test_legacy_repository.py::test_find_packages_only_prereleases[>=1-1]
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_find_packages_only_prereleases[>=1-1]
395s tests/repositories/test_legacy_repository.py::test_find_packages_only_prereleases[<=18-0]
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_find_packages_only_prereleases[<=18-0]
395s tests/repositories/test_legacy_repository.py::test_find_packages_only_prereleases[>=19.0.0a0-1]
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_find_packages_only_prereleases[>=19.0.0a0-1]
395s tests/repositories/test_legacy_repository.py::test_find_packages_yanked[*-expected0]
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_find_packages_yanked[*-expected0]
395s tests/repositories/test_legacy_repository.py::test_find_packages_yanked[>=19.0a0-expected1]
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_find_packages_yanked[>=19.0a0-expected1]
395s tests/repositories/test_legacy_repository.py::test_find_packages_yanked[>=20.0a0-expected2]
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_find_packages_yanked[>=20.0a0-expected2]
395s tests/repositories/test_legacy_repository.py::test_find_packages_yanked[>=21.11b0-expected3]
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_find_packages_yanked[>=21.11b0-expected3]
395s tests/repositories/test_legacy_repository.py::test_find_packages_yanked[==21.11b0-expected4]
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_find_packages_yanked[==21.11b0-expected4]
395s tests/repositories/test_legacy_repository.py::test_get_package_information_chooses_correct_distribution
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_get_package_information_chooses_correct_distribution
395s tests/repositories/test_legacy_repository.py::test_get_package_information_includes_python_requires
395s [gw0] [ 78%] PASSED tests/repositories/test_legacy_repository.py::test_get_package_information_includes_python_requires
395s tests/repositories/test_legacy_repository.py::test_get_package_information_sets_appropriate_python_versions_if_wheels_only
395s [gw0] [ 79%] PASSED tests/repositories/test_legacy_repository.py::test_get_package_information_sets_appropriate_python_versions_if_wheels_only
395s tests/repositories/test_legacy_repository.py::test_get_package_from_both_py2_and_py3_specific_wheels
395s [gw0] [ 79%] PASSED tests/repositories/test_legacy_repository.py::test_get_package_from_both_py2_and_py3_specific_wheels
395s tests/repositories/test_legacy_repository.py::test_get_package_from_both_py2_and_py3_specific_wheels_python_constraint
395s [gw0] [ 79%] PASSED tests/repositories/test_legacy_repository.py::test_get_package_from_both_py2_and_py3_specific_wheels_python_constraint
395s tests/repositories/test_legacy_repository.py::test_get_package_with_dist_and_universal_py3_wheel
395s [gw0] [ 79%] PASSED tests/repositories/test_legacy_repository.py::test_get_package_with_dist_and_universal_py3_wheel
395s tests/repositories/test_legacy_repository.py::test_get_package_retrieves_non_sha256_hashes
395s [gw0] [ 79%] PASSED tests/repositories/test_legacy_repository.py::test_get_package_retrieves_non_sha256_hashes
395s tests/repositories/test_legacy_repository.py::test_get_package_retrieves_non_sha256_hashes_mismatching_known_hash
395s [gw0] [ 79%] PASSED tests/repositories/test_legacy_repository.py::test_get_package_retrieves_non_sha256_hashes_mismatching_known_hash
395s tests/repositories/test_legacy_repository.py::test_package_yanked[black-19.10b0-False-]
395s [gw0] [ 79%] PASSED tests/repositories/test_legacy_repository.py::test_package_yanked[black-19.10b0-False-]
395s tests/repositories/test_legacy_repository.py::test_package_yanked[black-21.11b0-True-Broken regex dependency. Use 21.11b1 instead.]
395s [gw0] [ 79%] PASSED tests/repositories/test_legacy_repository.py::test_package_yanked[black-21.11b0-True-Broken regex dependency. Use 21.11b1 instead.]
395s tests/repositories/test_legacy_repository.py::test_find_links_for_package_yanked[black-19.10b0-False-]
395s [gw0] [ 79%] PASSED tests/repositories/test_legacy_repository.py::test_find_links_for_package_yanked[black-19.10b0-False-]
395s tests/repositories/test_legacy_repository.py::test_find_links_for_package_yanked[black-21.11b0-True-Broken regex dependency. Use 21.11b1 instead.]
395s [gw0] [ 79%] PASSED tests/repositories/test_legacy_repository.py::test_find_links_for_package_yanked[black-21.11b0-True-Broken regex dependency. Use 21.11b1 instead.]
395s tests/repositories/test_legacy_repository.py::test_cached_or_downloaded_file_supports_trailing_slash
395s [gw0] [ 79%] PASSED tests/repositories/test_legacy_repository.py::test_cached_or_downloaded_file_supports_trailing_slash
396s tests/repositories/test_legacy_repository.py::test_get_200_returns_page
396s [gw0] [ 80%] FAILED tests/repositories/test_legacy_repository.py::test_get_200_returns_page
396s tests/repositories/test_legacy_repository.py::test_get_40x_and_returns_none[401]
396s [gw0] [ 80%] FAILED tests/repositories/test_legacy_repository.py::test_get_40x_and_returns_none[401]
397s tests/repositories/test_legacy_repository.py::test_get_40x_and_returns_none[403]
397s [gw0] [ 80%] FAILED tests/repositories/test_legacy_repository.py::test_get_40x_and_returns_none[403]
397s tests/repositories/test_legacy_repository.py::test_get_40x_and_returns_none[404]
397s [gw0] [ 80%] FAILED tests/repositories/test_legacy_repository.py::test_get_40x_and_returns_none[404]
397s tests/repositories/test_legacy_repository.py::test_get_5xx_raises
397s [gw0] [ 80%] FAILED tests/repositories/test_legacy_repository.py::test_get_5xx_raises
397s tests/repositories/test_legacy_repository.py::test_get_redirected_response_url
397s [gw0] [ 80%] PASSED tests/repositories/test_legacy_repository.py::test_get_redirected_response_url
397s tests/repositories/test_legacy_repository.py::test_authenticator_with_implicit_repository_configuration[repositories0]
397s [gw0] [ 80%] FAILED tests/repositories/test_legacy_repository.py::test_authenticator_with_implicit_repository_configuration[repositories0]
398s tests/repositories/test_legacy_repository.py::test_authenticator_with_implicit_repository_configuration[repositories1]
398s [gw0] [ 80%] FAILED tests/repositories/test_legacy_repository.py::test_authenticator_with_implicit_repository_configuration[repositories1]
398s tests/repositories/test_legacy_repository.py::test_authenticator_with_implicit_repository_configuration[repositories2]
398s [gw0] [ 80%] FAILED tests/repositories/test_legacy_repository.py::test_authenticator_with_implicit_repository_configuration[repositories2]
398s tests/repositories/test_lockfile_repository.py::test_has_package
398s [gw0] [ 80%] PASSED tests/repositories/test_lockfile_repository.py::test_has_package
398s tests/repositories/test_lockfile_repository.py::test_remove_package
398s [gw0] [ 80%] PASSED tests/repositories/test_lockfile_repository.py::test_remove_package
398s tests/repositories/test_pypi_repository.py::test_find_packages
398s [gw0] [ 80%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages
398s tests/repositories/test_pypi_repository.py::test_find_packages_with_prereleases
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages_with_prereleases
398s tests/repositories/test_pypi_repository.py::test_find_packages_does_not_select_prereleases_if_not_allowed
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages_does_not_select_prereleases_if_not_allowed
398s tests/repositories/test_pypi_repository.py::test_find_packages_only_prereleases[*-1]
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages_only_prereleases[*-1]
398s tests/repositories/test_pypi_repository.py::test_find_packages_only_prereleases[>=1-1]
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages_only_prereleases[>=1-1]
398s tests/repositories/test_pypi_repository.py::test_find_packages_only_prereleases[<=18-0]
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages_only_prereleases[<=18-0]
398s tests/repositories/test_pypi_repository.py::test_find_packages_only_prereleases[>=19.0.0a0-1]
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages_only_prereleases[>=19.0.0a0-1]
398s tests/repositories/test_pypi_repository.py::test_find_packages_yanked[*-expected0]
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages_yanked[*-expected0]
398s tests/repositories/test_pypi_repository.py::test_find_packages_yanked[>=19.0a0-expected1]
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages_yanked[>=19.0a0-expected1]
398s tests/repositories/test_pypi_repository.py::test_find_packages_yanked[>=20.0a0-expected2]
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages_yanked[>=20.0a0-expected2]
398s tests/repositories/test_pypi_repository.py::test_find_packages_yanked[>=21.11b0-expected3]
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages_yanked[>=21.11b0-expected3]
398s tests/repositories/test_pypi_repository.py::test_find_packages_yanked[==21.11b0-expected4]
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_find_packages_yanked[==21.11b0-expected4]
398s tests/repositories/test_pypi_repository.py::test_package
398s [gw0] [ 81%] PASSED tests/repositories/test_pypi_repository.py::test_package
398s tests/repositories/test_pypi_repository.py::test_package_yanked[black-19.10b0-False-]
398s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_package_yanked[black-19.10b0-False-]
398s tests/repositories/test_pypi_repository.py::test_package_yanked[black-21.11b0-True-Broken regex dependency. Use 21.11b1 instead.]
398s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_package_yanked[black-21.11b0-True-Broken regex dependency. Use 21.11b1 instead.]
398s tests/repositories/test_pypi_repository.py::test_package_not_canonicalized
398s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_package_not_canonicalized
398s tests/repositories/test_pypi_repository.py::test_find_links_for_package_yanked[black-19.10b0-False-]
399s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_find_links_for_package_yanked[black-19.10b0-False-]
399s tests/repositories/test_pypi_repository.py::test_find_links_for_package_yanked[black-21.11b0-True-Broken regex dependency. Use 21.11b1 instead.]
399s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_find_links_for_package_yanked[black-21.11b0-True-Broken regex dependency. Use 21.11b1 instead.]
399s tests/repositories/test_pypi_repository.py::test_fallback_on_downloading_packages
399s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_fallback_on_downloading_packages
399s tests/repositories/test_pypi_repository.py::test_fallback_inspects_sdist_first_if_no_matching_wheels_can_be_found
399s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_fallback_inspects_sdist_first_if_no_matching_wheels_can_be_found
399s tests/repositories/test_pypi_repository.py::test_pypi_repository_supports_reading_bz2_files
399s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_pypi_repository_supports_reading_bz2_files
399s tests/repositories/test_pypi_repository.py::test_invalid_versions_ignored
399s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_invalid_versions_ignored
399s tests/repositories/test_pypi_repository.py::test_get_should_invalid_cache_on_too_many_redirects_error
399s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_get_should_invalid_cache_on_too_many_redirects_error
399s tests/repositories/test_pypi_repository.py::test_urls
399s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_urls
399s tests/repositories/test_pypi_repository.py::test_find_links_for_package_of_supported_types
399s [gw0] [ 82%] PASSED tests/repositories/test_pypi_repository.py::test_find_links_for_package_of_supported_types
399s tests/repositories/test_pypi_repository.py::test_get_release_info_includes_only_supported_types
399s [gw0] [ 83%] PASSED tests/repositories/test_pypi_repository.py::test_get_release_info_includes_only_supported_types
399s tests/repositories/test_repository.py::test_find_packages_yanked[*-expected0]
399s [gw0] [ 83%] PASSED tests/repositories/test_repository.py::test_find_packages_yanked[*-expected0]
399s tests/repositories/test_repository.py::test_find_packages_yanked[>=19.0a0-expected1]
399s [gw0] [ 83%] PASSED tests/repositories/test_repository.py::test_find_packages_yanked[>=19.0a0-expected1]
399s tests/repositories/test_repository.py::test_find_packages_yanked[>=20.0a0-expected2]
399s [gw0] [ 83%] PASSED tests/repositories/test_repository.py::test_find_packages_yanked[>=20.0a0-expected2]
399s tests/repositories/test_repository.py::test_find_packages_yanked[>=21.11b0-expected3]
399s [gw0] [ 83%] PASSED tests/repositories/test_repository.py::test_find_packages_yanked[>=21.11b0-expected3]
399s tests/repositories/test_repository.py::test_find_packages_yanked[==21.11b0-expected4]
399s [gw0] [ 83%] PASSED tests/repositories/test_repository.py::test_find_packages_yanked[==21.11b0-expected4]
399s tests/repositories/test_repository.py::test_package_yanked[black-19.10b0-False-]
399s [gw0] [ 83%] PASSED tests/repositories/test_repository.py::test_package_yanked[black-19.10b0-False-]
399s tests/repositories/test_repository.py::test_package_yanked[black-21.11b0-True-reason]
399s [gw0] [ 83%] PASSED tests/repositories/test_repository.py::test_package_yanked[black-21.11b0-True-reason]
399s tests/repositories/test_repository.py::test_package_pretty_name_is_kept
399s [gw0] [ 83%] PASSED tests/repositories/test_repository.py::test_package_pretty_name_is_kept
399s tests/repositories/test_repository.py::test_search
399s [gw0] [ 83%] PASSED tests/repositories/test_repository.py::test_search
399s tests/repositories/test_repository_pool.py::test_pool
399s [gw0] [ 83%] PASSED tests/repositories/test_repository_pool.py::test_pool
399s tests/repositories/test_repository_pool.py::test_pool_with_initial_repositories
399s [gw0] [ 83%] PASSED tests/repositories/test_repository_pool.py::test_pool_with_initial_repositories
399s tests/repositories/test_repository_pool.py::test_repository_no_repository
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_repository_no_repository
399s tests/repositories/test_repository_pool.py::test_repository_deprecated_ignore_repository_names
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_repository_deprecated_ignore_repository_names
399s tests/repositories/test_repository_pool.py::test_adding_repositories_with_same_name_twice_raises_value_error
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_adding_repositories_with_same_name_twice_raises_value_error
399s tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool[1]
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool[1]
399s tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool[2]
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool[2]
399s tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool[3]
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool[3]
399s tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool[4]
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool[4]
399s tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool[5]
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool[5]
399s tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool_legacy[False-True-3]
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool_legacy[False-True-3]
399s tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool_legacy[True-False-1]
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool_legacy[True-False-1]
399s tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool_legacy[True-True-1]
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_repository_from_single_repo_pool_legacy[True-True-1]
399s tests/repositories/test_repository_pool.py::test_repository_with_all_prio_repositories
399s [gw0] [ 84%] PASSED tests/repositories/test_repository_pool.py::test_repository_with_all_prio_repositories
399s tests/repositories/test_repository_pool.py::test_repository_secondary_and_supplemental_repositories_do_show
399s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_repository_secondary_and_supplemental_repositories_do_show
399s tests/repositories/test_repository_pool.py::test_repository_explicit_repositories_do_not_show
399s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_repository_explicit_repositories_do_not_show
399s tests/repositories/test_repository_pool.py::test_remove_non_existing_repository_raises_indexerror
399s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_remove_non_existing_repository_raises_indexerror
399s tests/repositories/test_repository_pool.py::test_remove_existing_repository_successful
399s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_remove_existing_repository_successful
400s tests/repositories/test_repository_pool.py::test_remove_default_repository
400s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_remove_default_repository
400s tests/repositories/test_repository_pool.py::test_repository_ordering
400s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_repository_ordering
400s tests/repositories/test_repository_pool.py::test_pool_get_package_in_any_repository
400s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_pool_get_package_in_any_repository
400s tests/repositories/test_repository_pool.py::test_pool_find_packages_only_considers_supplemental_when_needed
400s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_pool_find_packages_only_considers_supplemental_when_needed
400s tests/repositories/test_repository_pool.py::test_pool_get_package_in_specified_repository
400s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_pool_get_package_in_specified_repository
400s tests/repositories/test_repository_pool.py::test_pool_no_package_from_any_repository_raises_package_not_found
400s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_pool_no_package_from_any_repository_raises_package_not_found
400s tests/repositories/test_repository_pool.py::test_pool_no_package_from_specified_repository_raises_package_not_found
400s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_pool_no_package_from_specified_repository_raises_package_not_found
400s tests/repositories/test_repository_pool.py::test_pool_find_packages_in_any_repository
400s [gw0] [ 85%] PASSED tests/repositories/test_repository_pool.py::test_pool_find_packages_in_any_repository
400s tests/repositories/test_repository_pool.py::test_pool_find_packages_in_specified_repository
400s [gw0] [ 86%] PASSED tests/repositories/test_repository_pool.py::test_pool_find_packages_in_specified_repository
400s tests/repositories/test_repository_pool.py::test_search_no_legacy_repositories
400s [gw0] [ 86%] PASSED tests/repositories/test_repository_pool.py::test_search_no_legacy_repositories
400s tests/repositories/test_repository_pool.py::test_search_legacy_repositories_are_skipped
400s [gw0] [ 86%] PASSED tests/repositories/test_repository_pool.py::test_search_legacy_repositories_are_skipped
400s tests/repositories/test_single_page_repository.py::test_single_page_repository_get_page
400s [gw0] [ 86%] PASSED tests/repositories/test_single_page_repository.py::test_single_page_repository_get_page
400s tests/repositories/test_single_page_repository.py::test_single_page_repository_find_packages
400s [gw0] [ 86%] PASSED tests/repositories/test_single_page_repository.py::test_single_page_repository_find_packages
400s tests/repositories/link_sources/test_base.py::test_link_package_data[demo-0.1.0-py2.py3-none-any.whl-expected0]
400s [gw0] [ 86%] PASSED tests/repositories/link_sources/test_base.py::test_link_package_data[demo-0.1.0-py2.py3-none-any.whl-expected0]
400s tests/repositories/link_sources/test_base.py::test_link_package_data[demo-0.1.0.tar.gz-expected1]
400s [gw0] [ 86%] PASSED tests/repositories/link_sources/test_base.py::test_link_package_data[demo-0.1.0.tar.gz-expected1]
400s tests/repositories/link_sources/test_base.py::test_link_package_data[demo-0.1.0.egg-expected2]
400s [gw0] [ 86%] PASSED tests/repositories/link_sources/test_base.py::test_link_package_data[demo-0.1.0.egg-expected2]
400s tests/repositories/link_sources/test_base.py::test_link_package_data[demo-0.1.0_invalid-py2.py3-none-any.whl-None]
400s [gw0] [ 86%] PASSED tests/repositories/link_sources/test_base.py::test_link_package_data[demo-0.1.0_invalid-py2.py3-none-any.whl-None]
400s tests/repositories/link_sources/test_base.py::test_link_package_data[demo-0.1.0_invalid.egg-None]
400s [gw0] [ 86%] PASSED tests/repositories/link_sources/test_base.py::test_link_package_data[demo-0.1.0_invalid.egg-None]
400s tests/repositories/link_sources/test_base.py::test_link_package_data[no-package-at-all.txt-None]
400s [gw0] [ 86%] PASSED tests/repositories/link_sources/test_base.py::test_link_package_data[no-package-at-all.txt-None]
400s tests/repositories/link_sources/test_base.py::test_versions[demo-expected0]
400s [gw0] [ 86%] PASSED tests/repositories/link_sources/test_base.py::test_versions[demo-expected0]
400s tests/repositories/link_sources/test_base.py::test_versions[invalid-expected1]
400s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_base.py::test_versions[invalid-expected1]
400s tests/repositories/link_sources/test_base.py::test_packages
400s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_base.py::test_packages
400s tests/repositories/link_sources/test_base.py::test_links_for_version[0.1.0-filenames0]
400s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_base.py::test_links_for_version[0.1.0-filenames0]
400s tests/repositories/link_sources/test_base.py::test_links_for_version[0.1.1-filenames1]
400s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_base.py::test_links_for_version[0.1.1-filenames1]
400s tests/repositories/link_sources/test_base.py::test_links_for_version[0.1.2-filenames2]
400s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_base.py::test_links_for_version[0.1.2-filenames2]
400s tests/repositories/link_sources/test_html.py::test_link_attributes[-expected_link0]
400s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_html.py::test_link_attributes[-expected_link0]
400s tests/repositories/link_sources/test_html.py::test_link_attributes[data-requires-python=">=3.7"-expected_link1]
400s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_html.py::test_link_attributes[data-requires-python=">=3.7"-expected_link1]
400s tests/repositories/link_sources/test_html.py::test_link_attributes[data-yanked-expected_link2]
400s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_html.py::test_link_attributes[data-yanked-expected_link2]
400s tests/repositories/link_sources/test_html.py::test_link_attributes[data-yanked=""-expected_link3]
400s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_html.py::test_link_attributes[data-yanked=""-expected_link3]
400s tests/repositories/link_sources/test_html.py::test_link_attributes[data-yanked="<reason>"-expected_link4]
400s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_html.py::test_link_attributes[data-yanked="<reason>"-expected_link4]
400s tests/repositories/link_sources/test_html.py::test_link_attributes[data-requires-python=">=3.7" data-yanked-expected_link5]
400s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_html.py::test_link_attributes[data-requires-python=">=3.7" data-yanked-expected_link5]
401s tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs0-False]
401s [gw0] [ 87%] PASSED tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs0-False]
401s tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs1-False]
401s [gw0] [ 88%] PASSED tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs1-False]
401s tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs2-False]
401s [gw0] [ 88%] PASSED tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs2-False]
401s tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs3-True]
401s [gw0] [ 88%] PASSED tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs3-True]
401s tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs4-reason]
401s [gw0] [ 88%] PASSED tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs4-reason]
401s tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs5-reason]
401s [gw0] [ 88%] PASSED tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs5-reason]
401s tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs6-reason]
401s [gw0] [ 88%] PASSED tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs6-reason]
401s tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs7-reason]
401s [gw0] [ 88%] PASSED tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs7-reason]
401s tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs8-reason]
401s [gw0] [ 88%] PASSED tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs8-reason]
401s tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs9-reason 1\nreason 2]
401s [gw0] [ 88%] PASSED tests/repositories/link_sources/test_html.py::test_yanked[yanked_attrs9-reason 1\nreason 2]
401s tests/repositories/link_sources/test_html.py::test_base_url[demo-0.1.whl-None-https://example.org/demo-0.1.whl]
401s [gw0] [ 88%] PASSED tests/repositories/link_sources/test_html.py::test_base_url[demo-0.1.whl-None-https://example.org/demo-0.1.whl]
401s tests/repositories/link_sources/test_html.py::test_base_url[demo-0.1.whl-https://example.org/-https://example.org/demo-0.1.whl]
401s [gw0] [ 88%] PASSED tests/repositories/link_sources/test_html.py::test_base_url[demo-0.1.whl-https://example.org/-https://example.org/demo-0.1.whl]
401s tests/repositories/parsers/test_html_page_parser.py::test_html_page_parser_anchors
401s [gw0] [ 88%] PASSED tests/repositories/parsers/test_html_page_parser.py::test_html_page_parser_anchors
401s tests/repositories/parsers/test_html_page_parser.py::test_html_page_parser_base_url
401s [gw0] [ 89%] PASSED tests/repositories/parsers/test_html_page_parser.py::test_html_page_parser_base_url
401s tests/repositories/parsers/test_pypi_search_parser.py::test_search_parser
401s [gw0] [ 89%] PASSED tests/repositories/parsers/test_pypi_search_parser.py::test_search_parser
401s tests/utils/test_authenticator.py::test_authenticator_uses_url_provided_credentials
401s [gw0] [ 89%] FAILED tests/utils/test_authenticator.py::test_authenticator_uses_url_provided_credentials
401s tests/utils/test_authenticator.py::test_authenticator_uses_credentials_from_config_if_not_provided
401s [gw0] [ 89%] FAILED tests/utils/test_authenticator.py::test_authenticator_uses_credentials_from_config_if_not_provided
402s tests/utils/test_authenticator.py::test_authenticator_uses_username_only_credentials
402s [gw0] [ 89%] FAILED tests/utils/test_authenticator.py::test_authenticator_uses_username_only_credentials
402s tests/utils/test_authenticator.py::test_authenticator_ignores_locked_keyring
402s [gw0] [ 89%] FAILED tests/utils/test_authenticator.py::test_authenticator_ignores_locked_keyring
402s tests/utils/test_authenticator.py::test_authenticator_ignores_failing_keyring
402s [gw0] [ 89%] FAILED tests/utils/test_authenticator.py::test_authenticator_ignores_failing_keyring
402s tests/utils/test_authenticator.py::test_authenticator_uses_password_only_credentials
402s [gw0] [ 89%] FAILED tests/utils/test_authenticator.py::test_authenticator_uses_password_only_credentials
403s tests/utils/test_authenticator.py::test_authenticator_uses_empty_strings_as_default_password
403s [gw0] [ 89%] FAILED tests/utils/test_authenticator.py::test_authenticator_uses_empty_strings_as_default_password
403s tests/utils/test_authenticator.py::test_authenticator_uses_empty_strings_as_default_username
403s [gw0] [ 89%] FAILED tests/utils/test_authenticator.py::test_authenticator_uses_empty_strings_as_default_username
403s tests/utils/test_authenticator.py::test_authenticator_falls_back_to_keyring_url
403s [gw0] [ 89%] FAILED tests/utils/test_authenticator.py::test_authenticator_falls_back_to_keyring_url
403s tests/utils/test_authenticator.py::test_authenticator_falls_back_to_keyring_netloc
403s [gw0] [ 89%] FAILED tests/utils/test_authenticator.py::test_authenticator_falls_back_to_keyring_netloc
404s tests/utils/test_authenticator.py::test_authenticator_request_retries_on_exception
404s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_exception
404s tests/utils/test_authenticator.py::test_authenticator_request_raises_exception_when_attempts_exhausted
404s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_raises_exception_when_attempts_exhausted
404s tests/utils/test_authenticator.py::test_authenticator_request_respects_retry_header
404s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_respects_retry_header
404s tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[400-0]
404s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[400-0]
405s tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[401-0]
405s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[401-0]
405s tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[403-0]
405s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[403-0]
405s tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[404-0]
405s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[404-0]
405s tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[429-5]
405s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[429-5]
406s tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[500-5]
406s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[500-5]
406s tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[501-5]
406s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[501-5]
406s tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[502-5]
406s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[502-5]
406s tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[503-5]
406s [gw0] [ 90%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[503-5]
407s tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[504-5]
407s [gw0] [ 91%] FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[504-5]
407s tests/utils/test_authenticator.py::test_authenticator_uses_env_provided_credentials
407s [gw0] [ 91%] FAILED tests/utils/test_authenticator.py::test_authenticator_uses_env_provided_credentials
407s tests/utils/test_authenticator.py::test_authenticator_uses_certs_from_config_if_not_provided[None-None]
407s [gw0] [ 91%] PASSED tests/utils/test_authenticator.py::test_authenticator_uses_certs_from_config_if_not_provided[None-None]
407s tests/utils/test_authenticator.py::test_authenticator_uses_certs_from_config_if_not_provided[None-path/to/provided/client-cert]
407s [gw0] [ 91%] PASSED tests/utils/test_authenticator.py::test_authenticator_uses_certs_from_config_if_not_provided[None-path/to/provided/client-cert]
407s tests/utils/test_authenticator.py::test_authenticator_uses_certs_from_config_if_not_provided[/path/to/provided/cert-None]
407s [gw0] [ 91%] PASSED tests/utils/test_authenticator.py::test_authenticator_uses_certs_from_config_if_not_provided[/path/to/provided/cert-None]
407s tests/utils/test_authenticator.py::test_authenticator_uses_certs_from_config_if_not_provided[/path/to/provided/cert-path/to/provided/client-cert]
407s [gw0] [ 91%] PASSED tests/utils/test_authenticator.py::test_authenticator_uses_certs_from_config_if_not_provided[/path/to/provided/cert-path/to/provided/client-cert]
407s tests/utils/test_authenticator.py::test_authenticator_uses_credentials_from_config_matched_by_url_path
407s [gw0] [ 91%] FAILED tests/utils/test_authenticator.py::test_authenticator_uses_credentials_from_config_matched_by_url_path
408s tests/utils/test_authenticator.py::test_authenticator_uses_credentials_from_config_with_at_sign_in_path
408s [gw0] [ 91%] FAILED tests/utils/test_authenticator.py::test_authenticator_uses_credentials_from_config_with_at_sign_in_path
408s tests/utils/test_authenticator.py::test_authenticator_falls_back_to_keyring_url_matched_by_path
408s [gw0] [ 91%] FAILED tests/utils/test_authenticator.py::test_authenticator_falls_back_to_keyring_url_matched_by_path
408s tests/utils/test_authenticator.py::test_authenticator_uses_env_provided_credentials_matched_by_url_path
408s [gw0] [ 91%] FAILED tests/utils/test_authenticator.py::test_authenticator_uses_env_provided_credentials_matched_by_url_path
408s tests/utils/test_authenticator.py::test_authenticator_azure_feed_guid_credentials
408s [gw0] [ 91%] FAILED tests/utils/test_authenticator.py::test_authenticator_azure_feed_guid_credentials
408s tests/utils/test_authenticator.py::test_authenticator_add_repository
408s [gw0] [ 91%] FAILED tests/utils/test_authenticator.py::test_authenticator_add_repository
408s tests/utils/test_authenticator.py::test_authenticator_git_repositories
408s [gw0] [ 92%] PASSED tests/utils/test_authenticator.py::test_authenticator_git_repositories
409s tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[None-None-result0]
409s [gw0] [ 92%] PASSED tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[None-None-result0]
409s tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[path/to/ca.pem-path/to/client.pem-result1]
409s [gw0] [ 92%] PASSED tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[path/to/ca.pem-path/to/client.pem-result1]
409s tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[None-path/to/client.pem-result2]
409s [gw0] [ 92%] PASSED tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[None-path/to/client.pem-result2]
409s tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[path/to/ca.pem-None-result3]
409s [gw0] [ 92%] PASSED tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[path/to/ca.pem-None-result3]
409s tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[True-None-result4]
409s [gw0] [ 92%] PASSED tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[True-None-result4]
409s tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[False-None-result5]
409s [gw0] [ 92%] PASSED tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[False-None-result5]
409s tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[False-path/to/client.pem-result6]
409s [gw0] [ 92%] PASSED tests/utils/test_authenticator.py::test_repository_certificate_configuration_create[False-path/to/client.pem-result6]
409s tests/utils/test_cache.py::test_cache_validates
409s [gw0] [ 92%] PASSED tests/utils/test_cache.py::test_cache_validates
409s tests/utils/test_cache.py::test_cache_get_put_has
409s [gw0] [ 92%] PASSED tests/utils/test_cache.py::test_cache_get_put_has
409s tests/utils/test_cache.py::test_cache_forget
409s [gw0] [ 92%] PASSED tests/utils/test_cache.py::test_cache_forget
409s tests/utils/test_cache.py::test_cache_flush
409s [gw0] [ 92%] PASSED tests/utils/test_cache.py::test_cache_flush
409s tests/utils/test_cache.py::test_cache_remember
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_cache_remember
409s tests/utils/test_cache.py::test_cache_get_limited_minutes
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_cache_get_limited_minutes
409s tests/utils/test_cache.py::test_missing_cache_file
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_missing_cache_file
409s tests/utils/test_cache.py::test_missing_cache_path
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_missing_cache_path
409s tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[]
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[]
409s tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[\x00]
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[\x00]
409s tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[99999999]
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[99999999]
409s tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[999999a999"value"]
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[999999a999"value"]
409s tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[9999999999"va\xd8\x00"]
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[9999999999"va\xd8\x00"]
409s tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[fil3systemFa!led]
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_detect_corrupted_cache_key_file[fil3systemFa!led]
409s tests/utils/test_cache.py::test_get_cache_directory_for_link
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_get_cache_directory_for_link
409s tests/utils/test_cache.py::test_get_cache_directory_for_git[None]
409s [gw0] [ 93%] PASSED tests/utils/test_cache.py::test_get_cache_directory_for_git[None]
409s tests/utils/test_cache.py::test_get_cache_directory_for_git[subdir]
409s [gw0] [ 94%] PASSED tests/utils/test_cache.py::test_get_cache_directory_for_git[subdir]
409s tests/utils/test_cache.py::test_get_cached_archives
409s [gw0] [ 94%] PASSED tests/utils/test_cache.py::test_get_cached_archives
409s tests/utils/test_cache.py::test_get_not_found_cached_archive_for_link[https://files.python-poetry.org/demo-0.1.0.tar.gz-True-available_packages0]
409s [gw0] [ 94%] PASSED tests/utils/test_cache.py::test_get_not_found_cached_archive_for_link[https://files.python-poetry.org/demo-0.1.0.tar.gz-True-available_packages0]
409s tests/utils/test_cache.py::test_get_not_found_cached_archive_for_link[https://example.com/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-False-available_packages1]
409s [gw0] [ 94%] PASSED tests/utils/test_cache.py::test_get_not_found_cached_archive_for_link[https://example.com/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-False-available_packages1]
409s tests/utils/test_cache.py::test_get_found_cached_archive_for_link[https://files.python-poetry.org/demo-0.1.0.tar.gz-/cache/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-False]
409s [gw0] [ 94%] PASSED tests/utils/test_cache.py::test_get_found_cached_archive_for_link[https://files.python-poetry.org/demo-0.1.0.tar.gz-/cache/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-False]
409s tests/utils/test_cache.py::test_get_found_cached_archive_for_link[https://example.com/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-/cache/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-False]
409s [gw0] [ 94%] PASSED tests/utils/test_cache.py::test_get_found_cached_archive_for_link[https://example.com/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-/cache/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-False]
409s tests/utils/test_cache.py::test_get_found_cached_archive_for_link[https://files.python-poetry.org/demo-0.1.0.tar.gz-/cache/demo-0.1.0.tar.gz-True]
409s [gw0] [ 94%] PASSED tests/utils/test_cache.py::test_get_found_cached_archive_for_link[https://files.python-poetry.org/demo-0.1.0.tar.gz-/cache/demo-0.1.0.tar.gz-True]
409s tests/utils/test_cache.py::test_get_found_cached_archive_for_link[https://example.com/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-/cache/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-True]
409s [gw0] [ 94%] PASSED tests/utils/test_cache.py::test_get_found_cached_archive_for_link[https://example.com/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-/cache/demo-0.1.0-cp38-cp38-macosx_10_15_x86_64.whl-True]
409s tests/utils/test_cache.py::test_get_cached_archive_for_link_no_race_condition
409s [gw0] [ 94%] PASSED tests/utils/test_cache.py::test_get_cached_archive_for_link_no_race_condition
409s tests/utils/test_cache.py::test_get_cached_archive_for_git
409s [gw0] [ 94%] PASSED tests/utils/test_cache.py::test_get_cached_archive_for_git
409s tests/utils/test_env_site.py::test_env_site_simple
409s [gw0] [ 94%] PASSED tests/utils/test_env_site.py::test_env_site_simple
409s tests/utils/test_env_site.py::test_env_site_select_first
409s [gw0] [ 94%] PASSED tests/utils/test_env_site.py::test_env_site_select_first
409s tests/utils/test_extras.py::test_get_extra_package_names[packages0-extras0-extra_names0-expected_extra_package_names0]
410s [gw0] [ 95%] PASSED tests/utils/test_extras.py::test_get_extra_package_names[packages0-extras0-extra_names0-expected_extra_package_names0]
410s tests/utils/test_extras.py::test_get_extra_package_names[packages1-extras1-extra_names1-expected_extra_package_names1]
410s [gw0] [ 95%] PASSED tests/utils/test_extras.py::test_get_extra_package_names[packages1-extras1-extra_names1-expected_extra_package_names1]
410s tests/utils/test_extras.py::test_get_extra_package_names[packages2-extras2-extra_names2-expected_extra_package_names2]
410s [gw0] [ 95%] PASSED tests/utils/test_extras.py::test_get_extra_package_names[packages2-extras2-extra_names2-expected_extra_package_names2]
410s tests/utils/test_extras.py::test_get_extra_package_names[packages3-extras3-extra_names3-expected_extra_package_names3]
410s [gw0] [ 95%] PASSED tests/utils/test_extras.py::test_get_extra_package_names[packages3-extras3-extra_names3-expected_extra_package_names3]
410s tests/utils/test_extras.py::test_get_extra_package_names[packages4-extras4-extra_names4-expected_extra_package_names4]
410s [gw0] [ 95%] PASSED tests/utils/test_extras.py::test_get_extra_package_names[packages4-extras4-extra_names4-expected_extra_package_names4]
410s tests/utils/test_extras.py::test_get_extra_package_names[packages5-extras5-extra_names5-expected_extra_package_names5]
410s [gw0] [ 95%] PASSED tests/utils/test_extras.py::test_get_extra_package_names[packages5-extras5-extra_names5-expected_extra_package_names5]
410s tests/utils/test_extras.py::test_get_extra_package_names[packages6-extras6-extra_names6-expected_extra_package_names6]
410s [gw0] [ 95%] PASSED tests/utils/test_extras.py::test_get_extra_package_names[packages6-extras6-extra_names6-expected_extra_package_names6]
410s tests/utils/test_password_manager.py::test_set_http_password
410s [gw0] [ 95%] PASSED tests/utils/test_password_manager.py::test_set_http_password
410s tests/utils/test_password_manager.py::test_get_http_auth
410s [gw0] [ 95%] PASSED tests/utils/test_password_manager.py::test_get_http_auth
410s tests/utils/test_password_manager.py::test_delete_http_password
410s [gw0] [ 95%] PASSED tests/utils/test_password_manager.py::test_delete_http_password
410s tests/utils/test_password_manager.py::test_set_pypi_token
410s [gw0] [ 95%] PASSED tests/utils/test_password_manager.py::test_set_pypi_token
410s tests/utils/test_password_manager.py::test_get_pypi_token
410s [gw0] [ 95%] PASSED tests/utils/test_password_manager.py::test_get_pypi_token
410s tests/utils/test_password_manager.py::test_delete_pypi_token
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_delete_pypi_token
410s tests/utils/test_password_manager.py::test_set_http_password_with_unavailable_backend
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_set_http_password_with_unavailable_backend
410s tests/utils/test_password_manager.py::test_get_http_auth_with_unavailable_backend
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_get_http_auth_with_unavailable_backend
410s tests/utils/test_password_manager.py::test_delete_http_password_with_unavailable_backend
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_delete_http_password_with_unavailable_backend
410s tests/utils/test_password_manager.py::test_set_pypi_token_with_unavailable_backend
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_set_pypi_token_with_unavailable_backend
410s tests/utils/test_password_manager.py::test_get_pypi_token_with_unavailable_backend
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_get_pypi_token_with_unavailable_backend
410s tests/utils/test_password_manager.py::test_delete_pypi_token_with_unavailable_backend
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_delete_pypi_token_with_unavailable_backend
410s tests/utils/test_password_manager.py::test_keyring_raises_errors_on_keyring_errors
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_keyring_raises_errors_on_keyring_errors
410s tests/utils/test_password_manager.py::test_keyring_returns_none_on_locked_keyring
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_keyring_returns_none_on_locked_keyring
410s tests/utils/test_password_manager.py::test_keyring_returns_none_on_erroneous_keyring
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_keyring_returns_none_on_erroneous_keyring
410s tests/utils/test_password_manager.py::test_keyring_with_chainer_backend_and_fail_keyring_should_be_unavailable
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_keyring_with_chainer_backend_and_fail_keyring_should_be_unavailable
410s tests/utils/test_password_manager.py::test_keyring_with_chainer_backend_and_null_keyring_should_be_unavailable
410s [gw0] [ 96%] PASSED tests/utils/test_password_manager.py::test_keyring_with_chainer_backend_and_null_keyring_should_be_unavailable
410s tests/utils/test_password_manager.py::test_null_keyring_should_be_unavailable
410s [gw0] [ 97%] PASSED tests/utils/test_password_manager.py::test_null_keyring_should_be_unavailable
410s tests/utils/test_password_manager.py::test_fail_keyring_should_be_unavailable
410s [gw0] [ 97%] PASSED tests/utils/test_password_manager.py::test_fail_keyring_should_be_unavailable
410s tests/utils/test_password_manager.py::test_locked_keyring_should_be_available
410s [gw0] [ 97%] PASSED tests/utils/test_password_manager.py::test_locked_keyring_should_be_available
410s tests/utils/test_password_manager.py::test_erroneous_keyring_should_be_available
410s [gw0] [ 97%] PASSED tests/utils/test_password_manager.py::test_erroneous_keyring_should_be_available
410s tests/utils/test_password_manager.py::test_get_http_auth_from_environment_variables
410s [gw0] [ 97%] PASSED tests/utils/test_password_manager.py::test_get_http_auth_from_environment_variables
411s tests/utils/test_password_manager.py::test_get_http_auth_does_not_call_keyring_when_credentials_in_environment_variables
411s [gw0] [ 97%] PASSED tests/utils/test_password_manager.py::test_get_http_auth_does_not_call_keyring_when_credentials_in_environment_variables
411s tests/utils/test_password_manager.py::test_get_http_auth_does_not_call_keyring_when_password_in_environment_variables
411s [gw0] [ 97%] PASSED tests/utils/test_password_manager.py::test_get_http_auth_does_not_call_keyring_when_password_in_environment_variables
411s tests/utils/test_password_manager.py::test_get_pypi_token_with_env_var_positive
411s [gw0] [ 97%] PASSED tests/utils/test_password_manager.py::test_get_pypi_token_with_env_var_positive
411s tests/utils/test_password_manager.py::test_get_pypi_token_with_env_var_not_available
411s [gw0] [ 97%] PASSED tests/utils/test_password_manager.py::test_get_pypi_token_with_env_var_not_available
411s tests/utils/test_patterns.py::test_wheel_file_re[markdown_captions-2-py3-none-any.whl-expected0]
411s [gw0] [ 97%] PASSED tests/utils/test_patterns.py::test_wheel_file_re[markdown_captions-2-py3-none-any.whl-expected0]
411s tests/utils/test_patterns.py::test_wheel_file_re[SQLAlchemy-1.3.20-cp27-cp27mu-manylinux2010_x86_64.whl-expected1]
411s [gw0] [ 97%] PASSED tests/utils/test_patterns.py::test_wheel_file_re[SQLAlchemy-1.3.20-cp27-cp27mu-manylinux2010_x86_64.whl-expected1]
414s tests/utils/test_pip.py::test_pip_install_successful
414s [gw0] [ 97%] PASSED tests/utils/test_pip.py::test_pip_install_successful
414s tests/utils/test_pip.py::test_pip_install_with_keyboard_interrupt
414s [gw0] [ 98%] PASSED tests/utils/test_pip.py::test_pip_install_with_keyboard_interrupt
414s tests/utils/test_setup_reader.py::test_setup_reader_read_minimal_setup_py
414s [gw0] [ 98%] PASSED tests/utils/test_setup_reader.py::test_setup_reader_read_minimal_setup_py
414s tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_direct_types
414s [gw0] [ 98%] PASSED tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_direct_types
414s tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_variables
414s [gw0] [ 98%] PASSED tests/utils/test_setup_reader.py::test_setup_reader_read_first_level_setup_call_with_variables
414s tests/utils/test_setup_reader.py::test_setup_reader_read_sub_level_setup_call_with_direct_types
414s [gw0] [ 98%] PASSED tests/utils/test_setup_reader.py::test_setup_reader_read_sub_level_setup_call_with_direct_types
414s tests/utils/test_setup_reader.py::test_setup_reader_read_setup_cfg
414s [gw0] [ 98%] PASSED tests/utils/test_setup_reader.py::test_setup_reader_read_setup_cfg
414s tests/utils/test_setup_reader.py::test_setup_reader_read_minimal_setup_cfg
414s [gw0] [ 98%] PASSED tests/utils/test_setup_reader.py::test_setup_reader_read_minimal_setup_cfg
414s tests/utils/test_setup_reader.py::test_setup_reader_read_setup_cfg_with_attr
414s [gw0] [ 98%] PASSED tests/utils/test_setup_reader.py::test_setup_reader_read_setup_cfg_with_attr
415s tests/utils/test_setup_reader.py::test_setup_reader_read_setup_kwargs
415s [gw0] [ 98%] PASSED tests/utils/test_setup_reader.py::test_setup_reader_read_setup_kwargs
415s tests/utils/test_setup_reader.py::test_setup_reader_read_setup_call_in_main
415s [gw0] [ 98%] PASSED tests/utils/test_setup_reader.py::test_setup_reader_read_setup_call_in_main
415s tests/utils/test_setup_reader.py::test_setup_reader_read_extras_require_with_variables
415s [gw0] [ 98%] PASSED tests/utils/test_setup_reader.py::test_setup_reader_read_extras_require_with_variables
415s tests/utils/test_setup_reader.py::test_setup_reader_setuptools
415s [gw0] [ 98%] PASSED tests/utils/test_setup_reader.py::test_setup_reader_setuptools
415s tests/utils/test_source.py::test_source_to_table[source0-table_body0]
415s [gw0] [ 99%] PASSED tests/utils/test_source.py::test_source_to_table[source0-table_body0]
415s tests/utils/test_source.py::test_source_to_table[source1-table_body1]
415s [gw0] [ 99%] PASSED tests/utils/test_source.py::test_source_to_table[source1-table_body1]
415s tests/utils/test_source.py::test_source_default_is_primary
415s [gw0] [ 99%] PASSED tests/utils/test_source.py::test_source_default_is_primary
415s tests/utils/test_source.py::test_source_legacy_handling[False-True-3]
415s [gw0] [ 99%] PASSED tests/utils/test_source.py::test_source_legacy_handling[False-True-3]
415s tests/utils/test_source.py::test_source_legacy_handling[True-False-1]
415s [gw0] [ 99%] PASSED tests/utils/test_source.py::test_source_legacy_handling[True-False-1]
415s tests/utils/test_source.py::test_source_legacy_handling[True-True-1]
415s [gw0] [ 99%] PASSED tests/utils/test_source.py::test_source_legacy_handling[True-True-1]
415s tests/utils/test_source.py::test_source_priority_as_string[secondary-3]
415s [gw0] [ 99%] PASSED tests/utils/test_source.py::test_source_priority_as_string[secondary-3]
415s tests/utils/test_source.py::test_source_priority_as_string[SECONDARY-3]
415s [gw0] [ 99%] PASSED tests/utils/test_source.py::test_source_priority_as_string[SECONDARY-3]
415s tests/vcs/git/test_system.py::TestSystemGit::test_clone_success
415s [gw0] [ 99%] PASSED tests/vcs/git/test_system.py::TestSystemGit::test_clone_success
415s tests/vcs/git/test_system.py::TestSystemGit::test_clone_invalid_parameter
415s [gw0] [ 99%] PASSED tests/vcs/git/test_system.py::TestSystemGit::test_clone_invalid_parameter
415s tests/vcs/git/test_system.py::TestSystemGit::test_checkout_1
415s [gw0] [ 99%] PASSED tests/vcs/git/test_system.py::TestSystemGit::test_checkout_1
415s tests/vcs/git/test_system.py::TestSystemGit::test_checkout_2
417s [gw0] [100%] PASSED tests/vcs/git/test_system.py::TestSystemGit::test_checkout_2
417s
417s =================================== FAILURES ===================================
417s ______________ test_create_poetry_fails_on_invalid_configuration _______________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s fixture_dir = ._fixture_dir at 0xf4de851636a0>
417s
417s def test_create_poetry_fails_on_invalid_configuration(
417s fixture_dir: FixtureDirGetter,
417s ) -> None:
417s with pytest.raises(RuntimeError) as e:
417s Factory().create_poetry(fixture_dir("invalid_pyproject") / "pyproject.toml")
417s
417s jsonschema_error = "'description' is a required property"
417s fastjsonschema_error = "data must contain ['description'] properties"
417s
417s expected_template = """\
417s The Poetry configuration is invalid:
417s - {schema_error}
417s - Project name (invalid) is same as one of its dependencies
417s """
417s expected = {
417s expected_template.format(schema_error=schema_error)
417s for schema_error in (jsonschema_error, fastjsonschema_error)
417s }
417s
417s > assert str(e.value) in expected
417s E assert "The Poetry configuration is invalid:\n - The fields ['description'] are required in package mode.\n - Project name (invalid) is same as one of its dependencies\n" in {"The Poetry configuration is invalid:\n - 'description' is a required property\n - Project name (invalid) is same as one of its dependencies\n", "The Poetry configuration is invalid:\n - data must contain ['description'] properties\n - Project name (invalid) is same as one of its dependencies\n"}
417s E + where "The Poetry configuration is invalid:\n - The fields ['description'] are required in package mode.\n - Project name (invalid) is same as one of its dependencies\n" = str(RuntimeError("The Poetry configuration is invalid:\n - The fields ['description'] are required in package mode.\n - Project name (invalid) is same as one of its dependencies\n"))
417s E + where RuntimeError("The Poetry configuration is invalid:\n - The fields ['description'] are required in package mode.\n - Project name (invalid) is same as one of its dependencies\n") = .value
417s
417s tests/test_factory.py:540: AssertionError
417s _____________ test_publish_returns_non_zero_code_for_upload_errors _____________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s app =
417s app_tester =
417s http =
417s
417s def test_publish_returns_non_zero_code_for_upload_errors(
417s app: PoetryTestApplication,
417s app_tester: ApplicationTester,
417s http: type[httpretty.httpretty],
417s ) -> None:
417s http.register_uri(
417s http.POST, "https://upload.pypi.org/legacy/", status=400, body="Bad Request"
417s )
417s
417s exit_code = app_tester.execute("publish --username foo --password bar")
417s
417s assert exit_code == 1
417s
417s expected_output = """
417s Publishing simple-project (1.2.3) to PyPI
417s """
417s expected_error_output = """\
417s HTTP Error 400: Bad Request | b'Bad Request'
417s """
417s
417s assert expected_output in app_tester.io.fetch_output()
417s > assert expected_error_output in app_tester.io.fetch_error()
417s E assert "HTTP Error 400: Bad Request | b'Bad Request'\n" in ' - Uploading simple_project-1.2.3-py2.py3-none-any.whl 0%\nFailed to socket.connect() because because a real socket was never created.\n\naddress: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.\n'
417s E + where ' - Uploading simple_project-1.2.3-py2.py3-none-any.whl 0%\nFailed to socket.connect() because because a real socket was never created.\n\naddress: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.\n' = >()
417s E + where > = .fetch_error
417s E + where = .io
417s
417s tests/console/commands/test_publish.py:43: AssertionError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): upload.pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_publish_returns_non_zero_code_for_connection_errors ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s app =
417s app_tester =
417s http =
417s
417s @pytest.mark.filterwarnings("ignore::pytest.PytestUnhandledThreadExceptionWarning")
417s def test_publish_returns_non_zero_code_for_connection_errors(
417s app: PoetryTestApplication,
417s app_tester: ApplicationTester,
417s http: type[httpretty.httpretty],
417s ) -> None:
417s def request_callback(*_: Any, **__: Any) -> None:
417s raise requests.ConnectionError()
417s
417s http.register_uri(
417s http.POST, "https://upload.pypi.org/legacy/", body=request_callback
417s )
417s
417s exit_code = app_tester.execute("publish --username foo --password bar")
417s
417s assert exit_code == 1
417s
417s expected = str(UploadError(error=requests.ConnectionError()))
417s
417s > assert expected in app_tester.io.fetch_error()
417s E AssertionError: assert 'Connection Error: We were unable to connect to the repository, ensure the url is correct and can be reached.' in ' - Uploading simple_project-1.2.3-py2.py3-none-any.whl 0%\nFailed to socket.connect() because because a real socket was never created.\n\naddress: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.\n'
417s E + where ' - Uploading simple_project-1.2.3-py2.py3-none-any.whl 0%\nFailed to socket.connect() because because a real socket was never created.\n\naddress: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.\n' = >()
417s E + where > = .fetch_error
417s E + where = .io
417s
417s tests/console/commands/test_publish.py:65: AssertionError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): upload.pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _________________________________ test_search __________________________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s tester =
417s http =
417s
417s def test_search(tester: CommandTester, http: type[httpretty.httpretty]) -> None:
417s > tester.execute("sqlalchemy")
417s
417s tests/console/commands/test_search.py:34:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/cleo/testers/command_tester.py:88: in execute
417s self._status_code = self._command.run(self._io)
417s /usr/lib/python3/dist-packages/cleo/commands/base_command.py:117: in run
417s return self.execute(io) or 0
417s /usr/lib/python3/dist-packages/cleo/commands/command.py:61: in execute
417s return self.handle()
417s /usr/lib/python3/dist-packages/poetry/console/commands/search.py:17: in handle
417s results = PyPiRepository().search(self.argument("tokens"))
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:57: in search
417s response = requests.get(
417s /usr/lib/python3/dist-packages/requests/api.py:73: in get
417s return request("get", url, params=params, **kwargs)
417s /usr/lib/python3/dist-packages/requests/api.py:59: in request
417s return session.request(method=method, url=url, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_chooser_chooses_universal_wheel_link_if_available[] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_universal_wheel_link_if_available(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:148:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ________ test_chooser_chooses_universal_wheel_link_if_available[legacy] ________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None
417s source_type = 'legacy'
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_universal_wheel_link_if_available(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:148:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s __________ test_chooser_no_binary_policy[-:all:-pytest-3.5.0.tar.gz] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s policy = ':all:', filename = 'pytest-3.5.0.tar.gz'
417s config =
417s
417s @pytest.mark.parametrize(
417s ("policy", "filename"),
417s [
417s (":all:", "pytest-3.5.0.tar.gz"),
417s (":none:", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("black", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("pytest", "pytest-3.5.0.tar.gz"),
417s ("pytest,black", "pytest-3.5.0.tar.gz"),
417s ],
417s )
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_no_binary_policy(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s policy: str,
417s filename: str,
417s config: Config,
417s ) -> None:
417s config.merge({"installer": {"no-binary": policy.split(",")}})
417s
417s chooser = Chooser(pool, env, config)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:188:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___ test_chooser_no_binary_policy[-:none:-pytest-3.5.0-py2.py3-none-any.whl] ___
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s policy = ':none:', filename = 'pytest-3.5.0-py2.py3-none-any.whl'
417s config =
417s
417s @pytest.mark.parametrize(
417s ("policy", "filename"),
417s [
417s (":all:", "pytest-3.5.0.tar.gz"),
417s (":none:", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("black", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("pytest", "pytest-3.5.0.tar.gz"),
417s ("pytest,black", "pytest-3.5.0.tar.gz"),
417s ],
417s )
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_no_binary_policy(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s policy: str,
417s filename: str,
417s config: Config,
417s ) -> None:
417s config.merge({"installer": {"no-binary": policy.split(",")}})
417s
417s chooser = Chooser(pool, env, config)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:188:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___ test_chooser_no_binary_policy[-black-pytest-3.5.0-py2.py3-none-any.whl] ____
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s policy = 'black', filename = 'pytest-3.5.0-py2.py3-none-any.whl'
417s config =
417s
417s @pytest.mark.parametrize(
417s ("policy", "filename"),
417s [
417s (":all:", "pytest-3.5.0.tar.gz"),
417s (":none:", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("black", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("pytest", "pytest-3.5.0.tar.gz"),
417s ("pytest,black", "pytest-3.5.0.tar.gz"),
417s ],
417s )
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_no_binary_policy(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s policy: str,
417s filename: str,
417s config: Config,
417s ) -> None:
417s config.merge({"installer": {"no-binary": policy.split(",")}})
417s
417s chooser = Chooser(pool, env, config)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:188:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s __________ test_chooser_no_binary_policy[-pytest-pytest-3.5.0.tar.gz] __________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s policy = 'pytest', filename = 'pytest-3.5.0.tar.gz'
417s config =
417s
417s @pytest.mark.parametrize(
417s ("policy", "filename"),
417s [
417s (":all:", "pytest-3.5.0.tar.gz"),
417s (":none:", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("black", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("pytest", "pytest-3.5.0.tar.gz"),
417s ("pytest,black", "pytest-3.5.0.tar.gz"),
417s ],
417s )
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_no_binary_policy(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s policy: str,
417s filename: str,
417s config: Config,
417s ) -> None:
417s config.merge({"installer": {"no-binary": policy.split(",")}})
417s
417s chooser = Chooser(pool, env, config)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:188:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______ test_chooser_no_binary_policy[-pytest,black-pytest-3.5.0.tar.gz] _______
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s policy = 'pytest,black', filename = 'pytest-3.5.0.tar.gz'
417s config =
417s
417s @pytest.mark.parametrize(
417s ("policy", "filename"),
417s [
417s (":all:", "pytest-3.5.0.tar.gz"),
417s (":none:", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("black", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("pytest", "pytest-3.5.0.tar.gz"),
417s ("pytest,black", "pytest-3.5.0.tar.gz"),
417s ],
417s )
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_no_binary_policy(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s policy: str,
417s filename: str,
417s config: Config,
417s ) -> None:
417s config.merge({"installer": {"no-binary": policy.split(",")}})
417s
417s chooser = Chooser(pool, env, config)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:188:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______ test_chooser_no_binary_policy[legacy-:all:-pytest-3.5.0.tar.gz] ________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None
417s source_type = 'legacy'
417s pool =
417s policy = ':all:', filename = 'pytest-3.5.0.tar.gz'
417s config =
417s
417s @pytest.mark.parametrize(
417s ("policy", "filename"),
417s [
417s (":all:", "pytest-3.5.0.tar.gz"),
417s (":none:", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("black", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("pytest", "pytest-3.5.0.tar.gz"),
417s ("pytest,black", "pytest-3.5.0.tar.gz"),
417s ],
417s )
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_no_binary_policy(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s policy: str,
417s filename: str,
417s config: Config,
417s ) -> None:
417s config.merge({"installer": {"no-binary": policy.split(",")}})
417s
417s chooser = Chooser(pool, env, config)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:188:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _ test_chooser_no_binary_policy[legacy-:none:-pytest-3.5.0-py2.py3-none-any.whl] _
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None
417s source_type = 'legacy'
417s pool =
417s policy = ':none:', filename = 'pytest-3.5.0-py2.py3-none-any.whl'
417s config =
417s
417s @pytest.mark.parametrize(
417s ("policy", "filename"),
417s [
417s (":all:", "pytest-3.5.0.tar.gz"),
417s (":none:", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("black", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("pytest", "pytest-3.5.0.tar.gz"),
417s ("pytest,black", "pytest-3.5.0.tar.gz"),
417s ],
417s )
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_no_binary_policy(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s policy: str,
417s filename: str,
417s config: Config,
417s ) -> None:
417s config.merge({"installer": {"no-binary": policy.split(",")}})
417s
417s chooser = Chooser(pool, env, config)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:188:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _ test_chooser_no_binary_policy[legacy-black-pytest-3.5.0-py2.py3-none-any.whl] _
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None
417s source_type = 'legacy'
417s pool =
417s policy = 'black', filename = 'pytest-3.5.0-py2.py3-none-any.whl'
417s config =
417s
417s @pytest.mark.parametrize(
417s ("policy", "filename"),
417s [
417s (":all:", "pytest-3.5.0.tar.gz"),
417s (":none:", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("black", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("pytest", "pytest-3.5.0.tar.gz"),
417s ("pytest,black", "pytest-3.5.0.tar.gz"),
417s ],
417s )
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_no_binary_policy(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s policy: str,
417s filename: str,
417s config: Config,
417s ) -> None:
417s config.merge({"installer": {"no-binary": policy.split(",")}})
417s
417s chooser = Chooser(pool, env, config)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:188:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______ test_chooser_no_binary_policy[legacy-pytest-pytest-3.5.0.tar.gz] _______
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None
417s source_type = 'legacy'
417s pool =
417s policy = 'pytest', filename = 'pytest-3.5.0.tar.gz'
417s config =
417s
417s @pytest.mark.parametrize(
417s ("policy", "filename"),
417s [
417s (":all:", "pytest-3.5.0.tar.gz"),
417s (":none:", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("black", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("pytest", "pytest-3.5.0.tar.gz"),
417s ("pytest,black", "pytest-3.5.0.tar.gz"),
417s ],
417s )
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_no_binary_policy(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s policy: str,
417s filename: str,
417s config: Config,
417s ) -> None:
417s config.merge({"installer": {"no-binary": policy.split(",")}})
417s
417s chooser = Chooser(pool, env, config)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:188:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ____ test_chooser_no_binary_policy[legacy-pytest,black-pytest-3.5.0.tar.gz] ____
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None
417s source_type = 'legacy'
417s pool =
417s policy = 'pytest,black', filename = 'pytest-3.5.0.tar.gz'
417s config =
417s
417s @pytest.mark.parametrize(
417s ("policy", "filename"),
417s [
417s (":all:", "pytest-3.5.0.tar.gz"),
417s (":none:", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("black", "pytest-3.5.0-py2.py3-none-any.whl"),
417s ("pytest", "pytest-3.5.0.tar.gz"),
417s ("pytest,black", "pytest-3.5.0.tar.gz"),
417s ],
417s )
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_no_binary_policy(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s policy: str,
417s filename: str,
417s config: Config,
417s ) -> None:
417s config.merge({"installer": {"no-binary": policy.split(",")}})
417s
417s chooser = Chooser(pool, env, config)
417s
417s package = Package("pytest", "3.5.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:188:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___ test_chooser_chooses_specific_python_universal_wheel_link_if_available[] ___
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_specific_python_universal_wheel_link_if_available(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("isort", "4.3.4")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:213:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _ test_chooser_chooses_specific_python_universal_wheel_link_if_available[legacy] _
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None
417s source_type = 'legacy'
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_specific_python_universal_wheel_link_if_available(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("isort", "4.3.4")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:213:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ________ test_chooser_chooses_system_specific_wheel_link_if_available[] ________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_system_specific_wheel_link_if_available(
417s mock_pypi: None, mock_legacy: None, source_type: str, pool: RepositoryPool
417s ) -> None:
417s env = MockEnv(
417s supported_tags=[Tag("cp37", "cp37m", "win32"), Tag("py3", "none", "any")]
417s )
417s chooser = Chooser(pool, env)
417s
417s package = Package("pyyaml", "3.13.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:237:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _____ test_chooser_chooses_system_specific_wheel_link_if_available[legacy] _____
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mock_pypi = None, mock_legacy = None, source_type = 'legacy'
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_system_specific_wheel_link_if_available(
417s mock_pypi: None, mock_legacy: None, source_type: str, pool: RepositoryPool
417s ) -> None:
417s env = MockEnv(
417s supported_tags=[Tag("cp37", "cp37m", "win32"), Tag("py3", "none", "any")]
417s )
417s chooser = Chooser(pool, env)
417s
417s package = Package("pyyaml", "3.13.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:237:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ____ test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available[] _____
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("pyyaml", "3.13.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:262:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _ test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available[legacy] __
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None
417s source_type = 'legacy'
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("pyyaml", "3.13.0")
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:262:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ______ test_chooser_chooses_distributions_that_match_the_package_hashes[] ______
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_distributions_that_match_the_package_hashes(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("isort", "4.3.4")
417s files = [
417s {
417s "hash": "sha256:b9c40e9750f3d77e6e4d441d8b0266cf555e7cdabdcff33c4fd06366ca761ef8",
417s "filename": "isort-4.3.4.tar.gz",
417s }
417s ]
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s package.files = files
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:295:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___ test_chooser_chooses_distributions_that_match_the_package_hashes[legacy] ___
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None
417s source_type = 'legacy'
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_distributions_that_match_the_package_hashes(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("isort", "4.3.4")
417s files = [
417s {
417s "hash": "sha256:b9c40e9750f3d77e6e4d441d8b0266cf555e7cdabdcff33c4fd06366ca761ef8",
417s "filename": "isort-4.3.4.tar.gz",
417s }
417s ]
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s package.files = files
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:295:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s __________________ test_chooser_chooses_yanked_if_no_others[] __________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_yanked_if_no_others(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("black", "21.11b0")
417s files = [
417s {
417s "filename": "black-21.11b0-py3-none-any.whl",
417s "hash": "sha256:0b1f66cbfadcd332ceeaeecf6373d9991d451868d2e2219ad0ac1213fb701117",
417s }
417s ]
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s package.files = files
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:328:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______________ test_chooser_chooses_yanked_if_no_others[legacy] _______________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None
417s source_type = 'legacy'
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_chooses_yanked_if_no_others(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: str,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("black", "21.11b0")
417s files = [
417s {
417s "filename": "black-21.11b0-py3-none-any.whl",
417s "hash": "sha256:0b1f66cbfadcd332ceeaeecf6373d9991d451868d2e2219ad0ac1213fb701117",
417s }
417s ]
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s package.files = files
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:328:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ________________ test_chooser_does_not_choose_yanked_if_others _________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mock_legacy = None, mock_legacy_partial_yank = None
417s pool =
417s
417s def test_chooser_does_not_choose_yanked_if_others(
417s mock_legacy: None,
417s mock_legacy_partial_yank: None,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, MockEnv(supported_tags=[Tag("py2", "none", "any")]))
417s
417s package = Package("futures", "3.2.0")
417s files = [
417s {
417s "filename": "futures-3.2.0-py2-none-any.whl",
417s "hash": "sha256:ec0a6cb848cc212002b9828c3e34c675e0c9ff6741dc445cab6fdd4e1085d1f1",
417s },
417s {
417s "filename": "futures-3.2.0.tar.gz",
417s "hash": "sha256:9ec02aa7d674acb8618afb127e27fde7fc68994c0437ad759fa094a574adb265",
417s },
417s ]
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s package_partial_yank = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo2",
417s source_url="https://foo2.bar/simple/",
417s )
417s
417s package.files = files
417s package_partial_yank.files = files
417s
417s > link = chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:370:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ________ test_chooser_throws_an_error_if_package_hashes_do_not_match[] _________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None, source_type = ''
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_throws_an_error_if_package_hashes_do_not_match(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: None,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("isort", "4.3.4")
417s files = [
417s {
417s "hash": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
417s "filename": "isort-4.3.4.tar.gz",
417s }
417s ]
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s package.files = files
417s
417s with pytest.raises(RuntimeError) as e:
417s > chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:406:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:115: in find_links_for_package
417s json_data = self._get(f"pypi/{package.name}/{package.version}/json")
417s /usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py:202: in _get
417s json_response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for pypi.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): pypi.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _____ test_chooser_throws_an_error_if_package_hashes_do_not_match[legacy] ______
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s env = MockEnv("/usr"), mock_pypi = None, mock_legacy = None
417s source_type = 'legacy'
417s pool =
417s
417s @pytest.mark.parametrize("source_type", ["", "legacy"])
417s def test_chooser_throws_an_error_if_package_hashes_do_not_match(
417s env: MockEnv,
417s mock_pypi: None,
417s mock_legacy: None,
417s source_type: None,
417s pool: RepositoryPool,
417s ) -> None:
417s chooser = Chooser(pool, env)
417s
417s package = Package("isort", "4.3.4")
417s files = [
417s {
417s "hash": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
417s "filename": "isort-4.3.4.tar.gz",
417s }
417s ]
417s if source_type == "legacy":
417s package = Package(
417s package.name,
417s package.version.text,
417s source_type="legacy",
417s source_reference="foo",
417s source_url="https://foo.bar/simple/",
417s )
417s
417s package.files = files
417s
417s with pytest.raises(RuntimeError) as e:
417s > chooser.choose_for(package)
417s
417s tests/installation/test_chooser.py:406:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:47: in choose_for
417s for link in self._get_links(package):
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:89: in _get_links
417s links = repository.find_links_for_package(package)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:79: in find_links_for_package
417s page = self.get_page(package.name)
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _________________ test_execute_executes_a_batch_of_operations __________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s pool =
417s io =
417s tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/popen-gw0/test_execute_executes_a_batch_0')
417s mock_file_downloads = None
417s env = MockEnv("/tmp/pytest-of-root/pytest-0/popen-gw0/test_execute_executes_a_batch_0/.venv")
417s copy_wheel = ._copy_wheel at 0xf4de817b8180>
417s fixture_dir = ._fixture_dir at 0xf4de851636a0>
417s
417s def test_execute_executes_a_batch_of_operations(
417s mocker: MockerFixture,
417s config: Config,
417s pool: RepositoryPool,
417s io: BufferedIO,
417s tmp_path: Path,
417s mock_file_downloads: None,
417s env: MockEnv,
417s copy_wheel: Callable[[], Path],
417s fixture_dir: FixtureDirGetter,
417s ) -> None:
417s wheel_install = mocker.patch.object(WheelInstaller, "install")
417s
417s config.merge({"cache-dir": str(tmp_path)})
417s artifact_cache = ArtifactCache(cache_dir=config.artifacts_cache_directory)
417s
417s prepare_spy = mocker.spy(Chef, "_prepare")
417s chef = Chef(artifact_cache, env, Factory.create_pool(config))
417s chef.set_directory_wheel([copy_wheel(), copy_wheel()])
417s chef.set_sdist_wheel(copy_wheel())
417s
417s io.set_verbosity(Verbosity.VERY_VERBOSE)
417s
417s executor = Executor(env, pool, config, io)
417s executor._chef = chef
417s
417s file_package = Package(
417s "demo",
417s "0.1.0",
417s source_type="file",
417s source_url=(fixture_dir("distributions") / "demo-0.1.0-py2.py3-none-any.whl")
417s .resolve()
417s .as_posix(),
417s )
417s
417s directory_package = Package(
417s "simple-project",
417s "1.2.3",
417s source_type="directory",
417s source_url=fixture_dir("simple_project").resolve().as_posix(),
417s )
417s
417s git_package = Package(
417s "demo",
417s "0.1.0",
417s source_type="git",
417s source_reference="master",
417s source_url="https://github.com/demo/demo.git",
417s develop=True,
417s )
417s
417s return_code = executor.execute(
417s [
417s Install(Package("pytest", "3.5.1")),
417s Uninstall(Package("attrs", "17.4.0")),
417s Update(Package("requests", "2.18.3"), Package("requests", "2.18.4")),
417s Update(Package("pytest", "3.5.1"), Package("pytest", "3.5.0")),
417s Uninstall(Package("clikit", "0.2.3")).skip("Not currently installed"),
417s Install(file_package),
417s Install(directory_package),
417s Install(git_package),
417s ]
417s )
417s
417s expected = f"""
417s Package operations: 4 installs, 2 updates, 1 removal
417s
417s • Installing pytest (3.5.1)
417s • Removing attrs (17.4.0)
417s • Updating requests (2.18.3 -> 2.18.4)
417s • Downgrading pytest (3.5.1 -> 3.5.0)
417s • Installing demo (0.1.0 {file_package.source_url})
417s • Installing simple-project (1.2.3 {directory_package.source_url})
417s • Installing demo (0.1.0 master)
417s """
417s
417s expected_lines = set(expected.splitlines())
417s output_lines = set(io.fetch_output().splitlines())
417s > assert output_lines == expected_lines
417s E AssertionError: assert {'', ' ', ' ...icator)', ...} == {'', ' • Dow...roject)', ...}
417s E Extra items in the left set:
417s E ' 17 /usr/lib/python3/dist-packages/poetry/installation/executor.py:542 in _install'
417s E ' 649│ hostname = self._address[0]'
417s E ' 6 /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777 in urlopen'
417s E ' downloader = Downloader(url, dest, self._authenticator)'
417s E ' original_archive = self._artifact_cache.get_cached_archive_for_link('
417s E ' 11 /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271 in get'...
417s E
417s E ...Full output truncated (147 lines hidden), use '-vv' to show
417s
417s tests/installation/test_executor.py:270: AssertionError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for files.pythonhosted.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): files.pythonhosted.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______ test_execute_prints_warning_for_yanked_package[operations0-True] _______
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config =
417s pool =
417s io =
417s tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/popen-gw0/test_execute_prints_warning_fo0')
417s mock_file_downloads = None
417s env = MockEnv("/tmp/pytest-of-root/pytest-0/popen-gw0/test_execute_prints_warning_fo0/.venv")
417s operations = [, ]
417s has_warning = True
417s
417s @pytest.mark.parametrize(
417s "operations, has_warning",
417s [
417s (
417s [Install(Package("black", "21.11b0")), Install(Package("pytest", "3.5.1"))],
417s True,
417s ),
417s (
417s [
417s Uninstall(Package("black", "21.11b0")),
417s Uninstall(Package("pytest", "3.5.1")),
417s ],
417s False,
417s ),
417s (
417s [
417s Update(Package("black", "19.10b0"), Package("black", "21.11b0")),
417s Update(Package("pytest", "3.5.0"), Package("pytest", "3.5.1")),
417s ],
417s True,
417s ),
417s ],
417s )
417s def test_execute_prints_warning_for_yanked_package(
417s config: Config,
417s pool: RepositoryPool,
417s io: BufferedIO,
417s tmp_path: Path,
417s mock_file_downloads: None,
417s env: MockEnv,
417s operations: list[Operation],
417s has_warning: bool,
417s ) -> None:
417s config.merge({"cache-dir": str(tmp_path)})
417s
417s executor = Executor(env, pool, config, io)
417s
417s return_code = executor.execute(operations)
417s
417s expected = (
417s "Warning: The file chosen for install of black 21.11b0 "
417s "(black-21.11b0-py3-none-any.whl) is yanked. Reason for being yanked: "
417s "Broken regex dependency. Use 21.11b1 instead."
417s )
417s output = io.fetch_output()
417s error = io.fetch_error()
417s > assert return_code == 0, f"\noutput: {output}\nerror: {error}\n"
417s E AssertionError:
417s E output:
417s E Package operations: 2 installs, 0 updates, 0 removals
417s E
417s E • Installing black (21.11b0)
417s E • Installing pytest (3.5.1)
417s E
417s E UnmockedError
417s E
417s E Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s E
417s E at /usr/lib/python3/dist-packages/httpretty/core.py:645 in connect_truesock
417s E 641│
417s E 642│ if httpretty.allow_net_connect and not self.truesock:
417s E 643│ self.truesock = self.create_socket(address)
417s E 644│ elif not self.truesock:
417s E → 645│ raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E 646│
417s E 647│ undo_patch_socket()
417s E 648│ try:
417s E 649│ hostname = self._address[0]
417s E
417s E Cannot install black.
417s E
417s E
417s E UnmockedError
417s E
417s E Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s E
417s E at /usr/lib/python3/dist-packages/httpretty/core.py:645 in connect_truesock
417s E 641│
417s E 642│ if httpretty.allow_net_connect and not self.truesock:
417s E 643│ self.truesock = self.create_socket(address)
417s E 644│ elif not self.truesock:
417s E → 645│ raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E 646│
417s E 647│ undo_patch_socket()
417s E 648│ try:
417s E 649│ hostname = self._address[0]
417s E
417s E Cannot install pytest.
417s E
417s E
417s E error: Warning: The file chosen for install of black 21.11b0 (black-21.11b0-py3-none-any.whl) is yanked. Reason for being yanked: Broken regex dependency. Use 21.11b1 instead.
417s E
417s E
417s E assert 1 == 0
417s
417s tests/installation/test_executor.py:329: AssertionError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for files.pythonhosted.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): files.pythonhosted.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (2): files.pythonhosted.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______ test_execute_prints_warning_for_yanked_package[operations2-True] _______
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config =
417s pool =
417s io =
417s tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/popen-gw0/test_execute_prints_warning_fo2')
417s mock_file_downloads = None
417s env = MockEnv("/tmp/pytest-of-root/pytest-0/popen-gw0/test_execute_prints_warning_fo2/.venv")
417s operations = [, ]
417s has_warning = True
417s
417s @pytest.mark.parametrize(
417s "operations, has_warning",
417s [
417s (
417s [Install(Package("black", "21.11b0")), Install(Package("pytest", "3.5.1"))],
417s True,
417s ),
417s (
417s [
417s Uninstall(Package("black", "21.11b0")),
417s Uninstall(Package("pytest", "3.5.1")),
417s ],
417s False,
417s ),
417s (
417s [
417s Update(Package("black", "19.10b0"), Package("black", "21.11b0")),
417s Update(Package("pytest", "3.5.0"), Package("pytest", "3.5.1")),
417s ],
417s True,
417s ),
417s ],
417s )
417s def test_execute_prints_warning_for_yanked_package(
417s config: Config,
417s pool: RepositoryPool,
417s io: BufferedIO,
417s tmp_path: Path,
417s mock_file_downloads: None,
417s env: MockEnv,
417s operations: list[Operation],
417s has_warning: bool,
417s ) -> None:
417s config.merge({"cache-dir": str(tmp_path)})
417s
417s executor = Executor(env, pool, config, io)
417s
417s return_code = executor.execute(operations)
417s
417s expected = (
417s "Warning: The file chosen for install of black 21.11b0 "
417s "(black-21.11b0-py3-none-any.whl) is yanked. Reason for being yanked: "
417s "Broken regex dependency. Use 21.11b1 instead."
417s )
417s output = io.fetch_output()
417s error = io.fetch_error()
417s > assert return_code == 0, f"\noutput: {output}\nerror: {error}\n"
417s E AssertionError:
417s E output:
417s E Package operations: 0 installs, 2 updates, 0 removals
417s E
417s E • Updating black (19.10b0 -> 21.11b0)
417s E • Updating pytest (3.5.0 -> 3.5.1)
417s E
417s E UnmockedError
417s E
417s E Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s E
417s E at /usr/lib/python3/dist-packages/httpretty/core.py:645 in connect_truesock
417s E 641│
417s E 642│ if httpretty.allow_net_connect and not self.truesock:
417s E 643│ self.truesock = self.create_socket(address)
417s E 644│ elif not self.truesock:
417s E → 645│ raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E 646│
417s E 647│ undo_patch_socket()
417s E 648│ try:
417s E 649│ hostname = self._address[0]
417s E
417s E Cannot install black.
417s E
417s E
417s E UnmockedError
417s E
417s E Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s E
417s E at /usr/lib/python3/dist-packages/httpretty/core.py:645 in connect_truesock
417s E 641│
417s E 642│ if httpretty.allow_net_connect and not self.truesock:
417s E 643│ self.truesock = self.create_socket(address)
417s E 644│ elif not self.truesock:
417s E → 645│ raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E 646│
417s E 647│ undo_patch_socket()
417s E 648│ try:
417s E 649│ hostname = self._address[0]
417s E
417s E Cannot install pytest.
417s E
417s E
417s E error: Warning: The file chosen for install of black 21.11b0 (black-21.11b0-py3-none-any.whl) is yanked. Reason for being yanked: Broken regex dependency. Use 21.11b1 instead.
417s E
417s E
417s E assert 1 == 0
417s
417s tests/installation/test_executor.py:329: AssertionError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for files.pythonhosted.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): files.pythonhosted.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (2): files.pythonhosted.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _____________________ test_execute_works_with_ansi_output ______________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config =
417s pool =
417s io_decorated =
417s tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/popen-gw0/test_execute_works_with_ansi_o0')
417s mock_file_downloads = None
417s env = MockEnv("/tmp/pytest-of-root/pytest-0/popen-gw0/test_execute_works_with_ansi_o0/.venv")
417s
417s def test_execute_works_with_ansi_output(
417s config: Config,
417s pool: RepositoryPool,
417s io_decorated: BufferedIO,
417s tmp_path: Path,
417s mock_file_downloads: None,
417s env: MockEnv,
417s ) -> None:
417s config.merge({"cache-dir": str(tmp_path)})
417s
417s executor = Executor(env, pool, config, io_decorated)
417s
417s return_code = executor.execute(
417s [
417s Install(Package("cleo", "1.0.0a5")),
417s ]
417s )
417s
417s # fmt: off
417s expected = [
417s "\x1b[39;1mPackage operations\x1b[39;22m: \x1b[34m1\x1b[39m install, \x1b[34m0\x1b[39m updates, \x1b[34m0\x1b[39m removals",
417s "\x1b[34;1m•\x1b[39;22m \x1b[39mInstalling \x1b[39m\x1b[36mcleo\x1b[39m\x1b[39m (\x1b[39m\x1b[39;1m1.0.0a5\x1b[39;22m\x1b[39m)\x1b[39m: \x1b[34mPending...\x1b[39m",
417s "\x1b[34;1m•\x1b[39;22m \x1b[39mInstalling \x1b[39m\x1b[36mcleo\x1b[39m\x1b[39m (\x1b[39m\x1b[39;1m1.0.0a5\x1b[39;22m\x1b[39m)\x1b[39m: \x1b[34mDownloading...\x1b[39m",
417s "\x1b[34;1m•\x1b[39;22m \x1b[39mInstalling \x1b[39m\x1b[36mcleo\x1b[39m\x1b[39m (\x1b[39m\x1b[39;1m1.0.0a5\x1b[39;22m\x1b[39m)\x1b[39m: \x1b[34mInstalling...\x1b[39m",
417s "\x1b[32;1m•\x1b[39;22m \x1b[39mInstalling \x1b[39m\x1b[36mcleo\x1b[39m\x1b[39m (\x1b[39m\x1b[32m1.0.0a5\x1b[39m\x1b[39m)\x1b[39m", # finished
417s ]
417s # fmt: on
417s
417s output = io_decorated.fetch_output()
417s # hint: use print(repr(output)) if you need to debug this
417s
417s for line in expected:
417s > assert line in output
417s E assert '\x1b[34;1m•\x1b[39;22m \x1b[39mInstalling \x1b[39m\x1b[36mcleo\x1b[39m\x1b[39m (\x1b[39m\x1b[39;1m1.0.0a5\x1b[39;22m\x1b[39m)\x1b[39m: \x1b[34mDownloading...\x1b[39m' in "\n\x1b[39;1mPackage operations\x1b[39;22m: \x1b[34m1\x1b[39m install, \x1b[34m0\x1b[39m updates, \x1b[34m0\x1b[39m removals\n\n \x1b[34;1m•\x1b[39;22m \x1b[39mInstalling \x1b[39m\x1b[36mcleo\x1b[39m\x1b[39m (\x1b[39m\x1b[39;1m1.0.0a5\x1b[39;22m\x1b[39m)\x1b[39m: \x1b[34mPending...\x1b[39m\n\x1b[1A\x1b[0J \x1b[31;1m•\x1b[39;22m \x1b[39mInstalling \x1b[39m\x1b[36mcleo\x1b[39m\x1b[39m (\x1b[39m\x1b[31;1m1.0.0a5\x1b[39;22m\x1b[39m)\x1b[39m: \x1b[31;1mFailed\x1b[39;22m\n\n \x1b[31;1mUnmockedError\x1b[39;22m\n\n \x1b[39;1mFailed to socket.connect() because because a real socket was never created.\n \n address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.\x1b[39;22m\n\n at \x1b[32m/usr/lib/python3/dist-packages/httpretty/core.py\x1b[39m:\x1b[39;1m645\x1b[39;22m in \x1b[36mconnect_truesock\x1b[39m\n \x1b[39;2m 641\x1b[39;22m\x1b[39;2m│\x1b[39;22m \n \x1b[39;2m 642\x1b[39;22m\x1b[39;2m│\x1b[39;22m \x1b[39m \x1b[39m\x1b[35;1mif \x1b[39;22m\x1b[39mhttpretty\x1b[39m\x1b[39;2m.\x1b[39;22m\x1b[39mallow_net_connect \x1b[39m\x1b[...39;1mself\x1b[39;22m\x1b[39;2m.\x1b[39;22m\x1b[39mtruesock\x1b[39m\x1b[39;2m:\x1b[39;22m\n \x1b[31;1m→\x1b[39;22m \x1b[39;1m 645\x1b[39;22m\x1b[39;2m│\x1b[39;22m \x1b[39m \x1b[39m\x1b[35;1mraise \x1b[39;22m\x1b[39mUnmockedError\x1b[39m\x1b[39;2m(\x1b[39;22m\x1b[33;1m'Failed to socket.connect() because because a real socket was never created.'\x1b[39;22m\x1b[39;2m, \x1b[39;22m\x1b[39mrequest\x1b[39m\x1b[39;2m=\x1b[39;22m\x1b[39mrequest\x1b[39m\x1b[39;2m, \x1b[39;22m\x1b[39maddress\x1b[39m\x1b[39;2m=\x1b[39;22m\x1b[39maddress\x1b[39m\x1b[39;2m)\x1b[39;22m\n \x1b[39;2m 646\x1b[39;22m\x1b[39;2m│\x1b[39;22m \n \x1b[39;2m 647\x1b[39;22m\x1b[39;2m│\x1b[39;22m \x1b[39m undo_patch_socket\x1b[39m\x1b[39;2m()\x1b[39;22m\n \x1b[39;2m 648\x1b[39;22m\x1b[39;2m│\x1b[39;22m \x1b[39;2m \x1b[39;22m\x1b[35;1mtry\x1b[39;22m\x1b[39;2m:\x1b[39;22m\n \x1b[39;2m 649\x1b[39;22m\x1b[39;2m│\x1b[39;22m \x1b[39m hostname \x1b[39m\x1b[39;2m= \x1b[39;22m\x1b[39;1mself\x1b[39;22m\x1b[39;2m.\x1b[39;22m\x1b[39m_address\x1b[39m\x1b[39;2m[\x1b[39;22m\x1b[34;1m0\x1b[39;22m\x1b[39;2m]\x1b[39;22m\n\n\x1b[31;1mCannot install cleo.\x1b[39;22m\n\n"
417s
417s tests/installation/test_executor.py:487: AssertionError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for files.pythonhosted.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): files.pythonhosted.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ____________________ test_execute_works_with_no_ansi_output ____________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s pool =
417s io_not_decorated =
417s tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/popen-gw0/test_execute_works_with_no_ans0')
417s mock_file_downloads = None
417s env = MockEnv("/tmp/pytest-of-root/pytest-0/popen-gw0/test_execute_works_with_no_ans0/.venv")
417s
417s def test_execute_works_with_no_ansi_output(
417s mocker: MockerFixture,
417s config: Config,
417s pool: RepositoryPool,
417s io_not_decorated: BufferedIO,
417s tmp_path: Path,
417s mock_file_downloads: None,
417s env: MockEnv,
417s ) -> None:
417s config.merge({"cache-dir": str(tmp_path)})
417s
417s executor = Executor(env, pool, config, io_not_decorated)
417s
417s return_code = executor.execute(
417s [
417s Install(Package("cleo", "1.0.0a5")),
417s ]
417s )
417s
417s expected = """
417s Package operations: 1 install, 0 updates, 0 removals
417s
417s • Installing cleo (1.0.0a5)
417s """
417s expected_lines = set(expected.splitlines())
417s output_lines = set(io_not_decorated.fetch_output().splitlines())
417s > assert output_lines == expected_lines
417s E AssertionError: assert {'', ' ', ' ...uesock:', ...} == {'', ' • Ins..., 0 removals'}
417s E Extra items in the left set:
417s E ' 641│ '
417s E ' 649│ hostname = self._address[0]'
417s E ' 644│ elif not self.truesock:'
417s E 'Cannot install cleo.'
417s E ' UnmockedError'
417s E ' Failed to socket.connect() because because a real socket was never created.'...
417s E
417s E ...Full output truncated (37 lines hidden), use '-vv' to show
417s
417s tests/installation/test_executor.py:517: AssertionError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for files.pythonhosted.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): files.pythonhosted.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ____ test_executor_should_write_pep610_url_references_for_wheel_urls[False] ____
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s tmp_venv = VirtualEnv("/tmp/pytest-of-root/pytest-0/popen-gw0/test_executor_should_write_pep2/venv")
417s pool =
417s config =
417s io =
417s mock_file_downloads = None
417s mocker =
417s fixture_dir = ._fixture_dir at 0xf4de851636a0>
417s is_artifact_cached = False
417s
417s @pytest.mark.parametrize("is_artifact_cached", [False, True])
417s def test_executor_should_write_pep610_url_references_for_wheel_urls(
417s tmp_venv: VirtualEnv,
417s pool: RepositoryPool,
417s config: Config,
417s io: BufferedIO,
417s mock_file_downloads: None,
417s mocker: MockerFixture,
417s fixture_dir: FixtureDirGetter,
417s is_artifact_cached: bool,
417s ) -> None:
417s if is_artifact_cached:
417s link_cached = fixture_dir("distributions") / "demo-0.1.0-py2.py3-none-any.whl"
417s mocker.patch(
417s "poetry.utils.cache.ArtifactCache.get_cached_archive_for_link",
417s return_value=link_cached,
417s )
417s download_spy = mocker.spy(Executor, "_download_archive")
417s
417s package = Package(
417s "demo",
417s "0.1.0",
417s source_type="url",
417s source_url="https://files.pythonhosted.org/demo-0.1.0-py2.py3-none-any.whl",
417s )
417s # Set package.files so the executor will attempt to hash the package
417s package.files = [
417s {
417s "file": "demo-0.1.0-py2.py3-none-any.whl",
417s "hash": "sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a",
417s }
417s ]
417s
417s executor = Executor(tmp_venv, pool, config, io)
417s operation = Install(package)
417s executor.execute([operation])
417s expected_url_reference = {
417s "archive_info": {
417s "hashes": {
417s "sha256": (
417s "70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a"
417s )
417s },
417s },
417s "url": package.source_url,
417s }
417s > verify_installed_distribution(tmp_venv, package, expected_url_reference)
417s
417s tests/installation/test_executor.py:859:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s venv = VirtualEnv("/tmp/pytest-of-root/pytest-0/popen-gw0/test_executor_should_write_pep2/venv")
417s package = Package('demo', '0.1.0', source_type='url', source_url='https://files.pythonhosted.org/demo-0.1.0-py2.py3-none-any.whl')
417s url_reference = {'archive_info': {'hashes': {'sha256': '70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}}, 'url': 'https://files.pythonhosted.org/demo-0.1.0-py2.py3-none-any.whl'}
417s
417s def verify_installed_distribution(
417s venv: VirtualEnv, package: Package, url_reference: dict[str, Any] | None = None
417s ) -> None:
417s distributions = list(venv.site_packages.distributions(name=package.name))
417s > assert len(distributions) == 1
417s E assert 0 == 1
417s E + where 0 = len([])
417s
417s tests/installation/test_executor.py:619: AssertionError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for files.pythonhosted.org
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): files.pythonhosted.org:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s __________________ test_uploader_properly_handles_400_errors ___________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s
417s def test_uploader_properly_handles_400_errors(
417s http: type[httpretty.httpretty], uploader: Uploader
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=400, body="Bad request")
417s
417s with pytest.raises(UploadError) as e:
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:33:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s __________________ test_uploader_properly_handles_403_errors ___________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s
417s def test_uploader_properly_handles_403_errors(
417s http: type[httpretty.httpretty], uploader: Uploader
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=403, body="Unauthorized")
417s
417s with pytest.raises(UploadError) as e:
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:44:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ______________ test_uploader_properly_handles_nonstandard_errors _______________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s
417s def test_uploader_properly_handles_nonstandard_errors(
417s http: type[httpretty.httpretty], uploader: Uploader
417s ) -> None:
417s # content based off a true story.
417s # Message changed to protect the ~~innocent~~ guilty.
417s content = (
417s b'{\n "errors": [ {\n '
417s b'"status": 400,'
417s b'"message": "I cant let you do that, dave"\n'
417s b"} ]\n}"
417s )
417s http.register_uri(http.POST, "https://foo.com", status=400, body=content)
417s
417s with pytest.raises(UploadError) as e:
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:63:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______ test_uploader_properly_handles_redirects[308-Permanent Redirect] _______
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 308, body = 'Permanent Redirect'
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (308, "Permanent Redirect"),
417s (307, "Temporary Redirect"),
417s (304, "Not Modified"),
417s (303, "See Other"),
417s (302, "Found"),
417s (301, "Moved Permanently"),
417s (300, "Multiple Choices"),
417s ],
417s )
417s def test_uploader_properly_handles_redirects(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s with pytest.raises(UploadError) as e:
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:86:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______ test_uploader_properly_handles_redirects[307-Temporary Redirect] _______
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 307, body = 'Temporary Redirect'
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (308, "Permanent Redirect"),
417s (307, "Temporary Redirect"),
417s (304, "Not Modified"),
417s (303, "See Other"),
417s (302, "Found"),
417s (301, "Moved Permanently"),
417s (300, "Multiple Choices"),
417s ],
417s )
417s def test_uploader_properly_handles_redirects(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s with pytest.raises(UploadError) as e:
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:86:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s __________ test_uploader_properly_handles_redirects[304-Not Modified] __________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 304, body = 'Not Modified'
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (308, "Permanent Redirect"),
417s (307, "Temporary Redirect"),
417s (304, "Not Modified"),
417s (303, "See Other"),
417s (302, "Found"),
417s (301, "Moved Permanently"),
417s (300, "Multiple Choices"),
417s ],
417s )
417s def test_uploader_properly_handles_redirects(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s with pytest.raises(UploadError) as e:
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:86:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_uploader_properly_handles_redirects[303-See Other] ____________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 303, body = 'See Other'
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (308, "Permanent Redirect"),
417s (307, "Temporary Redirect"),
417s (304, "Not Modified"),
417s (303, "See Other"),
417s (302, "Found"),
417s (301, "Moved Permanently"),
417s (300, "Multiple Choices"),
417s ],
417s )
417s def test_uploader_properly_handles_redirects(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s with pytest.raises(UploadError) as e:
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:86:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _____________ test_uploader_properly_handles_redirects[302-Found] ______________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 302, body = 'Found'
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (308, "Permanent Redirect"),
417s (307, "Temporary Redirect"),
417s (304, "Not Modified"),
417s (303, "See Other"),
417s (302, "Found"),
417s (301, "Moved Permanently"),
417s (300, "Multiple Choices"),
417s ],
417s )
417s def test_uploader_properly_handles_redirects(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s with pytest.raises(UploadError) as e:
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:86:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______ test_uploader_properly_handles_redirects[301-Moved Permanently] ________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 301, body = 'Moved Permanently'
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (308, "Permanent Redirect"),
417s (307, "Temporary Redirect"),
417s (304, "Not Modified"),
417s (303, "See Other"),
417s (302, "Found"),
417s (301, "Moved Permanently"),
417s (300, "Multiple Choices"),
417s ],
417s )
417s def test_uploader_properly_handles_redirects(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s with pytest.raises(UploadError) as e:
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:86:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ________ test_uploader_properly_handles_redirects[300-Multiple Choices] ________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 300, body = 'Multiple Choices'
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (308, "Permanent Redirect"),
417s (307, "Temporary Redirect"),
417s (304, "Not Modified"),
417s (303, "See Other"),
417s (302, "Found"),
417s (301, "Moved Permanently"),
417s (300, "Multiple Choices"),
417s ],
417s )
417s def test_uploader_properly_handles_redirects(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s with pytest.raises(UploadError) as e:
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:86:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _________________ test_uploader_properly_handles_301_redirects _________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s
417s def test_uploader_properly_handles_301_redirects(
417s http: type[httpretty.httpretty], uploader: Uploader
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=301, body="Redirect")
417s
417s with pytest.raises(UploadError) as e:
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:100:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ______________ test_uploader_registers_for_appropriate_400_errors ______________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s http =
417s uploader =
417s
417s def test_uploader_registers_for_appropriate_400_errors(
417s mocker: MockerFixture, http: type[httpretty.httpretty], uploader: Uploader
417s ) -> None:
417s register = mocker.patch("poetry.publishing.uploader.Uploader._register")
417s http.register_uri(
417s http.POST, "https://foo.com", status=400, body="No package was ever registered"
417s )
417s
417s with pytest.raises(UploadError):
417s > uploader.upload("https://foo.com")
417s
417s tests/publishing/test_uploader.py:117:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ______________________ test_uploader_skips_existing[409-] ______________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 409, body = ''
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (409, ""),
417s (400, "File already exists"),
417s (400, "Repository does not allow updating assets"),
417s (403, "Not enough permissions to overwrite artifact"),
417s (400, "file name has already been taken"),
417s ],
417s )
417s def test_uploader_skips_existing(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s # should not raise
417s > uploader.upload("https://foo.com", skip_existing=True)
417s
417s tests/publishing/test_uploader.py:138:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ____________ test_uploader_skips_existing[400-File already exists] _____________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 400, body = 'File already exists'
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (409, ""),
417s (400, "File already exists"),
417s (400, "Repository does not allow updating assets"),
417s (403, "Not enough permissions to overwrite artifact"),
417s (400, "file name has already been taken"),
417s ],
417s )
417s def test_uploader_skips_existing(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s # should not raise
417s > uploader.upload("https://foo.com", skip_existing=True)
417s
417s tests/publishing/test_uploader.py:138:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _ test_uploader_skips_existing[400-Repository does not allow updating assets] __
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 400, body = 'Repository does not allow updating assets'
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (409, ""),
417s (400, "File already exists"),
417s (400, "Repository does not allow updating assets"),
417s (403, "Not enough permissions to overwrite artifact"),
417s (400, "file name has already been taken"),
417s ],
417s )
417s def test_uploader_skips_existing(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s # should not raise
417s > uploader.upload("https://foo.com", skip_existing=True)
417s
417s tests/publishing/test_uploader.py:138:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _ test_uploader_skips_existing[403-Not enough permissions to overwrite artifact] _
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 403, body = 'Not enough permissions to overwrite artifact'
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (409, ""),
417s (400, "File already exists"),
417s (400, "Repository does not allow updating assets"),
417s (403, "Not enough permissions to overwrite artifact"),
417s (400, "file name has already been taken"),
417s ],
417s )
417s def test_uploader_skips_existing(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s # should not raise
417s > uploader.upload("https://foo.com", skip_existing=True)
417s
417s tests/publishing/test_uploader.py:138:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ______ test_uploader_skips_existing[400-file name has already been taken] ______
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s status = 400, body = 'file name has already been taken'
417s
417s @pytest.mark.parametrize(
417s "status, body",
417s [
417s (409, ""),
417s (400, "File already exists"),
417s (400, "Repository does not allow updating assets"),
417s (403, "Not enough permissions to overwrite artifact"),
417s (400, "file name has already been taken"),
417s ],
417s )
417s def test_uploader_skips_existing(
417s http: type[httpretty.httpretty], uploader: Uploader, status: int, body: str
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=status, body=body)
417s
417s # should not raise
417s > uploader.upload("https://foo.com", skip_existing=True)
417s
417s tests/publishing/test_uploader.py:138:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ____________ test_uploader_skip_existing_bubbles_unskippable_errors ____________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s uploader =
417s
417s def test_uploader_skip_existing_bubbles_unskippable_errors(
417s http: type[httpretty.httpretty], uploader: Uploader
417s ) -> None:
417s http.register_uri(http.POST, "https://foo.com", status=403, body="Unauthorized")
417s
417s with pytest.raises(UploadError):
417s > uploader.upload("https://foo.com", skip_existing=True)
417s
417s tests/publishing/test_uploader.py:147:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:110: in upload
417s self._upload(session, url, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:192: in _upload
417s self._upload_file(session, url, file, dry_run, skip_existing)
417s /usr/lib/python3/dist-packages/poetry/publishing/uploader.py:235: in _upload_file
417s resp = session.post(
417s /usr/lib/python3/dist-packages/requests/sessions.py:637: in post
417s return self.request("POST", url, data=data, json=json, **kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
417s resp = self.send(prep, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.com:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s __________________________ test_get_200_returns_page ___________________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s
417s def test_get_200_returns_page(http: type[httpretty.httpretty]) -> None:
417s repo = MockHttpRepository({"/foo/": 200}, http)
417s
417s > _ = repo.get_page("foo")
417s
417s tests/repositories/test_legacy_repository.py:512:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:791: in urlopen
417s response = self._make_request(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:497: in _make_request
417s conn.request(
417s /usr/lib/python3/dist-packages/urllib3/connection.py:395: in request
417s self.endheaders()
417s /usr/lib/python3.12/http/client.py:1326: in endheaders
417s self._send_output(message_body, encode_chunked=encode_chunked)
417s /usr/lib/python3.12/http/client.py:1085: in _send_output
417s self.send(msg)
417s /usr/lib/python3.12/http/client.py:1029: in send
417s self.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:243: in connect
417s self.sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for legacy.foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:245 Starting new HTTP connection (1): squid.internal:3128
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ______________________ test_get_40x_and_returns_none[401] ______________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s status_code = 401
417s
417s @pytest.mark.parametrize("status_code", [401, 403, 404])
417s def test_get_40x_and_returns_none(
417s http: type[httpretty.httpretty], status_code: int
417s ) -> None:
417s repo = MockHttpRepository({"/foo/": status_code}, http)
417s
417s with pytest.raises(PackageNotFound):
417s > repo.get_page("foo")
417s
417s tests/repositories/test_legacy_repository.py:522:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:791: in urlopen
417s response = self._make_request(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:497: in _make_request
417s conn.request(
417s /usr/lib/python3/dist-packages/urllib3/connection.py:395: in request
417s self.endheaders()
417s /usr/lib/python3.12/http/client.py:1326: in endheaders
417s self._send_output(message_body, encode_chunked=encode_chunked)
417s /usr/lib/python3.12/http/client.py:1085: in _send_output
417s self.send(msg)
417s /usr/lib/python3.12/http/client.py:1029: in send
417s self.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:243: in connect
417s self.sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for legacy.foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:245 Starting new HTTP connection (1): squid.internal:3128
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ______________________ test_get_40x_and_returns_none[403] ______________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s status_code = 403
417s
417s @pytest.mark.parametrize("status_code", [401, 403, 404])
417s def test_get_40x_and_returns_none(
417s http: type[httpretty.httpretty], status_code: int
417s ) -> None:
417s repo = MockHttpRepository({"/foo/": status_code}, http)
417s
417s with pytest.raises(PackageNotFound):
417s > repo.get_page("foo")
417s
417s tests/repositories/test_legacy_repository.py:522:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:791: in urlopen
417s response = self._make_request(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:497: in _make_request
417s conn.request(
417s /usr/lib/python3/dist-packages/urllib3/connection.py:395: in request
417s self.endheaders()
417s /usr/lib/python3.12/http/client.py:1326: in endheaders
417s self._send_output(message_body, encode_chunked=encode_chunked)
417s /usr/lib/python3.12/http/client.py:1085: in _send_output
417s self.send(msg)
417s /usr/lib/python3.12/http/client.py:1029: in send
417s self.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:243: in connect
417s self.sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for legacy.foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:245 Starting new HTTP connection (1): squid.internal:3128
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ______________________ test_get_40x_and_returns_none[404] ______________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s status_code = 404
417s
417s @pytest.mark.parametrize("status_code", [401, 403, 404])
417s def test_get_40x_and_returns_none(
417s http: type[httpretty.httpretty], status_code: int
417s ) -> None:
417s repo = MockHttpRepository({"/foo/": status_code}, http)
417s
417s with pytest.raises(PackageNotFound):
417s > repo.get_page("foo")
417s
417s tests/repositories/test_legacy_repository.py:522:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:791: in urlopen
417s response = self._make_request(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:497: in _make_request
417s conn.request(
417s /usr/lib/python3/dist-packages/urllib3/connection.py:395: in request
417s self.endheaders()
417s /usr/lib/python3.12/http/client.py:1326: in endheaders
417s self._send_output(message_body, encode_chunked=encode_chunked)
417s /usr/lib/python3.12/http/client.py:1085: in _send_output
417s self.send(msg)
417s /usr/lib/python3.12/http/client.py:1029: in send
417s self.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:243: in connect
417s self.sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for legacy.foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:245 Starting new HTTP connection (1): squid.internal:3128
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _____________________________ test_get_5xx_raises ______________________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s
417s def test_get_5xx_raises(http: type[httpretty.httpretty]) -> None:
417s repo = MockHttpRepository({"/foo/": 500}, http)
417s
417s with pytest.raises(RepositoryError):
417s > repo.get_page("foo")
417s
417s tests/repositories/test_legacy_repository.py:529:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:791: in urlopen
417s response = self._make_request(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:497: in _make_request
417s conn.request(
417s /usr/lib/python3/dist-packages/urllib3/connection.py:395: in request
417s self.endheaders()
417s /usr/lib/python3.12/http/client.py:1326: in endheaders
417s self._send_output(message_body, encode_chunked=encode_chunked)
417s /usr/lib/python3.12/http/client.py:1085: in _send_output
417s self.send(msg)
417s /usr/lib/python3.12/http/client.py:1029: in send
417s self.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:243: in connect
417s self.sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for legacy.foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:245 Starting new HTTP connection (1): squid.internal:3128
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___ test_authenticator_with_implicit_repository_configuration[repositories0] ___
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s config = , repositories = {}
417s
417s @pytest.mark.parametrize(
417s ("repositories",),
417s [
417s ({},),
417s # ensure path is respected
417s ({"publish": {"url": "https://foo.bar/legacy"}},),
417s # ensure path length does not give incorrect results
417s ({"publish": {"url": "https://foo.bar/upload/legacy"}},),
417s ],
417s )
417s def test_authenticator_with_implicit_repository_configuration(
417s http: type[httpretty.httpretty],
417s config: Config,
417s repositories: dict[str, dict[str, str]],
417s ) -> None:
417s http.register_uri(
417s http.GET,
417s re.compile("^https?://foo.bar/(.+?)$"),
417s )
417s
417s config.merge(
417s {
417s "repositories": repositories,
417s "http-basic": {
417s "source": {"username": "foo", "password": "bar"},
417s "publish": {"username": "baz", "password": "qux"},
417s },
417s }
417s )
417s
417s repo = LegacyRepository(name="source", url="https://foo.bar/simple", config=config)
417s > repo.get_page("/foo")
417s
417s tests/repositories/test_legacy_repository.py:583:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___ test_authenticator_with_implicit_repository_configuration[repositories1] ___
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s config =
417s repositories = {'publish': {'url': 'https://foo.bar/legacy'}}
417s
417s @pytest.mark.parametrize(
417s ("repositories",),
417s [
417s ({},),
417s # ensure path is respected
417s ({"publish": {"url": "https://foo.bar/legacy"}},),
417s # ensure path length does not give incorrect results
417s ({"publish": {"url": "https://foo.bar/upload/legacy"}},),
417s ],
417s )
417s def test_authenticator_with_implicit_repository_configuration(
417s http: type[httpretty.httpretty],
417s config: Config,
417s repositories: dict[str, dict[str, str]],
417s ) -> None:
417s http.register_uri(
417s http.GET,
417s re.compile("^https?://foo.bar/(.+?)$"),
417s )
417s
417s config.merge(
417s {
417s "repositories": repositories,
417s "http-basic": {
417s "source": {"username": "foo", "password": "bar"},
417s "publish": {"username": "baz", "password": "qux"},
417s },
417s }
417s )
417s
417s repo = LegacyRepository(name="source", url="https://foo.bar/simple", config=config)
417s > repo.get_page("/foo")
417s
417s tests/repositories/test_legacy_repository.py:583:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - publish, source
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - publish, source
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___ test_authenticator_with_implicit_repository_configuration[repositories2] ___
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s http =
417s config =
417s repositories = {'publish': {'url': 'https://foo.bar/upload/legacy'}}
417s
417s @pytest.mark.parametrize(
417s ("repositories",),
417s [
417s ({},),
417s # ensure path is respected
417s ({"publish": {"url": "https://foo.bar/legacy"}},),
417s # ensure path length does not give incorrect results
417s ({"publish": {"url": "https://foo.bar/upload/legacy"}},),
417s ],
417s )
417s def test_authenticator_with_implicit_repository_configuration(
417s http: type[httpretty.httpretty],
417s config: Config,
417s repositories: dict[str, dict[str, str]],
417s ) -> None:
417s http.register_uri(
417s http.GET,
417s re.compile("^https?://foo.bar/(.+?)$"),
417s )
417s
417s config.merge(
417s {
417s "repositories": repositories,
417s "http-basic": {
417s "source": {"username": "foo", "password": "bar"},
417s "publish": {"username": "baz", "password": "qux"},
417s },
417s }
417s )
417s
417s repo = LegacyRepository(name="source", url="https://foo.bar/simple", config=config)
417s > repo.get_page("/foo")
417s
417s tests/repositories/test_legacy_repository.py:583:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/repositories/legacy_repository.py:138: in _get_page
417s response = self._get_response(f"/{name}/")
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:268: in _get_response
417s response: requests.Response = self.session.get(
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:271: in get
417s return self.request("get", url, **kwargs)
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - publish, source
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - publish, source
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______________ test_authenticator_uses_url_provided_credentials _______________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mock_config =
417s mock_remote = None
417s http =
417s
417s def test_authenticator_uses_url_provided_credentials(
417s mock_config: Config, mock_remote: None, http: type[httpretty.httpretty]
417s ) -> None:
417s authenticator = Authenticator(mock_config, NullIO())
417s > authenticator.request("get", "https://foo001:bar002@foo.bar/files/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:67:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo001:bar002@foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______ test_authenticator_uses_credentials_from_config_if_not_provided ________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mock_config =
417s mock_remote = None
417s http =
417s
417s def test_authenticator_uses_credentials_from_config_if_not_provided(
417s mock_config: Config, mock_remote: None, http: type[httpretty.httpretty]
417s ) -> None:
417s authenticator = Authenticator(mock_config, NullIO())
417s > authenticator.request("get", "https://foo.bar/files/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:78:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ______________ test_authenticator_uses_username_only_credentials _______________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mock_config =
417s mock_remote = None
417s http =
417s with_simple_keyring = None
417s
417s def test_authenticator_uses_username_only_credentials(
417s mock_config: Config,
417s mock_remote: None,
417s http: type[httpretty.httpretty],
417s with_simple_keyring: None,
417s ) -> None:
417s authenticator = Authenticator(mock_config, NullIO())
417s > authenticator.request("get", "https://foo001@foo.bar/files/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:92:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo001@foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s __________________ test_authenticator_ignores_locked_keyring ___________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mock_remote = None
417s http =
417s with_locked_keyring = None
417s caplog = <_pytest.logging.LogCaptureFixture object at 0xf4de80d51b80>
417s
417s def test_authenticator_ignores_locked_keyring(
417s mock_remote: None,
417s http: type[httpretty.httpretty],
417s with_locked_keyring: None,
417s caplog: LogCaptureFixture,
417s ) -> None:
417s caplog.set_level(logging.DEBUG, logger="poetry.utils.password_manager")
417s authenticator = Authenticator()
417s > authenticator.request("get", "https://foo.bar/files/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:107:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.password_manager:password_manager.py:58 Keyring https://foo.bar/files/foo-0.1.0.tar.gz is locked
417s DEBUG poetry.utils.password_manager:password_manager.py:58 Keyring foo.bar is locked
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s __________________ test_authenticator_ignores_failing_keyring __________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mock_remote = None
417s http =
417s with_erroneous_keyring = None
417s caplog = <_pytest.logging.LogCaptureFixture object at 0xf4de837fc950>
417s
417s def test_authenticator_ignores_failing_keyring(
417s mock_remote: None,
417s http: type[httpretty.httpretty],
417s with_erroneous_keyring: None,
417s caplog: LogCaptureFixture,
417s ) -> None:
417s caplog.set_level(logging.DEBUG, logger="poetry.utils.password_manager")
417s authenticator = Authenticator()
417s > authenticator.request("get", "https://foo.bar/files/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:122:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.password_manager:password_manager.py:60 Accessing keyring https://foo.bar/files/foo-0.1.0.tar.gz failed
417s Traceback (most recent call last):
417s File "/usr/lib/python3/dist-packages/poetry/utils/password_manager.py", line 56, in get_credential
417s credential = keyring.get_credential(name, username)
417s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
417s File "/usr/lib/python3/dist-packages/keyring/core.py", line 73, in get_credential
417s return get_keyring().get_credential(service_name, username)
417s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
417s File "/tmp/autopkgtest.qLoeLi/autopkgtest_tmp/tests/conftest.py", line 147, in get_credential
417s raise KeyringError()
417s keyring.errors.KeyringError
417s DEBUG poetry.utils.password_manager:password_manager.py:60 Accessing keyring foo.bar failed
417s Traceback (most recent call last):
417s File "/usr/lib/python3/dist-packages/poetry/utils/password_manager.py", line 56, in get_credential
417s credential = keyring.get_credential(name, username)
417s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
417s File "/usr/lib/python3/dist-packages/keyring/core.py", line 73, in get_credential
417s return get_keyring().get_credential(service_name, username)
417s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
417s File "/tmp/autopkgtest.qLoeLi/autopkgtest_tmp/tests/conftest.py", line 147, in get_credential
417s raise KeyringError()
417s keyring.errors.KeyringError
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ______________ test_authenticator_uses_password_only_credentials _______________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mock_config =
417s mock_remote = None
417s http =
417s
417s def test_authenticator_uses_password_only_credentials(
417s mock_config: Config, mock_remote: None, http: type[httpretty.httpretty]
417s ) -> None:
417s authenticator = Authenticator(mock_config, NullIO())
417s > authenticator.request("get", "https://:bar002@foo.bar/files/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:133:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for :bar002@foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s __________ test_authenticator_uses_empty_strings_as_default_password ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config = , mock_remote = None
417s repo = {'foo': {'url': 'https://foo.bar/simple/'}}
417s http =
417s with_simple_keyring = None
417s
417s def test_authenticator_uses_empty_strings_as_default_password(
417s config: Config,
417s mock_remote: None,
417s repo: dict[str, dict[str, str]],
417s http: type[httpretty.httpretty],
417s with_simple_keyring: None,
417s ) -> None:
417s config.merge(
417s {
417s "repositories": repo,
417s "http-basic": {"foo": {"username": "bar"}},
417s }
417s )
417s
417s authenticator = Authenticator(config, NullIO())
417s > authenticator.request("get", "https://foo.bar/files/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:155:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s __________ test_authenticator_uses_empty_strings_as_default_username ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config = , mock_remote = None
417s repo = {'foo': {'url': 'https://foo.bar/simple/'}}
417s http =
417s
417s def test_authenticator_uses_empty_strings_as_default_username(
417s config: Config,
417s mock_remote: None,
417s repo: dict[str, dict[str, str]],
417s http: type[httpretty.httpretty],
417s ) -> None:
417s config.merge(
417s {
417s "repositories": repo,
417s "http-basic": {"foo": {"username": None, "password": "bar"}},
417s }
417s )
417s
417s authenticator = Authenticator(config, NullIO())
417s > authenticator.request("get", "https://foo.bar/files/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:176:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _________________ test_authenticator_falls_back_to_keyring_url _________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config = , mock_remote = None
417s repo = {'foo': {'url': 'https://foo.bar/simple/'}}
417s http =
417s with_simple_keyring = None
417s dummy_keyring =
417s
417s def test_authenticator_falls_back_to_keyring_url(
417s config: Config,
417s mock_remote: None,
417s repo: dict[str, dict[str, str]],
417s http: type[httpretty.httpretty],
417s with_simple_keyring: None,
417s dummy_keyring: DummyBackend,
417s ) -> None:
417s config.merge(
417s {
417s "repositories": repo,
417s }
417s )
417s
417s dummy_keyring.set_password(
417s "https://foo.bar/simple/", None, SimpleCredential("foo", "bar")
417s )
417s
417s authenticator = Authenticator(config, NullIO())
417s > authenticator.request("get", "https://foo.bar/files/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:202:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______________ test_authenticator_falls_back_to_keyring_netloc ________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config = , mock_remote = None
417s repo = {'foo': {'url': 'https://foo.bar/simple/'}}
417s http =
417s with_simple_keyring = None
417s dummy_keyring =
417s
417s def test_authenticator_falls_back_to_keyring_netloc(
417s config: Config,
417s mock_remote: None,
417s repo: dict[str, dict[str, str]],
417s http: type[httpretty.httpretty],
417s with_simple_keyring: None,
417s dummy_keyring: DummyBackend,
417s ) -> None:
417s config.merge(
417s {
417s "repositories": repo,
417s }
417s )
417s
417s dummy_keyring.set_password("foo.bar", None, SimpleCredential("foo", "bar"))
417s
417s authenticator = Authenticator(config, NullIO())
417s > authenticator.request("get", "https://foo.bar/files/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:226:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______________ test_authenticator_request_retries_on_exception ________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s
417s @pytest.mark.filterwarnings("ignore::pytest.PytestUnhandledThreadExceptionWarning")
417s def test_authenticator_request_retries_on_exception(
417s mocker: MockerFixture, config: Config, http: type[httpretty.httpretty]
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s seen: list[str] = []
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s if seen.count(uri) < 2:
417s seen.append(uri)
417s raise requests.exceptions.ConnectionError("Disconnected")
417s return [200, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s
417s authenticator = Authenticator(config, NullIO())
417s > response = authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:253:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _____ test_authenticator_request_raises_exception_when_attempts_exhausted ______
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s
417s @pytest.mark.filterwarnings("ignore::pytest.PytestUnhandledThreadExceptionWarning")
417s def test_authenticator_request_raises_exception_when_attempts_exhausted(
417s mocker: MockerFixture, config: Config, http: type[httpretty.httpretty]
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s
417s def callback(*_: Any, **___: Any) -> None:
417s raise requests.exceptions.ConnectionError(str(uuid.uuid4()))
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s with pytest.raises(requests.exceptions.ConnectionError):
417s > authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:272:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______________ test_authenticator_request_respects_retry_header _______________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s
417s def test_authenticator_request_respects_retry_header(
417s mocker: MockerFixture,
417s config: Config,
417s http: type[httpretty.httpretty],
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s seen: list[str] = []
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s if not seen.count(uri):
417s seen.append(uri)
417s return [429, {"Retry-After": "42"}, "Retry later"]
417s
417s return [200, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s > response = authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:299:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_authenticator_request_retries_on_status_code[400-0] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s status = 400, attempts = 0
417s
417s @pytest.mark.parametrize(
417s ["status", "attempts"],
417s [
417s (400, 0),
417s (401, 0),
417s (403, 0),
417s (404, 0),
417s (429, 5),
417s (500, 5),
417s (501, 5),
417s (502, 5),
417s (503, 5),
417s (504, 5),
417s ],
417s )
417s def test_authenticator_request_retries_on_status_code(
417s mocker: MockerFixture,
417s config: Config,
417s http: type[httpretty.httpretty],
417s status: int,
417s attempts: int,
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s return [status, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s with pytest.raises(requests.exceptions.HTTPError) as excinfo:
417s > authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:339:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_authenticator_request_retries_on_status_code[401-0] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s status = 401, attempts = 0
417s
417s @pytest.mark.parametrize(
417s ["status", "attempts"],
417s [
417s (400, 0),
417s (401, 0),
417s (403, 0),
417s (404, 0),
417s (429, 5),
417s (500, 5),
417s (501, 5),
417s (502, 5),
417s (503, 5),
417s (504, 5),
417s ],
417s )
417s def test_authenticator_request_retries_on_status_code(
417s mocker: MockerFixture,
417s config: Config,
417s http: type[httpretty.httpretty],
417s status: int,
417s attempts: int,
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s return [status, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s with pytest.raises(requests.exceptions.HTTPError) as excinfo:
417s > authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:339:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_authenticator_request_retries_on_status_code[403-0] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s status = 403, attempts = 0
417s
417s @pytest.mark.parametrize(
417s ["status", "attempts"],
417s [
417s (400, 0),
417s (401, 0),
417s (403, 0),
417s (404, 0),
417s (429, 5),
417s (500, 5),
417s (501, 5),
417s (502, 5),
417s (503, 5),
417s (504, 5),
417s ],
417s )
417s def test_authenticator_request_retries_on_status_code(
417s mocker: MockerFixture,
417s config: Config,
417s http: type[httpretty.httpretty],
417s status: int,
417s attempts: int,
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s return [status, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s with pytest.raises(requests.exceptions.HTTPError) as excinfo:
417s > authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:339:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_authenticator_request_retries_on_status_code[404-0] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s status = 404, attempts = 0
417s
417s @pytest.mark.parametrize(
417s ["status", "attempts"],
417s [
417s (400, 0),
417s (401, 0),
417s (403, 0),
417s (404, 0),
417s (429, 5),
417s (500, 5),
417s (501, 5),
417s (502, 5),
417s (503, 5),
417s (504, 5),
417s ],
417s )
417s def test_authenticator_request_retries_on_status_code(
417s mocker: MockerFixture,
417s config: Config,
417s http: type[httpretty.httpretty],
417s status: int,
417s attempts: int,
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s return [status, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s with pytest.raises(requests.exceptions.HTTPError) as excinfo:
417s > authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:339:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_authenticator_request_retries_on_status_code[429-5] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s status = 429, attempts = 5
417s
417s @pytest.mark.parametrize(
417s ["status", "attempts"],
417s [
417s (400, 0),
417s (401, 0),
417s (403, 0),
417s (404, 0),
417s (429, 5),
417s (500, 5),
417s (501, 5),
417s (502, 5),
417s (503, 5),
417s (504, 5),
417s ],
417s )
417s def test_authenticator_request_retries_on_status_code(
417s mocker: MockerFixture,
417s config: Config,
417s http: type[httpretty.httpretty],
417s status: int,
417s attempts: int,
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s return [status, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s with pytest.raises(requests.exceptions.HTTPError) as excinfo:
417s > authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:339:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_authenticator_request_retries_on_status_code[500-5] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s status = 500, attempts = 5
417s
417s @pytest.mark.parametrize(
417s ["status", "attempts"],
417s [
417s (400, 0),
417s (401, 0),
417s (403, 0),
417s (404, 0),
417s (429, 5),
417s (500, 5),
417s (501, 5),
417s (502, 5),
417s (503, 5),
417s (504, 5),
417s ],
417s )
417s def test_authenticator_request_retries_on_status_code(
417s mocker: MockerFixture,
417s config: Config,
417s http: type[httpretty.httpretty],
417s status: int,
417s attempts: int,
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s return [status, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s with pytest.raises(requests.exceptions.HTTPError) as excinfo:
417s > authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:339:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_authenticator_request_retries_on_status_code[501-5] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s status = 501, attempts = 5
417s
417s @pytest.mark.parametrize(
417s ["status", "attempts"],
417s [
417s (400, 0),
417s (401, 0),
417s (403, 0),
417s (404, 0),
417s (429, 5),
417s (500, 5),
417s (501, 5),
417s (502, 5),
417s (503, 5),
417s (504, 5),
417s ],
417s )
417s def test_authenticator_request_retries_on_status_code(
417s mocker: MockerFixture,
417s config: Config,
417s http: type[httpretty.httpretty],
417s status: int,
417s attempts: int,
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s return [status, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s with pytest.raises(requests.exceptions.HTTPError) as excinfo:
417s > authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:339:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_authenticator_request_retries_on_status_code[502-5] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s status = 502, attempts = 5
417s
417s @pytest.mark.parametrize(
417s ["status", "attempts"],
417s [
417s (400, 0),
417s (401, 0),
417s (403, 0),
417s (404, 0),
417s (429, 5),
417s (500, 5),
417s (501, 5),
417s (502, 5),
417s (503, 5),
417s (504, 5),
417s ],
417s )
417s def test_authenticator_request_retries_on_status_code(
417s mocker: MockerFixture,
417s config: Config,
417s http: type[httpretty.httpretty],
417s status: int,
417s attempts: int,
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s return [status, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s with pytest.raises(requests.exceptions.HTTPError) as excinfo:
417s > authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:339:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_authenticator_request_retries_on_status_code[503-5] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s status = 503, attempts = 5
417s
417s @pytest.mark.parametrize(
417s ["status", "attempts"],
417s [
417s (400, 0),
417s (401, 0),
417s (403, 0),
417s (404, 0),
417s (429, 5),
417s (500, 5),
417s (501, 5),
417s (502, 5),
417s (503, 5),
417s (504, 5),
417s ],
417s )
417s def test_authenticator_request_retries_on_status_code(
417s mocker: MockerFixture,
417s config: Config,
417s http: type[httpretty.httpretty],
417s status: int,
417s attempts: int,
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s return [status, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s with pytest.raises(requests.exceptions.HTTPError) as excinfo:
417s > authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:339:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ___________ test_authenticator_request_retries_on_status_code[504-5] ___________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s mocker =
417s config =
417s http =
417s status = 504, attempts = 5
417s
417s @pytest.mark.parametrize(
417s ["status", "attempts"],
417s [
417s (400, 0),
417s (401, 0),
417s (403, 0),
417s (404, 0),
417s (429, 5),
417s (500, 5),
417s (501, 5),
417s (502, 5),
417s (503, 5),
417s (504, 5),
417s ],
417s )
417s def test_authenticator_request_retries_on_status_code(
417s mocker: MockerFixture,
417s config: Config,
417s http: type[httpretty.httpretty],
417s status: int,
417s attempts: int,
417s ) -> None:
417s sleep = mocker.patch("time.sleep")
417s sdist_uri = f"https://foo.bar/files/{uuid.uuid4()!s}/foo-0.1.0.tar.gz"
417s content = str(uuid.uuid4())
417s
417s def callback(
417s request: requests.Request, uri: str, response_headers: dict[str, str]
417s ) -> list[int | dict[str, str] | str]:
417s return [status, response_headers, content]
417s
417s http.register_uri(httpretty.GET, sdist_uri, body=callback)
417s authenticator = Authenticator(config, NullIO())
417s
417s with pytest.raises(requests.exceptions.HTTPError) as excinfo:
417s > authenticator.request("get", sdist_uri)
417s
417s tests/utils/test_authenticator.py:339:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _______________ test_authenticator_uses_env_provided_credentials _______________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config =
417s repo = {'foo': {'url': 'https://foo.bar/simple/'}}, environ = None
417s mock_remote = None
417s http =
417s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf4de83457f20>
417s
417s def test_authenticator_uses_env_provided_credentials(
417s config: Config,
417s repo: dict[str, dict[str, str]],
417s environ: None,
417s mock_remote: type[httpretty.httpretty],
417s http: type[httpretty.httpretty],
417s monkeypatch: MonkeyPatch,
417s ) -> None:
417s monkeypatch.setenv("POETRY_HTTP_BASIC_FOO_USERNAME", "bar")
417s monkeypatch.setenv("POETRY_HTTP_BASIC_FOO_PASSWORD", "baz")
417s
417s config.merge({"repositories": repo})
417s
417s authenticator = Authenticator(config, NullIO())
417s > authenticator.request("get", "https://foo.bar/files/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:362:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _____ test_authenticator_uses_credentials_from_config_matched_by_url_path ______
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config = , mock_remote = None
417s http =
417s
417s def test_authenticator_uses_credentials_from_config_matched_by_url_path(
417s config: Config, mock_remote: None, http: type[httpretty.httpretty]
417s ) -> None:
417s config.merge(
417s {
417s "repositories": {
417s "foo-alpha": {"url": "https://foo.bar/alpha/files/simple/"},
417s "foo-beta": {"url": "https://foo.bar/beta/files/simple/"},
417s },
417s "http-basic": {
417s "foo-alpha": {"username": "bar", "password": "alpha"},
417s "foo-beta": {"username": "baz", "password": "beta"},
417s },
417s }
417s )
417s
417s authenticator = Authenticator(config, NullIO())
417s > authenticator.request("get", "https://foo.bar/alpha/files/simple/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:432:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - foo-alpha, foo-beta
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - foo-alpha, foo-beta
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _____ test_authenticator_uses_credentials_from_config_with_at_sign_in_path _____
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config = , mock_remote = None
417s http =
417s
417s def test_authenticator_uses_credentials_from_config_with_at_sign_in_path(
417s config: Config, mock_remote: None, http: type[httpretty.httpretty]
417s ) -> None:
417s config.merge(
417s {
417s "repositories": {
417s "foo": {"url": "https://foo.bar/beta/files/simple/"},
417s },
417s "http-basic": {
417s "foo": {"username": "bar", "password": "baz"},
417s },
417s }
417s )
417s authenticator = Authenticator(config, NullIO())
417s > authenticator.request("get", "https://foo.bar/beta/files/simple/f@@-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:462:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _________ test_authenticator_falls_back_to_keyring_url_matched_by_path _________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config = , mock_remote = None
417s http =
417s with_simple_keyring = None
417s dummy_keyring =
417s
417s def test_authenticator_falls_back_to_keyring_url_matched_by_path(
417s config: Config,
417s mock_remote: None,
417s http: type[httpretty.httpretty],
417s with_simple_keyring: None,
417s dummy_keyring: DummyBackend,
417s ) -> None:
417s config.merge(
417s {
417s "repositories": {
417s "foo-alpha": {"url": "https://foo.bar/alpha/files/simple/"},
417s "foo-beta": {"url": "https://foo.bar/beta/files/simple/"},
417s }
417s }
417s )
417s
417s dummy_keyring.set_password(
417s "https://foo.bar/alpha/files/simple/", None, SimpleCredential("foo", "bar")
417s )
417s dummy_keyring.set_password(
417s "https://foo.bar/beta/files/simple/", None, SimpleCredential("foo", "baz")
417s )
417s
417s authenticator = Authenticator(config, NullIO())
417s
417s > authenticator.request("get", "https://foo.bar/alpha/files/simple/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:495:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - foo-alpha, foo-beta
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - foo-alpha, foo-beta
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s _____ test_authenticator_uses_env_provided_credentials_matched_by_url_path _____
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config = , environ = None
417s mock_remote = None
417s http =
417s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf4de81b145c0>
417s
417s def test_authenticator_uses_env_provided_credentials_matched_by_url_path(
417s config: Config,
417s environ: None,
417s mock_remote: type[httpretty.httpretty],
417s http: type[httpretty.httpretty],
417s monkeypatch: MonkeyPatch,
417s ) -> None:
417s monkeypatch.setenv("POETRY_HTTP_BASIC_FOO_ALPHA_USERNAME", "bar")
417s monkeypatch.setenv("POETRY_HTTP_BASIC_FOO_ALPHA_PASSWORD", "alpha")
417s monkeypatch.setenv("POETRY_HTTP_BASIC_FOO_BETA_USERNAME", "baz")
417s monkeypatch.setenv("POETRY_HTTP_BASIC_FOO_BETA_PASSWORD", "beta")
417s
417s config.merge(
417s {
417s "repositories": {
417s "foo-alpha": {"url": "https://foo.bar/alpha/files/simple/"},
417s "foo-beta": {"url": "https://foo.bar/beta/files/simple/"},
417s }
417s }
417s )
417s
417s authenticator = Authenticator(config, NullIO())
417s
417s > authenticator.request("get", "https://foo.bar/alpha/files/simple/foo-0.1.0.tar.gz")
417s
417s tests/utils/test_authenticator.py:531:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - foo-alpha, foo-beta
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - foo-alpha, foo-beta
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ________________ test_authenticator_azure_feed_guid_credentials ________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config = , mock_remote = None
417s http =
417s with_simple_keyring = None
417s dummy_keyring =
417s
417s def test_authenticator_azure_feed_guid_credentials(
417s config: Config,
417s mock_remote: None,
417s http: type[httpretty.httpretty],
417s with_simple_keyring: None,
417s dummy_keyring: DummyBackend,
417s ) -> None:
417s config.merge(
417s {
417s "repositories": {
417s "alpha": {
417s "url": "https://foo.bar/org-alpha/_packaging/feed/pypi/simple/"
417s },
417s "beta": {
417s "url": "https://foo.bar/org-beta/_packaging/feed/pypi/simple/"
417s },
417s },
417s "http-basic": {
417s "alpha": {"username": "foo", "password": "bar"},
417s "beta": {"username": "baz", "password": "qux"},
417s },
417s }
417s )
417s
417s authenticator = Authenticator(config, NullIO())
417s
417s > authenticator.request(
417s "get",
417s "https://foo.bar/org-alpha/_packaging/GUID/pypi/simple/a/1.0.0/a-1.0.0.whl",
417s )
417s
417s tests/utils/test_authenticator.py:570:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - alpha, beta
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG poetry.utils.authenticator:authenticator.py:430 Multiple source configurations found for foo.bar - alpha, beta
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s ______________________ test_authenticator_add_repository _______________________
417s [gw0] linux -- Python 3.12.2 /usr/bin/python3.12
417s
417s config = , mock_remote = None
417s http =
417s with_simple_keyring = None
417s dummy_keyring =
417s
417s def test_authenticator_add_repository(
417s config: Config,
417s mock_remote: None,
417s http: type[httpretty.httpretty],
417s with_simple_keyring: None,
417s dummy_keyring: DummyBackend,
417s ) -> None:
417s config.merge(
417s {
417s "http-basic": {
417s "source": {"username": "foo", "password": "bar"},
417s },
417s }
417s )
417s
417s authenticator = Authenticator(config, NullIO())
417s
417s > authenticator.request(
417s "get",
417s "https://foo.bar/simple/a/1.0.0/a-1.0.0.whl",
417s )
417s
417s tests/utils/test_authenticator.py:606:
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s /usr/lib/python3/dist-packages/poetry/utils/authenticator.py:242: in request
417s resp = session.send(prepared_request, **send_kwargs)
417s /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
417s r = adapter.send(request, **kwargs)
417s /usr/lib/python3/dist-packages/cachecontrol/adapter.py:76: in send
417s resp = super().send(request, stream, timeout, verify, cert, proxies)
417s /usr/lib/python3/dist-packages/requests/adapters.py:486: in send
417s resp = conn.urlopen(
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:777: in urlopen
417s self._prepare_proxy(conn)
417s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1046: in _prepare_proxy
417s conn.connect()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:611: in connect
417s self.sock = sock = self._new_conn()
417s /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
417s sock = connection.create_connection(
417s /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in create_connection
417s sock.connect(sa)
417s /usr/lib/python3/dist-packages/httpretty/core.py:609: in connect
417s self.connect_truesock(address=address)
417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
417s
417s self = httpretty.core.socket("squid.internal:3128"), request = None
417s address = ('squid.internal', 3128)
417s
417s def connect_truesock(self, request=None, address=None):
417s address = address or self._address
417s
417s if self.__truesock_is_connected__:
417s return self.truesock
417s
417s if request:
417s logger.warning('real call to socket.connect() for {request}'.format(**locals()))
417s elif address:
417s logger.warning('real call to socket.connect() for {address}'.format(**locals()))
417s else:
417s logger.warning('real call to socket.connect()')
417s
417s if httpretty.allow_net_connect and not self.truesock:
417s self.truesock = self.create_socket(address)
417s elif not self.truesock:
417s > raise UnmockedError('Failed to socket.connect() because because a real socket was never created.', request=request, address=address)
417s E httpretty.errors.UnmockedError: Failed to socket.connect() because because a real socket was never created.
417s E
417s E address: squid.internal:3128 | Tip: You could try setting (allow_net_connect=True) to allow unregistered requests through a real TCP connection in addition to (verbose=True) to debug the issue.
417s
417s /usr/lib/python3/dist-packages/httpretty/core.py:645: UnmockedError
417s ----------------------------- Captured stdout call -----------------------------
417s real call to socket.connect() for ('squid.internal', 3128)
417s ------------------------------ Captured log call -------------------------------
417s DEBUG poetry.utils.authenticator:authenticator.py:166 Creating new session for foo.bar
417s DEBUG urllib3.connectionpool:connectionpool.py:1053 Starting new HTTPS connection (1): foo.bar:443
417s WARNING httpretty.core:core.py:638 real call to socket.connect() for ('squid.internal', 3128)
417s =============================== warnings summary ===============================
417s tests/console/commands/test_add.py: 13 warnings
417s tests/console/commands/test_show.py: 1 warning
417s tests/installation/test_executor.py: 8 warnings
417s tests/installation/test_installer.py: 2 warnings
417s tests/packages/test_direct_origin.py: 2 warnings
417s tests/puzzle/test_solver.py: 3 warnings
417s tests/utils/test_cache.py: 12 warnings
417s /usr/lib/python3/dist-packages/poetry/utils/cache.py:200: DeprecationWarning: hash_name is deprecated. Use hashes instead.
417s if link.hash_name is not None and link.hash is not None:
417s
417s tests/console/commands/test_build.py::test_build_with_multiple_readme_files
417s /usr/lib/python3/dist-packages/poetry/console/commands/build.py:24: DeprecationWarning: poetry.core.masonry.builder is deprecated. Its functionality has been movedfrom poetry-core to poetry (poetry.console.commands.build).
417s from poetry.core.masonry.builder import Builder
417s
417s tests/installation/test_executor.py: 16 warnings
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:189: DeprecationWarning: hash is deprecated. Use hashes instead.
417s if not link.hash:
417s
417s tests/installation/test_executor.py: 16 warnings
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:192: DeprecationWarning: hash_name is deprecated. Use hashes instead.
417s assert link.hash_name is not None
417s
417s tests/installation/test_executor.py: 16 warnings
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:193: DeprecationWarning: hash_name is deprecated. Use hashes instead.
417s h = link.hash_name + ":" + link.hash
417s
417s tests/installation/test_executor.py: 16 warnings
417s /usr/lib/python3/dist-packages/poetry/installation/chooser.py:193: DeprecationWarning: hash is deprecated. Use hashes instead.
417s h = link.hash_name + ":" + link.hash
417s
417s tests/installation/test_executor.py::test_execute_executes_a_batch_of_operations
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations0-True]
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations0-True]
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
417s tests/installation/test_executor.py::test_execute_works_with_ansi_output
417s tests/installation/test_executor.py::test_execute_works_with_no_ansi_output
417s /usr/lib/python3/dist-packages/poetry/utils/cache.py:200: DeprecationWarning: hash is deprecated. Use hashes instead.
417s if link.hash_name is not None and link.hash is not None:
417s
417s tests/installation/test_executor.py::test_execute_executes_a_batch_of_operations
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations0-True]
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations0-True]
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
417s tests/installation/test_executor.py::test_execute_works_with_ansi_output
417s tests/installation/test_executor.py::test_execute_works_with_no_ansi_output
417s /usr/lib/python3/dist-packages/poetry/utils/cache.py:201: DeprecationWarning: hash is deprecated. Use hashes instead.
417s key_parts[link.hash_name] = link.hash
417s
417s tests/installation/test_executor.py::test_execute_executes_a_batch_of_operations
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations0-True]
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations0-True]
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
417s tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
417s tests/installation/test_executor.py::test_execute_works_with_ansi_output
417s tests/installation/test_executor.py::test_execute_works_with_no_ansi_output
417s /usr/lib/python3/dist-packages/poetry/utils/cache.py:201: DeprecationWarning: hash_name is deprecated. Use hashes instead.
417s key_parts[link.hash_name] = link.hash
417s
417s tests/puzzle/test_solver.py: 16 warnings
417s tests/repositories/test_legacy_repository.py: 52 warnings
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:225: DeprecationWarning: hash is deprecated. Use hashes instead.
417s file_hash = f"{link.hash_name}:{link.hash}" if link.hash else None
417s
417s tests/puzzle/test_solver.py: 8 warnings
417s tests/repositories/test_legacy_repository.py: 25 warnings
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:225: DeprecationWarning: hash_name is deprecated. Use hashes instead.
417s file_hash = f"{link.hash_name}:{link.hash}" if link.hash else None
417s
417s tests/puzzle/test_solver.py: 8 warnings
417s tests/repositories/test_legacy_repository.py: 27 warnings
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:227: DeprecationWarning: hash is deprecated. Use hashes instead.
417s if not link.hash or (
417s
417s tests/puzzle/test_solver.py: 8 warnings
417s tests/repositories/test_legacy_repository.py: 25 warnings
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:228: DeprecationWarning: hash_name is deprecated. Use hashes instead.
417s link.hash_name is not None
417s
417s tests/puzzle/test_solver.py: 8 warnings
417s tests/repositories/test_legacy_repository.py: 25 warnings
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:229: DeprecationWarning: hash_name is deprecated. Use hashes instead.
417s and link.hash_name not in ("sha256", "sha384", "sha512")
417s
417s tests/repositories/test_legacy_repository.py::test_get_package_from_both_py2_and_py3_specific_wheels
417s tests/repositories/test_legacy_repository.py::test_get_package_with_dist_and_universal_py3_wheel
417s tests/repositories/test_legacy_repository.py::test_get_package_retrieves_non_sha256_hashes
417s tests/repositories/test_legacy_repository.py::test_get_package_retrieves_non_sha256_hashes_mismatching_known_hash
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:230: DeprecationWarning: hash_name is deprecated. Use hashes instead.
417s and hasattr(hashlib, link.hash_name)
417s
417s tests/repositories/test_legacy_repository.py: 10 warnings
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:248: DeprecationWarning: hash_name is deprecated. Use hashes instead.
417s known_hash = getattr(hashlib, link.hash_name)() if link.hash_name else None
417s
417s tests/repositories/test_legacy_repository.py::test_get_package_from_both_py2_and_py3_specific_wheels
417s tests/repositories/test_legacy_repository.py::test_get_package_with_dist_and_universal_py3_wheel
417s tests/repositories/test_legacy_repository.py::test_get_package_retrieves_non_sha256_hashes
417s tests/repositories/test_legacy_repository.py::test_get_package_retrieves_non_sha256_hashes_mismatching_known_hash
417s /usr/lib/python3/dist-packages/poetry/repositories/http_repository.py:261: DeprecationWarning: hash is deprecated. Use hashes instead.
417s if not known_hash or known_hash.hexdigest() == link.hash:
417s
417s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
417s =========================== short test summary info ============================
417s FAILED tests/test_factory.py::test_create_poetry_fails_on_invalid_configuration
417s FAILED tests/console/commands/test_publish.py::test_publish_returns_non_zero_code_for_upload_errors
417s FAILED tests/console/commands/test_publish.py::test_publish_returns_non_zero_code_for_connection_errors
417s FAILED tests/console/commands/test_search.py::test_search - httpretty.errors....
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_universal_wheel_link_if_available[]
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_universal_wheel_link_if_available[legacy]
417s FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[-:all:-pytest-3.5.0.tar.gz]
417s FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[-:none:-pytest-3.5.0-py2.py3-none-any.whl]
417s FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[-black-pytest-3.5.0-py2.py3-none-any.whl]
417s FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[-pytest-pytest-3.5.0.tar.gz]
417s FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[-pytest,black-pytest-3.5.0.tar.gz]
417s FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-:all:-pytest-3.5.0.tar.gz]
417s FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-:none:-pytest-3.5.0-py2.py3-none-any.whl]
417s FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-black-pytest-3.5.0-py2.py3-none-any.whl]
417s FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-pytest-pytest-3.5.0.tar.gz]
417s FAILED tests/installation/test_chooser.py::test_chooser_no_binary_policy[legacy-pytest,black-pytest-3.5.0.tar.gz]
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_specific_python_universal_wheel_link_if_available[]
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_specific_python_universal_wheel_link_if_available[legacy]
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_system_specific_wheel_link_if_available[]
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_system_specific_wheel_link_if_available[legacy]
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available[]
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available[legacy]
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_distributions_that_match_the_package_hashes[]
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_distributions_that_match_the_package_hashes[legacy]
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_yanked_if_no_others[]
417s FAILED tests/installation/test_chooser.py::test_chooser_chooses_yanked_if_no_others[legacy]
417s FAILED tests/installation/test_chooser.py::test_chooser_does_not_choose_yanked_if_others
417s FAILED tests/installation/test_chooser.py::test_chooser_throws_an_error_if_package_hashes_do_not_match[]
417s FAILED tests/installation/test_chooser.py::test_chooser_throws_an_error_if_package_hashes_do_not_match[legacy]
417s FAILED tests/installation/test_executor.py::test_execute_executes_a_batch_of_operations
417s FAILED tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations0-True]
417s FAILED tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
417s FAILED tests/installation/test_executor.py::test_execute_works_with_ansi_output
417s FAILED tests/installation/test_executor.py::test_execute_works_with_no_ansi_output
417s FAILED tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_wheel_urls[False]
417s FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_400_errors
417s FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_403_errors
417s FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_nonstandard_errors
417s FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[308-Permanent Redirect]
417s FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[307-Temporary Redirect]
417s FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[304-Not Modified]
417s FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[303-See Other]
417s FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[302-Found]
417s FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[301-Moved Permanently]
417s FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_redirects[300-Multiple Choices]
417s FAILED tests/publishing/test_uploader.py::test_uploader_properly_handles_301_redirects
417s FAILED tests/publishing/test_uploader.py::test_uploader_registers_for_appropriate_400_errors
417s FAILED tests/publishing/test_uploader.py::test_uploader_skips_existing[409-]
417s FAILED tests/publishing/test_uploader.py::test_uploader_skips_existing[400-File already exists]
417s FAILED tests/publishing/test_uploader.py::test_uploader_skips_existing[400-Repository does not allow updating assets]
417s FAILED tests/publishing/test_uploader.py::test_uploader_skips_existing[403-Not enough permissions to overwrite artifact]
417s FAILED tests/publishing/test_uploader.py::test_uploader_skips_existing[400-file name has already been taken]
417s FAILED tests/publishing/test_uploader.py::test_uploader_skip_existing_bubbles_unskippable_errors
417s FAILED tests/repositories/test_legacy_repository.py::test_get_200_returns_page
417s FAILED tests/repositories/test_legacy_repository.py::test_get_40x_and_returns_none[401]
417s FAILED tests/repositories/test_legacy_repository.py::test_get_40x_and_returns_none[403]
417s FAILED tests/repositories/test_legacy_repository.py::test_get_40x_and_returns_none[404]
417s FAILED tests/repositories/test_legacy_repository.py::test_get_5xx_raises - ht...
417s FAILED tests/repositories/test_legacy_repository.py::test_authenticator_with_implicit_repository_configuration[repositories0]
417s FAILED tests/repositories/test_legacy_repository.py::test_authenticator_with_implicit_repository_configuration[repositories1]
417s FAILED tests/repositories/test_legacy_repository.py::test_authenticator_with_implicit_repository_configuration[repositories2]
417s FAILED tests/utils/test_authenticator.py::test_authenticator_uses_url_provided_credentials
417s FAILED tests/utils/test_authenticator.py::test_authenticator_uses_credentials_from_config_if_not_provided
417s FAILED tests/utils/test_authenticator.py::test_authenticator_uses_username_only_credentials
417s FAILED tests/utils/test_authenticator.py::test_authenticator_ignores_locked_keyring
417s FAILED tests/utils/test_authenticator.py::test_authenticator_ignores_failing_keyring
417s FAILED tests/utils/test_authenticator.py::test_authenticator_uses_password_only_credentials
417s FAILED tests/utils/test_authenticator.py::test_authenticator_uses_empty_strings_as_default_password
417s FAILED tests/utils/test_authenticator.py::test_authenticator_uses_empty_strings_as_default_username
417s FAILED tests/utils/test_authenticator.py::test_authenticator_falls_back_to_keyring_url
417s FAILED tests/utils/test_authenticator.py::test_authenticator_falls_back_to_keyring_netloc
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_exception
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_raises_exception_when_attempts_exhausted
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_respects_retry_header
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[400-0]
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[401-0]
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[403-0]
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[404-0]
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[429-5]
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[500-5]
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[501-5]
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[502-5]
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[503-5]
417s FAILED tests/utils/test_authenticator.py::test_authenticator_request_retries_on_status_code[504-5]
417s FAILED tests/utils/test_authenticator.py::test_authenticator_uses_env_provided_credentials
417s FAILED tests/utils/test_authenticator.py::test_authenticator_uses_credentials_from_config_matched_by_url_path
417s FAILED tests/utils/test_authenticator.py::test_authenticator_uses_credentials_from_config_with_at_sign_in_path
417s FAILED tests/utils/test_authenticator.py::test_authenticator_falls_back_to_keyring_url_matched_by_path
417s FAILED tests/utils/test_authenticator.py::test_authenticator_uses_env_provided_credentials_matched_by_url_path
417s FAILED tests/utils/test_authenticator.py::test_authenticator_azure_feed_guid_credentials
417s FAILED tests/utils/test_authenticator.py::test_authenticator_add_repository
417s ===== 91 failed, 1100 passed, 4 skipped, 347 warnings in 237.21s (0:03:57) =====
417s autopkgtest [10:57:39]: test pytest: -----------------------]
418s autopkgtest [10:57:40]: test pytest: - - - - - - - - - - results - - - - - - - - - -
418s pytest FAIL non-zero exit status 1
418s autopkgtest [10:57:40]: @@@@@@@@@@@@@@@@@@@@ summary
418s pytest FAIL non-zero exit status 1
435s Creating nova instance adt-noble-arm64-poetry-20240320-102355-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240319.img (UUID bd25b89b-8264-4402-95d9-d9c88f21f275)...