Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c194' (ED25519) to the list of known hosts. cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-0671wsn2/python-PyGithub rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading PyGithub-2.3.0.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o PyGithub-2.3.0.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/music/urllib3/python-PyGithub/PyGithub-2.3.0.tar.gz/md5/7d1facc215e638a7e5aab6169771733d/PyGithub-2.3.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3377k 100 3377k 0 0 29.6M 0 --:--:-- --:--:-- --:--:-- 29.9M INFO: Reading stdout from command: md5sum PyGithub-2.3.0.tar.gz Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-0671wsn2/python-PyGithub/python-PyGithub.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-0671wsn2/python-PyGithub --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1734884895.918692 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.0 starting (python version = 3.13.0, NVR = mock-6.0-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-0671wsn2/python-PyGithub/python-PyGithub.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-0671wsn2/python-PyGithub --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1734884895.918692 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-0671wsn2/python-PyGithub/python-PyGithub.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.0 INFO: Mock Version: 6.0 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1734884895.918692/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Tagging container image as mock-bootstrap-55d4081b-e0d3-4c5c-b88b-91453d3e9b97 INFO: Checking that ca45695bf57dcc102266c6e5938efb7738b1dcc7b802b0ab6c00f8195cd4b4fc image matches host's architecture INFO: Copy content of container ca45695bf57dcc102266c6e5938efb7738b1dcc7b802b0ab6c00f8195cd4b4fc to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1734884895.918692/root INFO: mounting ca45695bf57dcc102266c6e5938efb7738b1dcc7b802b0ab6c00f8195cd4b4fc with podman image mount INFO: image ca45695bf57dcc102266c6e5938efb7738b1dcc7b802b0ab6c00f8195cd4b4fc as /var/lib/containers/storage/overlay/ec5ea1f8b388555c3b1873271a816ac146565bb8d86913b7b6c74bfbc9efcccd/merged INFO: umounting image ca45695bf57dcc102266c6e5938efb7738b1dcc7b802b0ab6c00f8195cd4b4fc (/var/lib/containers/storage/overlay/ec5ea1f8b388555c3b1873271a816ac146565bb8d86913b7b6c74bfbc9efcccd/merged) with podman image umount INFO: Removing image mock-bootstrap-55d4081b-e0d3-4c5c-b88b-91453d3e9b97 INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1734884895.918692/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-3.fc42.x86_64 dnf5-5.2.8.1-2.fc42.x86_64 dnf5-plugins-5.2.8.1-2.fc42.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 764.5 KiB/s | 26.0 KiB | 00m00s Copr repository 100% | 50.7 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 173.2 KiB/s | 10.4 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.2.37-1.fc42 fedora 8.2 MiB bzip2 x86_64 1.0.8-19.fc41 fedora 95.7 KiB coreutils x86_64 9.5-11.fc42 fedora 5.4 MiB cpio x86_64 2.15-2.fc41 fedora 1.1 MiB diffutils x86_64 3.10-8.fc41 fedora 1.6 MiB fedora-release-common noarch 42-0.11 fedora 19.8 KiB findutils x86_64 1:4.10.0-4.fc41 fedora 1.8 MiB gawk x86_64 5.3.0-4.fc41 fedora 1.7 MiB glibc-minimal-langpack x86_64 2.40.9000-24.fc42 fedora 0.0 B grep x86_64 3.11-9.fc41 fedora 1.0 MiB gzip x86_64 1.13-2.fc41 fedora 389.0 KiB info x86_64 7.1.1-2.fc42 fedora 361.8 KiB patch x86_64 2.7.6-25.fc41 fedora 266.7 KiB redhat-rpm-config noarch 296-1.fc42 fedora 186.6 KiB rpm-build x86_64 4.20.0-1.fc42 fedora 194.3 KiB sed x86_64 4.9-3.fc41 fedora 861.5 KiB shadow-utils x86_64 2:4.17.0~rc1-1.fc42 fedora 4.1 MiB tar x86_64 2:1.35-4.fc41 fedora 2.9 MiB unzip x86_64 6.0-65.fc42 fedora 398.2 KiB util-linux x86_64 2.40.2-8.fc42 fedora 3.7 MiB which x86_64 2.21-42.fc41 fedora 80.2 KiB xz x86_64 1:5.6.3-2.fc42 fedora 1.2 MiB Installing dependencies: add-determinism x86_64 0.4.3-1.fc42 fedora 2.4 MiB alternatives x86_64 1.31-1.fc42 fedora 64.8 KiB ansible-srpm-macros noarch 1-16.fc41 fedora 35.7 KiB audit-libs x86_64 4.0.2-1.fc41 fedora 331.3 KiB authselect x86_64 1.5.0-8.fc42 fedora 157.5 KiB authselect-libs x86_64 1.5.0-8.fc42 fedora 822.2 KiB basesystem noarch 11-21.fc41 fedora 0.0 B binutils x86_64 2.43.50-9.fc42 fedora 25.8 MiB build-reproducibility-srpm-macros noarch 0.4.3-1.fc42 fedora 735.0 B bzip2-libs x86_64 1.0.8-19.fc41 fedora 80.7 KiB ca-certificates noarch 2024.2.69_v8.0.401-3.fc42 fedora 2.6 MiB coreutils-common x86_64 9.5-11.fc42 fedora 11.2 MiB cracklib x86_64 2.9.11-6.fc41 fedora 238.9 KiB crypto-policies noarch 20241128-1.gitbb7b0b0.fc42 fedora 137.3 KiB curl x86_64 8.11.1-2.fc42 fedora 452.0 KiB cyrus-sasl-lib x86_64 2.1.28-27.fc41 fedora 2.3 MiB debugedit x86_64 5.1-2.fc42 fedora 200.3 KiB dwz x86_64 0.15-8.fc42 fedora 299.2 KiB ed x86_64 1.20.2-2.fc41 fedora 146.9 KiB efi-srpm-macros noarch 5-13.fc42 fedora 40.2 KiB elfutils x86_64 0.192-7.fc42 fedora 2.6 MiB elfutils-debuginfod-client x86_64 0.192-7.fc42 fedora 81.4 KiB elfutils-default-yama-scope noarch 0.192-7.fc42 fedora 1.8 KiB elfutils-libelf x86_64 0.192-7.fc42 fedora 1.2 MiB elfutils-libs x86_64 0.192-7.fc42 fedora 662.9 KiB fedora-gpg-keys noarch 42-0.3 fedora 126.4 KiB fedora-release noarch 42-0.11 fedora 0.0 B fedora-release-identity-basic noarch 42-0.11 fedora 719.0 B fedora-repos noarch 42-0.3 fedora 4.9 KiB fedora-repos-rawhide noarch 42-0.3 fedora 2.2 KiB file x86_64 5.45-8.fc42 fedora 103.7 KiB file-libs x86_64 5.45-8.fc42 fedora 9.9 MiB filesystem x86_64 3.18-29.fc42 fedora 106.0 B fonts-srpm-macros noarch 1:2.0.5-17.fc41 fedora 55.8 KiB forge-srpm-macros noarch 0.4.0-1.fc42 fedora 38.9 KiB fpc-srpm-macros noarch 1.3-13.fc41 fedora 144.0 B gdb-minimal x86_64 15.2-4.fc42 fedora 12.7 MiB gdbm x86_64 1:1.23-7.fc41 fedora 460.9 KiB gdbm-libs x86_64 1:1.23-7.fc41 fedora 121.9 KiB ghc-srpm-macros noarch 1.9.2-1.fc42 fedora 779.0 B glibc x86_64 2.40.9000-24.fc42 fedora 6.7 MiB glibc-common x86_64 2.40.9000-24.fc42 fedora 1.0 MiB glibc-gconv-extra x86_64 2.40.9000-24.fc42 fedora 8.0 MiB gmp x86_64 1:6.3.0-2.fc41 fedora 811.4 KiB gnat-srpm-macros noarch 6-6.fc41 fedora 1.0 KiB go-srpm-macros noarch 3.6.0-5.fc42 fedora 60.8 KiB jansson x86_64 2.14-1.fc42 fedora 93.1 KiB json-c x86_64 0.18-1.fc42 fedora 83.3 KiB kernel-srpm-macros noarch 1.0-24.fc41 fedora 1.9 KiB keyutils-libs x86_64 1.6.3-4.fc41 fedora 54.4 KiB krb5-libs x86_64 1.21.3-3.fc42 fedora 2.3 MiB libacl x86_64 2.3.2-2.fc41 fedora 40.0 KiB libarchive x86_64 3.7.7-1.fc42 fedora 932.3 KiB libattr x86_64 2.5.2-4.fc41 fedora 28.5 KiB libblkid x86_64 2.40.2-8.fc42 fedora 262.5 KiB libbrotli x86_64 1.1.0-5.fc41 fedora 837.6 KiB libcap x86_64 2.71-1.fc42 fedora 210.8 KiB libcap-ng x86_64 0.8.5-3.fc41 fedora 69.2 KiB libcom_err x86_64 1.47.1-6.fc42 fedora 67.2 KiB libcurl x86_64 8.11.1-2.fc42 fedora 817.3 KiB libeconf x86_64 0.7.5-1.fc42 fedora 66.7 KiB libevent x86_64 2.1.12-14.fc41 fedora 895.7 KiB libfdisk x86_64 2.40.2-8.fc42 fedora 362.9 KiB libffi x86_64 3.4.6-3.fc42 fedora 86.4 KiB libgcc x86_64 14.2.1-6.fc42 fedora 270.6 KiB libgomp x86_64 14.2.1-6.fc42 fedora 519.8 KiB libidn2 x86_64 2.3.7-2.fc41 fedora 329.1 KiB libmount x86_64 2.40.2-8.fc42 fedora 355.8 KiB libnghttp2 x86_64 1.64.0-1.fc42 fedora 174.5 KiB libnsl2 x86_64 2.0.1-2.fc41 fedora 57.9 KiB libpkgconf x86_64 2.3.0-1.fc42 fedora 78.2 KiB libpsl x86_64 0.21.5-4.fc41 fedora 80.5 KiB libpwquality x86_64 1.4.5-11.fc41 fedora 417.8 KiB libselinux x86_64 3.8-0.rc3.1.fc42 fedora 191.6 KiB libsemanage x86_64 3.8-0.rc3.1.fc42 fedora 305.3 KiB libsepol x86_64 3.8-0.rc3.1.fc42 fedora 812.3 KiB libsmartcols x86_64 2.40.2-8.fc42 fedora 180.4 KiB libssh x86_64 0.11.1-1.fc42 fedora 569.6 KiB libssh-config noarch 0.11.1-1.fc42 fedora 277.0 B libstdc++ x86_64 14.2.1-6.fc42 fedora 2.8 MiB libtasn1 x86_64 4.19.0-9.fc41 fedora 175.7 KiB libtirpc x86_64 1.3.6-1.fc42 fedora 205.5 KiB libtool-ltdl x86_64 2.5.4-1.fc42 fedora 68.1 KiB libunistring x86_64 1.1-8.fc41 fedora 1.7 MiB libuuid x86_64 2.40.2-8.fc42 fedora 41.4 KiB libverto x86_64 0.3.2-9.fc41 fedora 29.5 KiB libxcrypt x86_64 4.4.36-12.fc42 fedora 269.3 KiB libxml2 x86_64 2.12.8-2.fc41 fedora 1.7 MiB libzstd x86_64 1.5.6-2.fc41 fedora 795.9 KiB lua-libs x86_64 5.4.7-1.fc42 fedora 285.0 KiB lua-srpm-macros noarch 1-14.fc41 fedora 1.3 KiB lz4-libs x86_64 1.10.0-1.fc41 fedora 145.5 KiB mpfr x86_64 4.2.1-5.fc41 fedora 832.1 KiB ncurses-base noarch 6.5-2.20240629.fc41 fedora 326.3 KiB ncurses-libs x86_64 6.5-2.20240629.fc41 fedora 975.2 KiB ocaml-srpm-macros noarch 10-3.fc41 fedora 1.9 KiB openblas-srpm-macros noarch 2-18.fc41 fedora 112.0 B openldap x86_64 2.6.8-6.fc42 fedora 647.4 KiB openssl-libs x86_64 1:3.2.2-8.fc42 fedora 7.8 MiB p11-kit x86_64 0.25.5-4.fc42 fedora 2.2 MiB p11-kit-trust x86_64 0.25.5-4.fc42 fedora 403.8 KiB package-notes-srpm-macros noarch 0.5-12.fc41 fedora 1.6 KiB pam x86_64 1.7.0-3.fc42 fedora 1.8 MiB pam-libs x86_64 1.7.0-3.fc42 fedora 139.4 KiB pcre2 x86_64 10.44-1.fc41.1 fedora 653.5 KiB pcre2-syntax noarch 10.44-1.fc41.1 fedora 251.6 KiB perl-srpm-macros noarch 1-56.fc41 fedora 861.0 B pkgconf x86_64 2.3.0-1.fc42 fedora 88.6 KiB pkgconf-m4 noarch 2.3.0-1.fc42 fedora 14.4 KiB pkgconf-pkg-config x86_64 2.3.0-1.fc42 fedora 989.0 B popt x86_64 1.19-7.fc41 fedora 136.9 KiB publicsuffix-list-dafsa noarch 20240107-4.fc41 fedora 67.5 KiB pyproject-srpm-macros noarch 1.16.3-1.fc42 fedora 1.9 KiB python-srpm-macros noarch 3.13-3.fc41 fedora 51.0 KiB qt5-srpm-macros noarch 5.15.15-1.fc42 fedora 500.0 B qt6-srpm-macros noarch 6.8.1-4.fc42 fedora 456.0 B readline x86_64 8.2-11.fc42 fedora 493.1 KiB rpm x86_64 4.20.0-1.fc42 fedora 3.1 MiB rpm-build-libs x86_64 4.20.0-1.fc42 fedora 206.7 KiB rpm-libs x86_64 4.20.0-1.fc42 fedora 726.1 KiB rpm-sequoia x86_64 1.7.0-3.fc42 fedora 2.3 MiB rust-srpm-macros noarch 26.3-3.fc42 fedora 4.8 KiB setup noarch 2.15.0-5.fc41 fedora 720.7 KiB sqlite-libs x86_64 3.47.2-1.fc42 fedora 1.4 MiB systemd-libs x86_64 257.1-1.fc42 fedora 2.2 MiB util-linux-core x86_64 2.40.2-8.fc42 fedora 1.5 MiB xxhash-libs x86_64 0.8.2-4.fc42 fedora 88.4 KiB xz-libs x86_64 1:5.6.3-2.fc42 fedora 218.4 KiB zig-srpm-macros noarch 1-3.fc41 fedora 1.1 KiB zip x86_64 3.0-42.fc42 fedora 695.9 KiB zlib-ng-compat x86_64 2.2.2-1.fc42 fedora 134.0 KiB zstd x86_64 1.5.6-2.fc41 fedora 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 154 packages Total size of inbound packages is 52 MiB. Need to download 0 B. After this operation, 178 MiB extra will be used (install 178 MiB, remove 0 B). [1/1] tar-2:1.35-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] bzip2-0:1.0.8-19.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] redhat-rpm-config-0:296-1.fc42.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] rpm-build-0:4.20.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] unzip-0:6.0-65.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] cpio-0:2.15-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] which-0:2.21-42.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] bash-0:5.2.37-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] coreutils-0:9.5-11.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] grep-0:3.11-9.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] patch-0:2.7.6-25.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] sed-0:4.9-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/13] shadow-utils-2:4.17.0~rc1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [13/13] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/14] diffutils-0:3.10-8.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [14/14] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/15] fedora-release-common-0:42-0.11 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [15/15] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/16] findutils-1:4.10.0-4.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [16/16] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/17] glibc-minimal-langpack-0:2.40.9 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [17/17] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/18] gzip-0:1.13-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [18/18] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/19] info-0:7.1.1-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [19/19] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/20] xz-1:5.6.3-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [20/20] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/21] util-linux-0:2.40.2-8.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [21/21] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/22] gawk-0:5.3.0-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [22/22] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/23] glibc-0:2.40.9000-24.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [23/23] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/24] libacl-0:2.3.2-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [24/24] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/25] libselinux-0:3.8-0.rc3.1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [25/25] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/26] bzip2-libs-0:1.0.8-19.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [26/26] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/27] ansible-srpm-macros-0:1-16.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [27/27] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/28] build-reproducibility-srpm-macr 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [28/28] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/29] dwz-0:0.15-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [29/29] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/30] efi-srpm-macros-0:5-13.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [30/30] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/31] file-0:5.45-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [31/31] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/32] fonts-srpm-macros-1:2.0.5-17.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [32/32] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/33] forge-srpm-macros-0:0.4.0-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [33/33] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/34] fpc-srpm-macros-0:1.3-13.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [34/34] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/35] ghc-srpm-macros-0:1.9.2-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [35/35] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/36] gnat-srpm-macros-0:6-6.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [36/36] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/37] go-srpm-macros-0:3.6.0-5.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [37/37] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/38] kernel-srpm-macros-0:1.0-24.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [38/38] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/39] lua-srpm-macros-0:1-14.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [39/39] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/40] ocaml-srpm-macros-0:10-3.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [40/40] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/41] openblas-srpm-macros-0:2-18.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [41/41] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/42] package-notes-srpm-macros-0:0.5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [42/42] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/43] perl-srpm-macros-0:1-56.fc41.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [43/43] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/44] pyproject-srpm-macros-0:1.16.3- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [44/44] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/45] python-srpm-macros-0:3.13-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [45/45] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/46] qt5-srpm-macros-0:5.15.15-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [46/46] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/47] qt6-srpm-macros-0:6.8.1-4.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [47/47] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/48] rpm-0:4.20.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [48/48] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/49] rust-srpm-macros-0:26.3-3.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [49/49] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/50] zig-srpm-macros-0:1-3.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [50/50] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/51] zip-0:3.0-42.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [51/51] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/52] debugedit-0:5.1-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [52/52] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/53] elfutils-0:0.192-7.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [53/53] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/54] elfutils-libelf-0:0.192-7.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [54/54] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/55] libarchive-0:3.7.7-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [55/55] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/56] popt-0:1.19-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [56/56] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/57] readline-0:8.2-11.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [57/57] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/58] rpm-build-libs-0:4.20.0-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [58/58] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/59] rpm-libs-0:4.20.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [59/59] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/60] zstd-0:1.5.6-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [60/60] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/61] filesystem-0:3.18-29.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [61/61] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/62] ncurses-libs-0:6.5-2.20240629.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [62/62] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/63] coreutils-common-0:9.5-11.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [63/63] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/64] gmp-1:6.3.0-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [64/64] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/65] libattr-0:2.5.2-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [65/65] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/66] libcap-0:2.71-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [66/66] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/67] openssl-libs-1:3.2.2-8.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [67/67] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/68] systemd-libs-0:257.1-1.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [68/68] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/69] pcre2-0:10.44-1.fc41.1.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [69/69] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/70] ed-0:1.20.2-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [70/70] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/71] audit-libs-0:4.0.2-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [71/71] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/72] libeconf-0:0.7.5-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [72/72] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/73] libsemanage-0:3.8-0.rc3.1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [73/73] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/74] libxcrypt-0:4.4.36-12.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [74/74] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/75] pam-libs-0:1.7.0-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [75/75] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/76] setup-0:2.15.0-5.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [76/76] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/77] fedora-repos-0:42-0.3.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [77/77] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/78] glibc-common-0:2.40.9000-24.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [78/78] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/79] xz-libs-1:5.6.3-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [79/79] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/80] libblkid-0:2.40.2-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [80/80] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/81] libcap-ng-0:0.8.5-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [81/81] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/82] libfdisk-0:2.40.2-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [82/82] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/83] libmount-0:2.40.2-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [83/83] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/84] libsmartcols-0:2.40.2-8.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [84/84] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/85] libuuid-0:2.40.2-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [85/85] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/86] util-linux-core-0:2.40.2-8.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [86/86] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/87] zlib-ng-compat-0:2.2.2-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [87/87] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/88] mpfr-0:4.2.1-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [88/88] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/89] glibc-gconv-extra-0:2.40.9000-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [89/89] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/90] basesystem-0:11-21.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [90/90] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/91] libgcc-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [91/91] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/92] libsepol-0:3.8-0.rc3.1.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [92/92] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/93] add-determinism-0:0.4.3-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [93/93] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/94] file-libs-0:5.45-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [94/94] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/95] curl-0:8.11.1-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [95/95] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/96] elfutils-libs-0:0.192-7.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [96/96] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/97] elfutils-debuginfod-client-0:0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [97/97] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/98] libstdc++-0:14.2.1-6.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [98/98] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/99] libzstd-0:1.5.6-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [99/99] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/100] libxml2-0:2.12.8-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [100/100] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/101] lz4-libs-0:1.10.0-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [101/101] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/102] libgomp-0:14.2.1-6.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [102/102] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/103] lua-libs-0:5.4.7-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [103/103] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/104] rpm-sequoia-0:1.7.0-3.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [104/104] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/105] sqlite-libs-0:3.47.2-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [105/105] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/106] ncurses-base-0:6.5-2.20240629 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [106/106] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/107] ca-certificates-0:2024.2.69_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [107/107] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/108] crypto-policies-0:20241128-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [108/108] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/109] pcre2-syntax-0:10.44-1.fc41.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [109/109] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/110] fedora-gpg-keys-0:42-0.3.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [110/110] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/111] fedora-repos-rawhide-0:42-0.3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [111/111] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/112] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [112/112] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/113] json-c-0:0.18-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [113/113] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/114] authselect-libs-0:1.5.0-8.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [114/114] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/115] pam-0:1.7.0-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [115/115] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/116] authselect-0:1.5.0-8.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [116/116] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/117] gdbm-libs-1:1.23-7.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [117/117] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/118] libnsl2-0:2.0.1-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [118/118] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/119] libpwquality-0:1.4.5-11.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [119/119] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/120] libtirpc-0:1.3.6-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [120/120] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/121] cracklib-0:2.9.11-6.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [121/121] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/122] krb5-libs-0:1.21.3-3.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [122/122] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/123] libcom_err-0:1.47.1-6.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [123/123] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/124] keyutils-libs-0:1.6.3-4.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [124/124] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/125] libverto-0:0.3.2-9.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [125/125] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/126] binutils-0:2.43.50-9.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [126/126] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/127] alternatives-0:1.31-1.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [127/127] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/128] jansson-0:2.14-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [128/128] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/129] pkgconf-pkg-config-0:2.3.0-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [129/129] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/130] pkgconf-0:2.3.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [130/130] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/131] pkgconf-m4-0:2.3.0-1.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [131/131] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/132] libpkgconf-0:2.3.0-1.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [132/132] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/133] gdbm-1:1.23-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [133/133] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/134] libffi-0:3.4.6-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [134/134] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/135] p11-kit-0:0.25.5-4.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [135/135] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/136] libtasn1-0:4.19.0-9.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [136/136] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/137] p11-kit-trust-0:0.25.5-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [137/137] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/138] fedora-release-0:42-0.11.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [138/138] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/139] gdb-minimal-0:15.2-4.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [139/139] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/140] xxhash-libs-0:0.8.2-4.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [140/140] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/141] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [141/141] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/142] libcurl-0:8.11.1-2.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [142/142] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/143] libbrotli-0:1.1.0-5.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [143/143] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/144] libidn2-0:2.3.7-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [144/144] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/145] libnghttp2-0:1.64.0-1.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [145/145] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/146] libpsl-0:0.21.5-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [146/146] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/147] libssh-0:0.11.1-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [147/147] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/148] openldap-0:2.6.8-6.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [148/148] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/149] libunistring-0:1.1-8.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [149/149] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/150] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [150/150] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/151] libssh-config-0:0.11.1-1.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [151/151] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/152] cyrus-sasl-lib-0:2.1.28-27.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [152/152] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/153] libevent-0:2.1.12-14.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [153/153] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/154] libtool-ltdl-0:2.5.4-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [154/154] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction Importing OpenPGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing OpenPGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing OpenPGP key 0xE99D6AD1: UserID : "Fedora (41) " Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary The key was successfully imported. Importing OpenPGP key 0x31645531: UserID : "Fedora (43) " Fingerprint: C6E7F081CF80E13146676E88829B606631645531 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-43-primary The key was successfully imported. [ 1/156] Verify package files 100% | 773.0 B/s | 154.0 B | 00m00s [ 2/156] Prepare transaction 100% | 1.8 KiB/s | 154.0 B | 00m00s [ 3/156] Installing libgcc-0:14.2.1-6. 100% | 132.9 MiB/s | 272.3 KiB | 00m00s [ 4/156] Installing libssh-config-0:0. 100% | 796.9 KiB/s | 816.0 B | 00m00s [ 5/156] Installing publicsuffix-list- 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 6/156] Installing fedora-release-ide 100% | 953.1 KiB/s | 976.0 B | 00m00s [ 7/156] Installing fedora-gpg-keys-0: 100% | 18.7 MiB/s | 172.2 KiB | 00m00s [ 8/156] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 9/156] Installing fedora-repos-0:42- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/156] Installing fedora-release-com 100% | 11.8 MiB/s | 24.1 KiB | 00m00s [ 11/156] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 12/156] Installing setup-0:2.15.0-5.f 100% | 47.3 MiB/s | 726.1 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/156] Installing filesystem-0:3.18- 100% | 1.6 MiB/s | 212.6 KiB | 00m00s [ 14/156] Installing basesystem-0:11-21 100% | 0.0 B/s | 124.0 B | 00m00s [ 15/156] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [ 16/156] Installing pcre2-syntax-0:10. 100% | 124.1 MiB/s | 254.1 KiB | 00m00s [ 17/156] Installing ncurses-base-0:6.5 100% | 38.2 MiB/s | 351.7 KiB | 00m00s [ 18/156] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 19/156] Installing ncurses-libs-0:6.5 100% | 137.0 MiB/s | 981.8 KiB | 00m00s [ 20/156] Installing glibc-0:2.40.9000- 100% | 208.5 MiB/s | 6.7 MiB | 00m00s [ 21/156] Installing bash-0:5.2.37-1.fc 100% | 281.7 MiB/s | 8.2 MiB | 00m00s [ 22/156] Installing glibc-common-0:2.4 100% | 115.7 MiB/s | 1.0 MiB | 00m00s [ 23/156] Installing glibc-gconv-extra- 100% | 155.3 MiB/s | 8.1 MiB | 00m00s [ 24/156] Installing zlib-ng-compat-0:2 100% | 131.7 MiB/s | 134.9 KiB | 00m00s [ 25/156] Installing bzip2-libs-0:1.0.8 100% | 79.9 MiB/s | 81.8 KiB | 00m00s [ 26/156] Installing xz-libs-1:5.6.3-2. 100% | 214.3 MiB/s | 219.5 KiB | 00m00s [ 27/156] Installing popt-0:1.19-7.fc41 100% | 35.0 MiB/s | 143.5 KiB | 00m00s [ 28/156] Installing readline-0:8.2-11. 100% | 241.8 MiB/s | 495.3 KiB | 00m00s [ 29/156] Installing libuuid-0:2.40.2-8 100% | 41.5 MiB/s | 42.5 KiB | 00m00s [ 30/156] Installing libblkid-0:2.40.2- 100% | 257.5 MiB/s | 263.6 KiB | 00m00s [ 31/156] Installing gmp-1:6.3.0-2.fc41 100% | 264.9 MiB/s | 813.7 KiB | 00m00s [ 32/156] Installing libattr-0:2.5.2-4. 100% | 28.8 MiB/s | 29.5 KiB | 00m00s [ 33/156] Installing libacl-0:2.3.2-2.f 100% | 39.8 MiB/s | 40.7 KiB | 00m00s [ 34/156] Installing libxcrypt-0:4.4.36 100% | 132.8 MiB/s | 272.0 KiB | 00m00s [ 35/156] Installing libstdc++-0:14.2.1 100% | 276.0 MiB/s | 2.8 MiB | 00m00s [ 36/156] Installing libzstd-0:1.5.6-2. 100% | 259.5 MiB/s | 797.2 KiB | 00m00s [ 37/156] Installing elfutils-libelf-0: 100% | 291.7 MiB/s | 1.2 MiB | 00m00s [ 38/156] Installing libeconf-0:0.7.5-1 100% | 66.8 MiB/s | 68.4 KiB | 00m00s [ 39/156] Installing gdbm-libs-1:1.23-7 100% | 120.7 MiB/s | 123.6 KiB | 00m00s [ 40/156] Installing dwz-0:0.15-8.fc42. 100% | 146.8 MiB/s | 300.6 KiB | 00m00s [ 41/156] Installing mpfr-0:4.2.1-5.fc4 100% | 203.5 MiB/s | 833.7 KiB | 00m00s [ 42/156] Installing gawk-0:5.3.0-4.fc4 100% | 173.2 MiB/s | 1.7 MiB | 00m00s [ 43/156] Installing unzip-0:6.0-65.fc4 100% | 130.8 MiB/s | 401.7 KiB | 00m00s [ 44/156] Installing file-libs-0:5.45-8 100% | 523.1 MiB/s | 9.9 MiB | 00m00s [ 45/156] Installing file-0:5.45-8.fc42 100% | 9.3 MiB/s | 105.2 KiB | 00m00s [ 46/156] Installing crypto-policies-0: 100% | 14.5 MiB/s | 163.7 KiB | 00m00s [ 47/156] Installing pcre2-0:10.44-1.fc 100% | 213.2 MiB/s | 654.9 KiB | 00m00s [ 48/156] Installing grep-0:3.11-9.fc41 100% | 111.5 MiB/s | 1.0 MiB | 00m00s [ 49/156] Installing xz-1:5.6.3-2.fc42. 100% | 123.7 MiB/s | 1.2 MiB | 00m00s [ 50/156] Installing libcap-ng-0:0.8.5- 100% | 69.4 MiB/s | 71.0 KiB | 00m00s [ 51/156] Installing audit-libs-0:4.0.2 100% | 162.8 MiB/s | 333.4 KiB | 00m00s [ 52/156] Installing pam-libs-0:1.7.0-3 100% | 69.2 MiB/s | 141.8 KiB | 00m00s [ 53/156] Installing libcap-0:2.71-1.fc 100% | 70.3 MiB/s | 215.8 KiB | 00m00s [ 54/156] Installing systemd-libs-0:257 100% | 246.7 MiB/s | 2.2 MiB | 00m00s [ 55/156] Installing libsmartcols-0:2.4 100% | 177.1 MiB/s | 181.4 KiB | 00m00s [ 56/156] Installing libsepol-0:3.8-0.r 100% | 264.7 MiB/s | 813.3 KiB | 00m00s [ 57/156] Installing libselinux-0:3.8-0 100% | 94.2 MiB/s | 192.9 KiB | 00m00s [ 58/156] Installing sed-0:4.9-3.fc41.x 100% | 121.3 MiB/s | 869.7 KiB | 00m00s [ 59/156] Installing findutils-1:4.10.0 100% | 185.8 MiB/s | 1.9 MiB | 00m00s [ 60/156] Installing libmount-0:2.40.2- 100% | 174.3 MiB/s | 356.9 KiB | 00m00s [ 61/156] Installing lz4-libs-0:1.10.0- 100% | 143.1 MiB/s | 146.6 KiB | 00m00s [ 62/156] Installing lua-libs-0:5.4.7-1 100% | 139.7 MiB/s | 286.2 KiB | 00m00s [ 63/156] Installing libcom_err-0:1.47. 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 64/156] Installing alternatives-0:1.3 100% | 64.8 MiB/s | 66.4 KiB | 00m00s [ 65/156] Installing libffi-0:3.4.6-3.f 100% | 85.7 MiB/s | 87.8 KiB | 00m00s [ 66/156] Installing libtasn1-0:4.19.0- 100% | 86.7 MiB/s | 177.5 KiB | 00m00s [ 67/156] Installing p11-kit-0:0.25.5-4 100% | 158.3 MiB/s | 2.2 MiB | 00m00s [ 68/156] Installing libunistring-0:1.1 100% | 288.5 MiB/s | 1.7 MiB | 00m00s [ 69/156] Installing libidn2-0:2.3.7-2. 100% | 81.8 MiB/s | 335.1 KiB | 00m00s [ 70/156] Installing libpsl-0:0.21.5-4. 100% | 79.7 MiB/s | 81.7 KiB | 00m00s [ 71/156] Installing p11-kit-trust-0:0. 100% | 33.0 MiB/s | 405.5 KiB | 00m00s [ 72/156] Installing zstd-0:1.5.6-2.fc4 100% | 241.6 MiB/s | 1.7 MiB | 00m00s [ 73/156] Installing util-linux-core-0: 100% | 138.9 MiB/s | 1.5 MiB | 00m00s [ 74/156] Installing tar-2:1.35-4.fc41. 100% | 227.6 MiB/s | 3.0 MiB | 00m00s [ 75/156] Installing libsemanage-0:3.8- 100% | 100.0 MiB/s | 307.1 KiB | 00m00s [ 76/156] Installing shadow-utils-2:4.1 100% | 124.9 MiB/s | 4.1 MiB | 00m00s [ 77/156] Installing zip-0:3.0-42.fc42. 100% | 170.9 MiB/s | 699.8 KiB | 00m00s [ 78/156] Installing gdbm-1:1.23-7.fc41 100% | 113.7 MiB/s | 465.8 KiB | 00m00s [ 79/156] Installing cyrus-sasl-lib-0:2 100% | 256.2 MiB/s | 2.3 MiB | 00m00s [ 80/156] Installing libfdisk-0:2.40.2- 100% | 177.7 MiB/s | 364.0 KiB | 00m00s [ 81/156] Installing libxml2-0:2.12.8-2 100% | 244.6 MiB/s | 1.7 MiB | 00m00s [ 82/156] Installing bzip2-0:1.0.8-19.f 100% | 48.9 MiB/s | 100.2 KiB | 00m00s [ 83/156] Installing add-determinism-0: 100% | 303.9 MiB/s | 2.4 MiB | 00m00s [ 84/156] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 85/156] Installing sqlite-libs-0:3.47 100% | 239.0 MiB/s | 1.4 MiB | 00m00s [ 86/156] Installing ed-0:1.20.2-2.fc41 100% | 72.8 MiB/s | 149.2 KiB | 00m00s [ 87/156] Installing patch-0:2.7.6-25.f 100% | 131.0 MiB/s | 268.2 KiB | 00m00s [ 88/156] Installing elfutils-default-y 100% | 227.0 KiB/s | 2.0 KiB | 00m00s [ 89/156] Installing elfutils-libs-0:0. 100% | 162.3 MiB/s | 664.7 KiB | 00m00s [ 90/156] Installing cpio-0:2.15-2.fc41 100% | 157.1 MiB/s | 1.1 MiB | 00m00s [ 91/156] Installing diffutils-0:3.10-8 100% | 159.0 MiB/s | 1.6 MiB | 00m00s [ 92/156] Installing libgomp-0:14.2.1-6 100% | 254.5 MiB/s | 521.2 KiB | 00m00s [ 93/156] Installing json-c-0:0.18-1.fc 100% | 82.6 MiB/s | 84.6 KiB | 00m00s [ 94/156] Installing keyutils-libs-0:1. 100% | 54.5 MiB/s | 55.8 KiB | 00m00s [ 95/156] Installing libverto-0:0.3.2-9 100% | 30.5 MiB/s | 31.3 KiB | 00m00s [ 96/156] Installing jansson-0:2.14-1.f 100% | 92.3 MiB/s | 94.5 KiB | 00m00s [ 97/156] Installing libpkgconf-0:2.3.0 100% | 77.5 MiB/s | 79.3 KiB | 00m00s [ 98/156] Installing pkgconf-0:2.3.0-1. 100% | 44.5 MiB/s | 91.1 KiB | 00m00s [ 99/156] Installing pkgconf-pkg-config 100% | 1.7 MiB/s | 1.8 KiB | 00m00s [100/156] Installing xxhash-libs-0:0.8. 100% | 87.7 MiB/s | 89.8 KiB | 00m00s [101/156] Installing libbrotli-0:1.1.0- 100% | 205.0 MiB/s | 839.9 KiB | 00m00s [102/156] Installing libnghttp2-0:1.64. 100% | 171.5 MiB/s | 175.6 KiB | 00m00s [103/156] Installing libtool-ltdl-0:2.5 100% | 33.8 MiB/s | 69.2 KiB | 00m00s [104/156] Installing coreutils-common-0 100% | 248.7 MiB/s | 11.2 MiB | 00m00s [105/156] Installing openssl-libs-1:3.2 100% | 313.1 MiB/s | 7.8 MiB | 00m00s [106/156] Installing coreutils-0:9.5-11 100% | 150.0 MiB/s | 5.4 MiB | 00m00s [107/156] Installing ca-certificates-0: 100% | 1.2 MiB/s | 2.4 MiB | 00m02s [108/156] Installing krb5-libs-0:1.21.3 100% | 177.3 MiB/s | 2.3 MiB | 00m00s [109/156] Installing libarchive-0:3.7.7 100% | 228.1 MiB/s | 934.2 KiB | 00m00s [110/156] Installing libtirpc-0:1.3.6-1 100% | 101.2 MiB/s | 207.3 KiB | 00m00s [111/156] Installing gzip-0:1.13-2.fc41 100% | 96.3 MiB/s | 394.6 KiB | 00m00s [112/156] Installing authselect-libs-0: 100% | 90.8 MiB/s | 837.2 KiB | 00m00s [113/156] Installing cracklib-0:2.9.11- 100% | 34.9 MiB/s | 250.3 KiB | 00m00s [114/156] Installing libpwquality-0:1.4 100% | 52.5 MiB/s | 430.1 KiB | 00m00s [115/156] Installing libnsl2-0:2.0.1-2. 100% | 28.8 MiB/s | 59.1 KiB | 00m00s [116/156] Installing pam-0:1.7.0-3.fc42 100% | 78.9 MiB/s | 1.9 MiB | 00m00s [117/156] Installing libssh-0:0.11.1-1. 100% | 186.1 MiB/s | 571.7 KiB | 00m00s [118/156] Installing rpm-sequoia-0:1.7. 100% | 258.2 MiB/s | 2.3 MiB | 00m00s [119/156] Installing rpm-libs-0:4.20.0- 100% | 236.9 MiB/s | 727.7 KiB | 00m00s [120/156] Installing rpm-build-libs-0:4 100% | 202.6 MiB/s | 207.5 KiB | 00m00s [121/156] Installing libevent-0:2.1.12- 100% | 219.6 MiB/s | 899.5 KiB | 00m00s [122/156] Installing openldap-0:2.6.8-6 100% | 159.0 MiB/s | 651.2 KiB | 00m00s [123/156] Installing libcurl-0:8.11.1-2 100% | 199.8 MiB/s | 818.4 KiB | 00m00s [124/156] Installing elfutils-debuginfo 100% | 40.9 MiB/s | 83.8 KiB | 00m00s [125/156] Installing elfutils-0:0.192-7 100% | 203.4 MiB/s | 2.6 MiB | 00m00s [126/156] Installing binutils-0:2.43.50 100% | 280.5 MiB/s | 25.8 MiB | 00m00s [127/156] Installing gdb-minimal-0:15.2 100% | 303.0 MiB/s | 12.7 MiB | 00m00s [128/156] Installing debugedit-0:5.1-2. 100% | 99.1 MiB/s | 203.0 KiB | 00m00s [129/156] Installing curl-0:8.11.1-2.fc 100% | 26.1 MiB/s | 454.5 KiB | 00m00s [130/156] Installing rpm-0:4.20.0-1.fc4 100% | 89.5 MiB/s | 2.5 MiB | 00m00s [131/156] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.2 KiB | 00m00s [132/156] Installing lua-srpm-macros-0: 100% | 1.9 MiB/s | 1.9 KiB | 00m00s [133/156] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [134/156] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [135/156] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 732.0 B | 00m00s [136/156] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [137/156] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [138/156] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [139/156] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [140/156] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [141/156] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [142/156] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [143/156] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [144/156] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [145/156] Installing ansible-srpm-macro 100% | 35.4 MiB/s | 36.2 KiB | 00m00s [146/156] Installing fonts-srpm-macros- 100% | 55.7 MiB/s | 57.0 KiB | 00m00s [147/156] Installing forge-srpm-macros- 100% | 39.3 MiB/s | 40.3 KiB | 00m00s [148/156] Installing go-srpm-macros-0:3 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [149/156] Installing python-srpm-macros 100% | 50.9 MiB/s | 52.2 KiB | 00m00s [150/156] Installing redhat-rpm-config- 100% | 62.9 MiB/s | 193.2 KiB | 00m00s [151/156] Installing rpm-build-0:4.20.0 100% | 49.5 MiB/s | 202.9 KiB | 00m00s [152/156] Installing pyproject-srpm-mac 100% | 1.2 MiB/s | 2.5 KiB | 00m00s [153/156] Installing util-linux-0:2.40. 100% | 92.9 MiB/s | 3.7 MiB | 00m00s [154/156] Installing authselect-0:1.5.0 100% | 39.5 MiB/s | 161.9 KiB | 00m00s [155/156] Installing which-0:2.21-42.fc 100% | 40.2 MiB/s | 82.4 KiB | 00m00s [156/156] Installing info-0:7.1.1-2.fc4 100% | 143.4 KiB/s | 362.2 KiB | 00m03s Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.4.3-1.fc42.x86_64 alternatives-1.31-1.fc42.x86_64 ansible-srpm-macros-1-16.fc41.noarch audit-libs-4.0.2-1.fc41.x86_64 authselect-1.5.0-8.fc42.x86_64 authselect-libs-1.5.0-8.fc42.x86_64 basesystem-11-21.fc41.noarch bash-5.2.37-1.fc42.x86_64 binutils-2.43.50-9.fc42.x86_64 build-reproducibility-srpm-macros-0.4.3-1.fc42.noarch bzip2-1.0.8-19.fc41.x86_64 bzip2-libs-1.0.8-19.fc41.x86_64 ca-certificates-2024.2.69_v8.0.401-3.fc42.noarch coreutils-9.5-11.fc42.x86_64 coreutils-common-9.5-11.fc42.x86_64 cpio-2.15-2.fc41.x86_64 cracklib-2.9.11-6.fc41.x86_64 crypto-policies-20241128-1.gitbb7b0b0.fc42.noarch curl-8.11.1-2.fc42.x86_64 cyrus-sasl-lib-2.1.28-27.fc41.x86_64 debugedit-5.1-2.fc42.x86_64 diffutils-3.10-8.fc41.x86_64 dwz-0.15-8.fc42.x86_64 ed-1.20.2-2.fc41.x86_64 efi-srpm-macros-5-13.fc42.noarch elfutils-0.192-7.fc42.x86_64 elfutils-debuginfod-client-0.192-7.fc42.x86_64 elfutils-default-yama-scope-0.192-7.fc42.noarch elfutils-libelf-0.192-7.fc42.x86_64 elfutils-libs-0.192-7.fc42.x86_64 fedora-gpg-keys-42-0.3.noarch fedora-release-42-0.11.noarch fedora-release-common-42-0.11.noarch fedora-release-identity-basic-42-0.11.noarch fedora-repos-42-0.3.noarch fedora-repos-rawhide-42-0.3.noarch file-5.45-8.fc42.x86_64 file-libs-5.45-8.fc42.x86_64 filesystem-3.18-29.fc42.x86_64 findutils-4.10.0-4.fc41.x86_64 fonts-srpm-macros-2.0.5-17.fc41.noarch forge-srpm-macros-0.4.0-1.fc42.noarch fpc-srpm-macros-1.3-13.fc41.noarch gawk-5.3.0-4.fc41.x86_64 gdb-minimal-15.2-4.fc42.x86_64 gdbm-1.23-7.fc41.x86_64 gdbm-libs-1.23-7.fc41.x86_64 ghc-srpm-macros-1.9.2-1.fc42.noarch glibc-2.40.9000-24.fc42.x86_64 glibc-common-2.40.9000-24.fc42.x86_64 glibc-gconv-extra-2.40.9000-24.fc42.x86_64 glibc-minimal-langpack-2.40.9000-24.fc42.x86_64 gmp-6.3.0-2.fc41.x86_64 gnat-srpm-macros-6-6.fc41.noarch go-srpm-macros-3.6.0-5.fc42.noarch gpg-pubkey-105ef944-65ca83d1 gpg-pubkey-31645531-66b6dccf gpg-pubkey-e99d6ad1-64d2612c grep-3.11-9.fc41.x86_64 gzip-1.13-2.fc41.x86_64 info-7.1.1-2.fc42.x86_64 jansson-2.14-1.fc42.x86_64 json-c-0.18-1.fc42.x86_64 kernel-srpm-macros-1.0-24.fc41.noarch keyutils-libs-1.6.3-4.fc41.x86_64 krb5-libs-1.21.3-3.fc42.x86_64 libacl-2.3.2-2.fc41.x86_64 libarchive-3.7.7-1.fc42.x86_64 libattr-2.5.2-4.fc41.x86_64 libblkid-2.40.2-8.fc42.x86_64 libbrotli-1.1.0-5.fc41.x86_64 libcap-2.71-1.fc42.x86_64 libcap-ng-0.8.5-3.fc41.x86_64 libcom_err-1.47.1-6.fc42.x86_64 libcurl-8.11.1-2.fc42.x86_64 libeconf-0.7.5-1.fc42.x86_64 libevent-2.1.12-14.fc41.x86_64 libfdisk-2.40.2-8.fc42.x86_64 libffi-3.4.6-3.fc42.x86_64 libgcc-14.2.1-6.fc42.x86_64 libgomp-14.2.1-6.fc42.x86_64 libidn2-2.3.7-2.fc41.x86_64 libmount-2.40.2-8.fc42.x86_64 libnghttp2-1.64.0-1.fc42.x86_64 libnsl2-2.0.1-2.fc41.x86_64 libpkgconf-2.3.0-1.fc42.x86_64 libpsl-0.21.5-4.fc41.x86_64 libpwquality-1.4.5-11.fc41.x86_64 libselinux-3.8-0.rc3.1.fc42.x86_64 libsemanage-3.8-0.rc3.1.fc42.x86_64 libsepol-3.8-0.rc3.1.fc42.x86_64 libsmartcols-2.40.2-8.fc42.x86_64 libssh-0.11.1-1.fc42.x86_64 libssh-config-0.11.1-1.fc42.noarch libstdc++-14.2.1-6.fc42.x86_64 libtasn1-4.19.0-9.fc41.x86_64 libtirpc-1.3.6-1.fc42.x86_64 libtool-ltdl-2.5.4-1.fc42.x86_64 libunistring-1.1-8.fc41.x86_64 libuuid-2.40.2-8.fc42.x86_64 libverto-0.3.2-9.fc41.x86_64 libxcrypt-4.4.36-12.fc42.x86_64 libxml2-2.12.8-2.fc41.x86_64 libzstd-1.5.6-2.fc41.x86_64 lua-libs-5.4.7-1.fc42.x86_64 lua-srpm-macros-1-14.fc41.noarch lz4-libs-1.10.0-1.fc41.x86_64 mpfr-4.2.1-5.fc41.x86_64 ncurses-base-6.5-2.20240629.fc41.noarch ncurses-libs-6.5-2.20240629.fc41.x86_64 ocaml-srpm-macros-10-3.fc41.noarch openblas-srpm-macros-2-18.fc41.noarch openldap-2.6.8-6.fc42.x86_64 openssl-libs-3.2.2-8.fc42.x86_64 p11-kit-0.25.5-4.fc42.x86_64 p11-kit-trust-0.25.5-4.fc42.x86_64 package-notes-srpm-macros-0.5-12.fc41.noarch pam-1.7.0-3.fc42.x86_64 pam-libs-1.7.0-3.fc42.x86_64 patch-2.7.6-25.fc41.x86_64 pcre2-10.44-1.fc41.1.x86_64 pcre2-syntax-10.44-1.fc41.1.noarch perl-srpm-macros-1-56.fc41.noarch pkgconf-2.3.0-1.fc42.x86_64 pkgconf-m4-2.3.0-1.fc42.noarch pkgconf-pkg-config-2.3.0-1.fc42.x86_64 popt-1.19-7.fc41.x86_64 publicsuffix-list-dafsa-20240107-4.fc41.noarch pyproject-srpm-macros-1.16.3-1.fc42.noarch python-srpm-macros-3.13-3.fc41.noarch qt5-srpm-macros-5.15.15-1.fc42.noarch qt6-srpm-macros-6.8.1-4.fc42.noarch readline-8.2-11.fc42.x86_64 redhat-rpm-config-296-1.fc42.noarch rpm-4.20.0-1.fc42.x86_64 rpm-build-4.20.0-1.fc42.x86_64 rpm-build-libs-4.20.0-1.fc42.x86_64 rpm-libs-4.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-3.fc42.x86_64 rust-srpm-macros-26.3-3.fc42.noarch sed-4.9-3.fc41.x86_64 setup-2.15.0-5.fc41.noarch shadow-utils-4.17.0~rc1-1.fc42.x86_64 sqlite-libs-3.47.2-1.fc42.x86_64 systemd-libs-257.1-1.fc42.x86_64 tar-1.35-4.fc41.x86_64 unzip-6.0-65.fc42.x86_64 util-linux-2.40.2-8.fc42.x86_64 util-linux-core-2.40.2-8.fc42.x86_64 which-2.21-42.fc41.x86_64 xxhash-libs-0.8.2-4.fc42.x86_64 xz-5.6.3-2.fc42.x86_64 xz-libs-5.6.3-2.fc42.x86_64 zig-srpm-macros-1-3.fc41.noarch zip-3.0-42.fc42.x86_64 zlib-ng-compat-2.2.2-1.fc42.x86_64 zstd-1.5.6-2.fc41.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721520000 Wrote: /builddir/build/SRPMS/python-PyGithub-2.3.0-1.fc42.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1734884895.918692/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-0671wsn2/python-PyGithub/python-PyGithub.spec) Config(child) 0 minutes 15 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/python-PyGithub-2.3.0-1.fc42.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1734884895.918692/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1734884895.918692/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1734884895.918692/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-3.fc42.x86_64 dnf5-5.2.8.1-2.fc42.x86_64 dnf5-plugins-5.2.8.1-2.fc42.x86_64 Finish: chroot init Start: build phase for python-PyGithub-2.3.0-1.fc42.src.rpm Start: build setup for python-PyGithub-2.3.0-1.fc42.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721520000 Wrote: /builddir/build/SRPMS/python-PyGithub-2.3.0-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 764.5 KiB/s | 26.0 KiB | 00m00s Copr repository 100% | 47.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-devel x86_64 3.13.1-2.fc42 fedora 1.8 MiB Installing dependencies: expat x86_64 2.6.4-1.fc42 fedora 285.5 KiB libb2 x86_64 0.98.1-12.fc41 fedora 42.2 KiB mpdecimal x86_64 2.5.1-16.fc41 fedora 204.9 KiB pyproject-rpm-macros noarch 1.16.3-1.fc42 fedora 113.7 KiB python-pip-wheel noarch 24.3.1-1.fc42 fedora 1.2 MiB python-rpm-macros noarch 3.13-3.fc41 fedora 22.1 KiB python3 x86_64 3.13.1-2.fc42 fedora 30.6 KiB python3-libs x86_64 3.13.1-2.fc42 fedora 39.8 MiB python3-packaging noarch 24.2-2.fc42 fedora 555.7 KiB python3-rpm-generators noarch 14-11.fc41 fedora 81.7 KiB python3-rpm-macros noarch 3.13-3.fc41 fedora 6.4 KiB tzdata noarch 2024b-1.fc42 fedora 1.6 MiB Transaction Summary: Installing: 13 packages Total size of inbound packages is 12 MiB. Need to download 0 B. After this operation, 46 MiB extra will be used (install 46 MiB, remove 0 B). [1/1] python3-devel-0:3.13.1-2.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] python3-libs-0:3.13.1-2.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] expat-0:2.6.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] libb2-0:0.98.1-12.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] mpdecimal-0:2.5.1-16.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] python-pip-wheel-0:24.3.1-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] tzdata-0:2024b-1.fc42.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] python3-0:3.13.1-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] pyproject-rpm-macros-0:1.16.3-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] python-rpm-macros-0:3.13-3.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] python3-rpm-generators-0:14-11. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] python3-rpm-macros-0:3.13-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/13] python3-packaging-0:24.2-2.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [13/13] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/15] Verify package files 100% | 342.0 B/s | 13.0 B | 00m00s [ 2/15] Prepare transaction 100% | 325.0 B/s | 13.0 B | 00m00s [ 3/15] Installing python-rpm-macros-0: 100% | 22.3 MiB/s | 22.8 KiB | 00m00s [ 4/15] Installing python3-rpm-macros-0 100% | 0.0 B/s | 6.7 KiB | 00m00s [ 5/15] Installing pyproject-rpm-macros 100% | 22.6 MiB/s | 115.7 KiB | 00m00s [ 6/15] Installing tzdata-0:2024b-1.fc4 100% | 25.5 MiB/s | 1.9 MiB | 00m00s [ 7/15] Installing python-pip-wheel-0:2 100% | 414.7 MiB/s | 1.2 MiB | 00m00s [ 8/15] Installing mpdecimal-0:2.5.1-16 100% | 201.2 MiB/s | 206.0 KiB | 00m00s [ 9/15] Installing libb2-0:0.98.1-12.fc 100% | 42.3 MiB/s | 43.3 KiB | 00m00s [10/15] Installing expat-0:2.6.4-1.fc42 100% | 40.1 MiB/s | 287.6 KiB | 00m00s [11/15] Installing python3-libs-0:3.13. 100% | 208.4 MiB/s | 40.2 MiB | 00m00s [12/15] Installing python3-0:3.13.1-2.f 100% | 31.6 MiB/s | 32.4 KiB | 00m00s [13/15] Installing python3-packaging-0: 100% | 110.9 MiB/s | 568.0 KiB | 00m00s [14/15] Installing python3-rpm-generato 100% | 81.0 MiB/s | 82.9 KiB | 00m00s [15/15] Installing python3-devel-0:3.13 100% | 45.4 MiB/s | 1.8 MiB | 00m00s Complete! Finish: build setup for python-PyGithub-2.3.0-1.fc42.src.rpm Start: rpmbuild python-PyGithub-2.3.0-1.fc42.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721520000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.mHaVQX + umask 022 + cd /builddir/build/BUILD/python-PyGithub-2.3.0-build + test -d /builddir/build/BUILD/python-PyGithub-2.3.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-PyGithub-2.3.0-build + /usr/bin/rm -rf /builddir/build/BUILD/python-PyGithub-2.3.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-PyGithub-2.3.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-PyGithub-2.3.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JsMbON + umask 022 + cd /builddir/build/BUILD/python-PyGithub-2.3.0-build + cd /builddir/build/BUILD/python-PyGithub-2.3.0-build + rm -rf PyGithub-2.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/PyGithub-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd PyGithub-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.cEgqUP + umask 022 + cd /builddir/build/BUILD/python-PyGithub-2.3.0-build + cd PyGithub-2.3.0 + export SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/pyproject-wheeldir --output /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-buildrequires -t Handling setuptools>=64 from build-system.requires Requirement not satisfied: setuptools>=64 Handling setuptools_scm>=7 from build-system.requires Requirement not satisfied: setuptools_scm>=7 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-PyGithub-2.3.0-1.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 1.1 MiB/s | 26.0 KiB | 00m00s Copr repository 100% | 50.7 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.16.3-1.fc42.noarch" is already installed. Package "python3-devel-3.13.1-2.fc42.x86_64" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 24.3.1-1.fc42 fedora 11.3 MiB python3-setuptools noarch 74.1.3-4.fc42 fedora 8.4 MiB python3-setuptools_scm noarch 8.1.0-1.fc42 fedora 320.0 KiB Transaction Summary: Installing: 3 packages Total size of inbound packages is 5 MiB. Need to download 117 KiB. After this operation, 20 MiB extra will be used (install 20 MiB, remove 0 B). [1/1] python3-pip-0:24.3.1-1.fc42.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] python3-setuptools-0:74.1.3-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] python3-setuptools_scm-0:8.1.0-1. 100% | 314.5 KiB/s | 117.0 KiB | 00m00s -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/5] Verify package files 100% | 187.0 B/s | 3.0 B | 00m00s [2/5] Prepare transaction 100% | 100.0 B/s | 3.0 B | 00m00s [3/5] Installing python3-setuptools-0:7 100% | 115.7 MiB/s | 8.6 MiB | 00m00s [4/5] Installing python3-setuptools_scm 100% | 36.9 MiB/s | 339.7 KiB | 00m00s [5/5] Installing python3-pip-0:24.3.1-1 100% | 102.8 MiB/s | 11.6 MiB | 00m00s Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721520000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.cs27bt + umask 022 + cd /builddir/build/BUILD/python-PyGithub-2.3.0-build + cd PyGithub-2.3.0 + export SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/pyproject-wheeldir --output /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-buildrequires -t Handling setuptools>=64 from build-system.requires Requirement satisfied: setuptools>=64 (installed: setuptools 74.1.3) Handling setuptools_scm>=7 from build-system.requires Requirement satisfied: setuptools_scm>=7 (installed: setuptools_scm 8.1.0) running egg_info creating PyGithub.egg-info writing PyGithub.egg-info/PKG-INFO writing dependency_links to PyGithub.egg-info/dependency_links.txt writing requirements to PyGithub.egg-info/requires.txt writing top-level names to PyGithub.egg-info/top_level.txt writing manifest file 'PyGithub.egg-info/SOURCES.txt' reading manifest file 'PyGithub.egg-info/SOURCES.txt' adding license file 'COPYING' adding license file 'COPYING.LESSER' writing manifest file 'PyGithub.egg-info/SOURCES.txt' Handling tox-current-env >= 0.0.6 from tox itself Requirement not satisfied: tox-current-env >= 0.0.6 Exiting dependency generation pass: tox itself + cat /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-PyGithub-2.3.0-1.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 962.7 KiB/s | 26.0 KiB | 00m00s Copr repository 100% | 50.7 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.16.3-1.fc42.noarch" is already installed. Package "python3-devel-3.13.1-2.fc42.x86_64" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package "python3-pip-24.3.1-1.fc42.noarch" is already installed. Package "python3-setuptools-74.1.3-4.fc42.noarch" is already installed. Package "python3-setuptools_scm-8.1.0-1.fc42.noarch" is already installed. Package Arch Version Repository Size Installing: python3-tox-current-env noarch 0.0.14-1.fc42 fedora 75.6 KiB Installing dependencies: python-setuptools-wheel noarch 74.1.3-4.fc42 fedora 1.2 MiB python-wheel-wheel noarch 1:0.45.1-1.fc42 fedora 71.6 KiB python3-cachetools noarch 5.4.0-6.fc42 fedora 138.7 KiB python3-chardet noarch 5.2.0-14.fc41 fedora 2.1 MiB python3-colorama noarch 0.4.6-9.fc41 fedora 191.6 KiB python3-distlib noarch 0.3.9-1.fc42 fedora 1.2 MiB python3-filelock noarch 3.15.4-2.fc41 fedora 90.2 KiB python3-platformdirs noarch 4.2.2-2.fc41 fedora 168.6 KiB python3-pluggy noarch 1.5.0-1.fc41 fedora 193.2 KiB python3-pyproject-api noarch 1.8.0-1.fc42 fedora 79.0 KiB python3-virtualenv noarch 20.26.6-1.fc42 fedora 644.9 KiB tox noarch 4.23.2-1.fc42 fedora 1.2 MiB Transaction Summary: Installing: 13 packages Total size of inbound packages is 3 MiB. Need to download 3 MiB. After this operation, 7 MiB extra will be used (install 7 MiB, remove 0 B). [ 1/13] python3-pluggy-0:1.5.0-1.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/13] python3-tox-current-env-0:0.0.1 100% | 325.1 KiB/s | 30.9 KiB | 00m00s [ 3/13] python3-cachetools-0:5.4.0-6.fc 100% | 272.5 KiB/s | 37.1 KiB | 00m00s [ 4/13] python3-chardet-0:5.2.0-14.fc41 100% | 4.2 MiB/s | 298.7 KiB | 00m00s [ 5/13] tox-0:4.23.2-1.fc42.noarch 100% | 2.3 MiB/s | 425.9 KiB | 00m00s [ 6/13] python3-filelock-0:3.15.4-2.fc4 100% | 1.2 MiB/s | 43.3 KiB | 00m00s [ 7/13] python3-colorama-0:0.4.6-9.fc41 100% | 1.1 MiB/s | 71.2 KiB | 00m00s [ 8/13] python3-platformdirs-0:4.2.2-2. 100% | 681.6 KiB/s | 46.3 KiB | 00m00s [ 9/13] python3-pyproject-api-0:1.8.0-1 100% | 879.8 KiB/s | 42.2 KiB | 00m00s [10/13] python3-virtualenv-0:20.26.6-1. 100% | 4.4 MiB/s | 289.6 KiB | 00m00s [11/13] python-setuptools-wheel-0:74.1. 100% | 5.9 MiB/s | 1.1 MiB | 00m00s [12/13] python-wheel-wheel-1:0.45.1-1.f 100% | 416.6 KiB/s | 77.1 KiB | 00m00s [13/13] python3-distlib-0:0.3.9-1.fc42. 100% | 1.4 MiB/s | 266.7 KiB | 00m00s -------------------------------------------------------------------------------- [13/13] Total 100% | 5.6 MiB/s | 2.7 MiB | 00m00s Running transaction [ 1/15] Verify package files 100% | 1.3 KiB/s | 13.0 B | 00m00s [ 2/15] Prepare transaction 100% | 722.0 B/s | 13.0 B | 00m00s [ 3/15] Installing python3-platformdirs 100% | 57.0 MiB/s | 175.0 KiB | 00m00s [ 4/15] Installing python3-filelock-0:3 100% | 47.4 MiB/s | 97.1 KiB | 00m00s [ 5/15] Installing python3-pluggy-0:1.5 100% | 64.9 MiB/s | 199.4 KiB | 00m00s [ 6/15] Installing python3-distlib-0:0. 100% | 234.4 MiB/s | 1.2 MiB | 00m00s [ 7/15] Installing python-wheel-wheel-1 100% | 70.7 MiB/s | 72.4 KiB | 00m00s [ 8/15] Installing python-setuptools-wh 100% | 384.3 MiB/s | 1.2 MiB | 00m00s [ 9/15] Installing python3-virtualenv-0 100% | 34.8 MiB/s | 713.6 KiB | 00m00s [10/15] Installing python3-pyproject-ap 100% | 41.6 MiB/s | 85.2 KiB | 00m00s [11/15] Installing python3-colorama-0:0 100% | 49.2 MiB/s | 201.5 KiB | 00m00s [12/15] Installing python3-chardet-0:5. 100% | 161.2 MiB/s | 2.1 MiB | 00m00s [13/15] Installing python3-cachetools-0 100% | 46.3 MiB/s | 142.3 KiB | 00m00s [14/15] Installing tox-0:4.23.2-1.fc42. 100% | 55.6 MiB/s | 1.3 MiB | 00m00s [15/15] Installing python3-tox-current- 100% | 4.3 MiB/s | 79.9 KiB | 00m00s Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721520000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.z4pKTX + umask 022 + cd /builddir/build/BUILD/python-PyGithub-2.3.0-build + cd PyGithub-2.3.0 + export SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/pyproject-wheeldir --output /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-buildrequires -t Handling setuptools>=64 from build-system.requires Requirement satisfied: setuptools>=64 (installed: setuptools 74.1.3) Handling setuptools_scm>=7 from build-system.requires Requirement satisfied: setuptools_scm>=7 (installed: setuptools_scm 8.1.0) running egg_info writing PyGithub.egg-info/PKG-INFO writing dependency_links to PyGithub.egg-info/dependency_links.txt writing requirements to PyGithub.egg-info/requires.txt writing top-level names to PyGithub.egg-info/top_level.txt reading manifest file 'PyGithub.egg-info/SOURCES.txt' adding license file 'COPYING' adding license file 'COPYING.LESSER' writing manifest file 'PyGithub.egg-info/SOURCES.txt' Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.14) py313: OK (0.00 seconds) congratulations :) (0.06 seconds) Handling tox from tox --print-deps-only: py313 Requirement satisfied: tox (installed: tox 4.23.2) Handling httpretty >=1.0.3 from tox --print-deps-only: py313 Requirement not satisfied: httpretty >=1.0.3 Handling pytest >=5.3 from tox --print-deps-only: py313 Requirement not satisfied: pytest >=5.3 Handling pytest-cov >=2.8 from tox --print-deps-only: py313 Requirement not satisfied: pytest-cov >=2.8 Handling pytest-github-actions-annotate-failures <1.0.0 from tox --print-deps-only: py313 Requirement not satisfied: pytest-github-actions-annotate-failures <1.0.0 Handling pytest-subtests >=0.11.0 from tox --print-deps-only: py313 Requirement not satisfied: pytest-subtests >=0.11.0 py313: OK (0.00 seconds) congratulations :) (0.06 seconds) running dist_info writing PyGithub.egg-info/PKG-INFO writing dependency_links to PyGithub.egg-info/dependency_links.txt writing requirements to PyGithub.egg-info/requires.txt writing top-level names to PyGithub.egg-info/top_level.txt reading manifest file 'PyGithub.egg-info/SOURCES.txt' adding license file 'COPYING' adding license file 'COPYING.LESSER' writing manifest file 'PyGithub.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/PyGithub-2.3.0.dist-info' Handling pynacl >=1.4.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement not satisfied: pynacl >=1.4.0 Handling requests >=2.14.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement not satisfied: requests >=2.14.0 Handling pyjwt[crypto] >=2.4.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement not satisfied: pyjwt[crypto] >=2.4.0 Handling typing-extensions >=4.0.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: typing-extensions >=4.0.0 (installed: typing-extensions 4.12.2) Handling urllib3 >=1.26.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement not satisfied: urllib3 >=1.26.0 Handling Deprecated from hook generated metadata: Requires-Dist (PyGithub) Requirement not satisfied: Deprecated + cat /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-buildrequires + rm -rfv PyGithub-2.3.0.dist-info/ removed 'PyGithub-2.3.0.dist-info/top_level.txt' removed 'PyGithub-2.3.0.dist-info/METADATA' removed 'PyGithub-2.3.0.dist-info/COPYING' removed 'PyGithub-2.3.0.dist-info/COPYING.LESSER' removed directory 'PyGithub-2.3.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-PyGithub-2.3.0-1.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 1.1 MiB/s | 26.0 KiB | 00m00s Copr repository 100% | 52.4 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.16.3-1.fc42.noarch" is already installed. Package "python3-devel-3.13.1-2.fc42.x86_64" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package "python3-pip-24.3.1-1.fc42.noarch" is already installed. Package "python3-setuptools-74.1.3-4.fc42.noarch" is already installed. Package "python3-setuptools_scm-8.1.0-1.fc42.noarch" is already installed. Package "tox-4.23.2-1.fc42.noarch" is already installed. Package "python3-tox-current-env-0.0.14-1.fc42.noarch" is already installed. Package Arch Version Repository Size Installing: python3-deprecated noarch 1.2.15-1.fc42 fedora 53.1 KiB python3-httpretty noarch 1.1.4-21.fc41 fedora 278.3 KiB python3-jwt noarch 2.8.0-2.fc41 fedora 164.6 KiB python3-jwt+crypto noarch 2.8.0-2.fc41 fedora 5.4 KiB python3-pynacl x86_64 1.5.0-13.fc42 fedora 588.7 KiB python3-pytest noarch 8.3.4-1.fc42 fedora 20.8 MiB python3-pytest-cov noarch 5.0.0-1.fc42 fedora 163.5 KiB python3-pytest-github-actions-annotate-failures noarch 0.2.0-2.fc41 fedora 14.0 KiB python3-pytest-subtests noarch 0.13.1-1.fc42 fedora 50.5 KiB python3-requests noarch 2.32.3-3.fc42 copr_base 483.1 KiB python3-typing-extensions noarch 4.12.2-3.fc41 fedora 464.5 KiB python3-urllib3 noarch 2.3.0-1.fc42 copr_base 1.0 MiB Installing dependencies: libsodium x86_64 1.0.20-2.fc41 fedora 393.0 KiB python3-attrs noarch 24.3.0-2.fc42 fedora 396.8 KiB python3-cffi x86_64 1.17.1-1.fc42 fedora 1.3 MiB python3-charset-normalizer noarch 3.4.0-1.fc42 fedora 319.9 KiB python3-coverage x86_64 7.3.2-5.fc41 fedora 1.7 MiB python3-coverage+toml x86_64 7.3.2-5.fc41 fedora 17.1 KiB python3-cryptography x86_64 43.0.0-3.fc42 fedora 4.7 MiB python3-idna noarch 3.10-1.fc42 fedora 628.0 KiB python3-iniconfig noarch 1.1.1-23.fc41 fedora 20.6 KiB python3-ply noarch 3.11-25.fc41 fedora 568.2 KiB python3-pycparser noarch 2.20-18.fc41 fedora 821.0 KiB python3-six noarch 1.16.0-23.fc41 fedora 118.3 KiB python3-wrapt x86_64 1.17.0-2.fc42 fedora 201.7 KiB Transaction Summary: Installing: 25 packages Total size of inbound packages is 6 MiB. Need to download 1 MiB. After this operation, 35 MiB extra will be used (install 35 MiB, remove 0 B). [ 1/11] python3-urllib3-0:2.3.0-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/13] python3-six-0:1.16.0-23.fc41.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/14] python3-cryptography-0:43.0.0-3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/16] python3-cffi-0:1.17.1-1.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/20] python3-charset-normalizer-0:3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/21] python3-idna-0:3.10-1.fc42.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/22] python3-pycparser-0:2.20-18.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/23] python3-ply-0:3.11-25.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/24] python3-pytest-0:8.3.4-1.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/25] python3-iniconfig-0:1.1.1-23.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/25] python3-deprecated-0:1.2.15-1.f 100% | 129.8 KiB/s | 25.4 KiB | 00m00s [12/25] python3-jwt+crypto-0:2.8.0-2.fc 100% | 151.9 KiB/s | 8.8 KiB | 00m00s [13/25] python3-httpretty-0:1.1.4-21.fc 100% | 273.2 KiB/s | 72.1 KiB | 00m00s [14/25] python3-jwt-0:2.8.0-2.fc41.noar 100% | 211.3 KiB/s | 67.0 KiB | 00m00s [15/25] python3-pytest-cov-0:5.0.0-1.fc 100% | 827.8 KiB/s | 53.8 KiB | 00m00s [16/25] python3-pytest-github-actions-a 100% | 328.8 KiB/s | 15.8 KiB | 00m00s [17/25] python3-pytest-subtests-0:0.13. 100% | 515.2 KiB/s | 26.8 KiB | 00m00s [18/25] python3-pynacl-0:1.5.0-13.fc42. 100% | 976.5 KiB/s | 141.6 KiB | 00m00s [19/25] python3-requests-0:2.32.3-3.fc4 100% | 3.3 MiB/s | 149.8 KiB | 00m00s [20/25] python3-typing-extensions-0:4.1 100% | 1.1 MiB/s | 93.8 KiB | 00m00s [21/25] python3-wrapt-0:1.17.0-2.fc42.x 100% | 1.3 MiB/s | 74.1 KiB | 00m00s [22/25] python3-coverage+toml-0:7.3.2-5 100% | 206.4 KiB/s | 9.3 KiB | 00m00s [23/25] libsodium-0:1.0.20-2.fc41.x86_6 100% | 1.5 MiB/s | 175.7 KiB | 00m00s [24/25] python3-attrs-0:24.3.0-2.fc42.n 100% | 1.6 MiB/s | 131.0 KiB | 00m00s [25/25] python3-coverage-0:7.3.2-5.fc41 100% | 3.2 MiB/s | 389.1 KiB | 00m00s -------------------------------------------------------------------------------- [25/25] Total 100% | 2.2 MiB/s | 1.4 MiB | 00m01s Running transaction [ 1/27] Verify package files 100% | 1.1 KiB/s | 25.0 B | 00m00s [ 2/27] Prepare transaction 100% | 595.0 B/s | 25.0 B | 00m00s [ 3/27] Installing python3-idna-0:3.10- 100% | 123.9 MiB/s | 634.3 KiB | 00m00s [ 4/27] Installing python3-coverage-0:7 100% | 154.8 MiB/s | 1.7 MiB | 00m00s [ 5/27] Installing python3-coverage+tom 100% | 0.0 B/s | 124.0 B | 00m00s [ 6/27] Installing python3-urllib3-0:2. 100% | 113.1 MiB/s | 1.0 MiB | 00m00s [ 7/27] Installing python3-iniconfig-0: 100% | 7.7 MiB/s | 23.6 KiB | 00m00s [ 8/27] Installing python3-pytest-0:8.3 100% | 244.3 MiB/s | 21.0 MiB | 00m00s [ 9/27] Installing python3-ply-0:3.11-2 100% | 186.6 MiB/s | 573.4 KiB | 00m00s [10/27] Installing python3-pycparser-0: 100% | 135.5 MiB/s | 832.5 KiB | 00m00s [11/27] Installing python3-cffi-0:1.17. 100% | 167.2 MiB/s | 1.3 MiB | 00m00s [12/27] Installing python3-cryptography 100% | 132.6 MiB/s | 4.8 MiB | 00m00s [13/27] Installing python3-charset-norm 100% | 80.5 MiB/s | 329.8 KiB | 00m00s [14/27] Installing python3-attrs-0:24.3 100% | 80.3 MiB/s | 411.1 KiB | 00m00s [15/27] Installing libsodium-0:1.0.20-2 100% | 192.5 MiB/s | 394.2 KiB | 00m00s [16/27] Installing python3-six-0:1.16.0 100% | 58.9 MiB/s | 120.7 KiB | 00m00s [17/27] Installing python3-wrapt-0:1.17 100% | 67.9 MiB/s | 208.5 KiB | 00m00s [18/27] Installing python3-jwt-0:2.8.0- 100% | 56.3 MiB/s | 173.1 KiB | 00m00s [19/27] Installing python3-jwt+crypto-0 100% | 0.0 B/s | 124.0 B | 00m00s [20/27] Installing python3-deprecated-0 100% | 27.6 MiB/s | 56.5 KiB | 00m00s [21/27] Installing python3-httpretty-0: 100% | 92.5 MiB/s | 284.3 KiB | 00m00s [22/27] Installing python3-pynacl-0:1.5 100% | 84.9 MiB/s | 608.9 KiB | 00m00s [23/27] Installing python3-pytest-subte 100% | 26.5 MiB/s | 54.3 KiB | 00m00s [24/27] Installing python3-requests-0:2 100% | 96.7 MiB/s | 495.2 KiB | 00m00s [25/27] Installing python3-pytest-cov-0 100% | 55.1 MiB/s | 169.4 KiB | 00m00s [26/27] Installing python3-pytest-githu 100% | 17.2 MiB/s | 17.6 KiB | 00m00s [27/27] Installing python3-typing-exten 100% | 18.2 MiB/s | 466.9 KiB | 00m00s Warning: skipped OpenPGP checks for 2 packages from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721520000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.rGwniu + umask 022 + cd /builddir/build/BUILD/python-PyGithub-2.3.0-build + cd PyGithub-2.3.0 + export SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/pyproject-wheeldir --output /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-buildrequires -t Handling setuptools>=64 from build-system.requires Requirement satisfied: setuptools>=64 (installed: setuptools 74.1.3) Handling setuptools_scm>=7 from build-system.requires Requirement satisfied: setuptools_scm>=7 (installed: setuptools_scm 8.1.0) running egg_info writing PyGithub.egg-info/PKG-INFO writing dependency_links to PyGithub.egg-info/dependency_links.txt writing requirements to PyGithub.egg-info/requires.txt writing top-level names to PyGithub.egg-info/top_level.txt reading manifest file 'PyGithub.egg-info/SOURCES.txt' adding license file 'COPYING' adding license file 'COPYING.LESSER' writing manifest file 'PyGithub.egg-info/SOURCES.txt' Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.14) py313: OK (0.00 seconds) congratulations :) (0.06 seconds) Handling tox from tox --print-deps-only: py313 Requirement satisfied: tox (installed: tox 4.23.2) Handling httpretty >=1.0.3 from tox --print-deps-only: py313 Requirement satisfied: httpretty >=1.0.3 (installed: httpretty 1.1.4) Handling pytest >=5.3 from tox --print-deps-only: py313 Requirement satisfied: pytest >=5.3 (installed: pytest 8.3.4) Handling pytest-cov >=2.8 from tox --print-deps-only: py313 Requirement satisfied: pytest-cov >=2.8 (installed: pytest-cov 5.0.0) Handling pytest-github-actions-annotate-failures <1.0.0 from tox --print-deps-only: py313 Requirement satisfied: pytest-github-actions-annotate-failures <1.0.0 (installed: pytest-github-actions-annotate-failures 0.2.0) Handling pytest-subtests >=0.11.0 from tox --print-deps-only: py313 Requirement satisfied: pytest-subtests >=0.11.0 (installed: pytest-subtests 0.13.1) py313: OK (0.00 seconds) congratulations :) (0.06 seconds) running dist_info writing PyGithub.egg-info/PKG-INFO writing dependency_links to PyGithub.egg-info/dependency_links.txt writing requirements to PyGithub.egg-info/requires.txt writing top-level names to PyGithub.egg-info/top_level.txt reading manifest file 'PyGithub.egg-info/SOURCES.txt' adding license file 'COPYING' adding license file 'COPYING.LESSER' writing manifest file 'PyGithub.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/PyGithub-2.3.0.dist-info' Handling pynacl >=1.4.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: pynacl >=1.4.0 (installed: pynacl 1.5.0) Handling requests >=2.14.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: requests >=2.14.0 (installed: requests 2.32.3) Handling pyjwt[crypto] >=2.4.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: pyjwt[crypto] >=2.4.0 (installed: pyjwt 2.8.0) (extras are currently not checked) Handling typing-extensions >=4.0.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: typing-extensions >=4.0.0 (installed: typing-extensions 4.12.2) Handling urllib3 >=1.26.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: urllib3 >=1.26.0 (installed: urllib3 2.3.0) Handling Deprecated from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: Deprecated (installed: Deprecated 1.2.15) + cat /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-buildrequires + rm -rfv PyGithub-2.3.0.dist-info/ removed 'PyGithub-2.3.0.dist-info/top_level.txt' removed 'PyGithub-2.3.0.dist-info/METADATA' removed 'PyGithub-2.3.0.dist-info/COPYING' removed 'PyGithub-2.3.0.dist-info/COPYING.LESSER' removed directory 'PyGithub-2.3.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-PyGithub-2.3.0-1.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 1.0 MiB/s | 26.0 KiB | 00m00s Copr repository 100% | 52.4 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.16.3-1.fc42.noarch" is already installed. Package "python3-devel-3.13.1-2.fc42.x86_64" is already installed. Package "python3-deprecated-1.2.15-1.fc42.noarch" is already installed. Package "python3-httpretty-1.1.4-21.fc41.noarch" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package "python3-pip-24.3.1-1.fc42.noarch" is already installed. Package "python3-jwt-2.8.0-2.fc41.noarch" is already installed. Package "python3-jwt+crypto-2.8.0-2.fc41.noarch" is already installed. Package "python3-pynacl-1.5.0-13.fc42.x86_64" is already installed. Package "python3-pytest-8.3.4-1.fc42.noarch" is already installed. Package "python3-pytest-cov-5.0.0-1.fc42.noarch" is already installed. Package "python3-pytest-github-actions-annotate-failures-0.2.0-2.fc41.noarch" is already installed. Package "python3-pytest-subtests-0.13.1-1.fc42.noarch" is already installed. Package "python3-requests-2.32.3-3.fc42.noarch" is already installed. Package "python3-setuptools-74.1.3-4.fc42.noarch" is already installed. Package "python3-setuptools_scm-8.1.0-1.fc42.noarch" is already installed. Package "tox-4.23.2-1.fc42.noarch" is already installed. Package "python3-tox-current-env-0.0.14-1.fc42.noarch" is already installed. Package "python3-typing-extensions-4.12.2-3.fc41.noarch" is already installed. Package "python3-urllib3-2.3.0-1.fc42.noarch" is already installed. Nothing to do. Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721520000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.CTr509 + umask 022 + cd /builddir/build/BUILD/python-PyGithub-2.3.0-build + cd PyGithub-2.3.0 + export SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/pyproject-wheeldir --output /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-buildrequires -t Handling setuptools>=64 from build-system.requires Requirement satisfied: setuptools>=64 (installed: setuptools 74.1.3) Handling setuptools_scm>=7 from build-system.requires Requirement satisfied: setuptools_scm>=7 (installed: setuptools_scm 8.1.0) running egg_info writing PyGithub.egg-info/PKG-INFO writing dependency_links to PyGithub.egg-info/dependency_links.txt writing requirements to PyGithub.egg-info/requires.txt writing top-level names to PyGithub.egg-info/top_level.txt reading manifest file 'PyGithub.egg-info/SOURCES.txt' adding license file 'COPYING' adding license file 'COPYING.LESSER' writing manifest file 'PyGithub.egg-info/SOURCES.txt' Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.14) py313: OK (0.00 seconds) congratulations :) (0.06 seconds) Handling tox from tox --print-deps-only: py313 Requirement satisfied: tox (installed: tox 4.23.2) Handling httpretty >=1.0.3 from tox --print-deps-only: py313 Requirement satisfied: httpretty >=1.0.3 (installed: httpretty 1.1.4) Handling pytest >=5.3 from tox --print-deps-only: py313 Requirement satisfied: pytest >=5.3 (installed: pytest 8.3.4) Handling pytest-cov >=2.8 from tox --print-deps-only: py313 Requirement satisfied: pytest-cov >=2.8 (installed: pytest-cov 5.0.0) Handling pytest-github-actions-annotate-failures <1.0.0 from tox --print-deps-only: py313 Requirement satisfied: pytest-github-actions-annotate-failures <1.0.0 (installed: pytest-github-actions-annotate-failures 0.2.0) Handling pytest-subtests >=0.11.0 from tox --print-deps-only: py313 Requirement satisfied: pytest-subtests >=0.11.0 (installed: pytest-subtests 0.13.1) py313: OK (0.00 seconds) congratulations :) (0.06 seconds) running dist_info writing PyGithub.egg-info/PKG-INFO writing dependency_links to PyGithub.egg-info/dependency_links.txt writing requirements to PyGithub.egg-info/requires.txt writing top-level names to PyGithub.egg-info/top_level.txt reading manifest file 'PyGithub.egg-info/SOURCES.txt' adding license file 'COPYING' adding license file 'COPYING.LESSER' writing manifest file 'PyGithub.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/PyGithub-2.3.0.dist-info' Handling pynacl >=1.4.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: pynacl >=1.4.0 (installed: pynacl 1.5.0) Handling requests >=2.14.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: requests >=2.14.0 (installed: requests 2.32.3) Handling pyjwt[crypto] >=2.4.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: pyjwt[crypto] >=2.4.0 (installed: pyjwt 2.8.0) (extras are currently not checked) Handling typing-extensions >=4.0.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: typing-extensions >=4.0.0 (installed: typing-extensions 4.12.2) Handling urllib3 >=1.26.0 from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: urllib3 >=1.26.0 (installed: urllib3 2.3.0) Handling Deprecated from hook generated metadata: Requires-Dist (PyGithub) Requirement satisfied: Deprecated (installed: Deprecated 1.2.15) + cat /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-buildrequires + rm -rfv PyGithub-2.3.0.dist-info/ removed 'PyGithub-2.3.0.dist-info/top_level.txt' removed 'PyGithub-2.3.0.dist-info/METADATA' removed 'PyGithub-2.3.0.dist-info/COPYING' removed 'PyGithub-2.3.0.dist-info/COPYING.LESSER' removed directory 'PyGithub-2.3.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fUOPtV + umask 022 + cd /builddir/build/BUILD/python-PyGithub-2.3.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd PyGithub-2.3.0 + export SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + SETUPTOOLS_SCM_PRETEND_VERSION=2.3.0 + mkdir -p /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/pyproject-wheeldir Processing /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir/pip-modern-metadata-_bv23_l6/PyGithub.egg-info writing /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir/pip-modern-metadata-_bv23_l6/PyGithub.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir/pip-modern-metadata-_bv23_l6/PyGithub.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir/pip-modern-metadata-_bv23_l6/PyGithub.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir/pip-modern-metadata-_bv23_l6/PyGithub.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir/pip-modern-metadata-_bv23_l6/PyGithub.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir/pip-modern-metadata-_bv23_l6/PyGithub.egg-info/SOURCES.txt' adding license file 'COPYING' adding license file 'COPYING.LESSER' writing manifest file '/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir/pip-modern-metadata-_bv23_l6/PyGithub.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir/pip-modern-metadata-_bv23_l6/PyGithub-2.3.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: PyGithub Building wheel for PyGithub (pyproject.toml): started Running command Building wheel for PyGithub (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/github copying github/AccessToken.py -> build/lib/github copying github/AdvisoryBase.py -> build/lib/github copying github/AdvisoryCredit.py -> build/lib/github copying github/AdvisoryCreditDetailed.py -> build/lib/github copying github/AdvisoryVulnerability.py -> build/lib/github copying github/AdvisoryVulnerabilityPackage.py -> build/lib/github copying github/AppAuthentication.py -> build/lib/github copying github/ApplicationOAuth.py -> build/lib/github copying github/Artifact.py -> build/lib/github copying github/Auth.py -> build/lib/github copying github/AuthenticatedUser.py -> build/lib/github copying github/Authorization.py -> build/lib/github copying github/AuthorizationApplication.py -> build/lib/github copying github/Autolink.py -> build/lib/github copying github/Branch.py -> build/lib/github copying github/BranchProtection.py -> build/lib/github copying github/CVSS.py -> build/lib/github copying github/CWE.py -> build/lib/github copying github/CheckRun.py -> build/lib/github copying github/CheckRunAnnotation.py -> build/lib/github copying github/CheckRunOutput.py -> build/lib/github copying github/CheckSuite.py -> build/lib/github copying github/Clones.py -> build/lib/github copying github/CodeScanAlert.py -> build/lib/github copying github/CodeScanAlertInstance.py -> build/lib/github copying github/CodeScanAlertInstanceLocation.py -> build/lib/github copying github/CodeScanRule.py -> build/lib/github copying github/CodeScanTool.py -> build/lib/github copying github/Commit.py -> build/lib/github copying github/CommitCombinedStatus.py -> build/lib/github copying github/CommitComment.py -> build/lib/github copying github/CommitStats.py -> build/lib/github copying github/CommitStatus.py -> build/lib/github copying github/Comparison.py -> build/lib/github copying github/Consts.py -> build/lib/github copying github/ContentFile.py -> build/lib/github copying github/DependabotAlert.py -> build/lib/github copying github/DependabotAlertAdvisory.py -> build/lib/github copying github/DependabotAlertDependency.py -> build/lib/github copying github/DependabotAlertVulnerability.py -> build/lib/github copying github/Deployment.py -> build/lib/github copying github/DeploymentStatus.py -> build/lib/github copying github/Download.py -> build/lib/github copying github/Enterprise.py -> build/lib/github copying github/EnterpriseConsumedLicenses.py -> build/lib/github copying github/Environment.py -> build/lib/github copying github/EnvironmentDeploymentBranchPolicy.py -> build/lib/github copying github/EnvironmentProtectionRule.py -> build/lib/github copying github/EnvironmentProtectionRuleReviewer.py -> build/lib/github copying github/Event.py -> build/lib/github copying github/File.py -> build/lib/github copying github/Gist.py -> build/lib/github copying github/GistComment.py -> build/lib/github copying github/GistFile.py -> build/lib/github copying github/GistHistoryState.py -> build/lib/github copying github/GitAuthor.py -> build/lib/github copying github/GitBlob.py -> build/lib/github copying github/GitCommit.py -> build/lib/github copying github/GitObject.py -> build/lib/github copying github/GitRef.py -> build/lib/github copying github/GitRelease.py -> build/lib/github copying github/GitReleaseAsset.py -> build/lib/github copying github/GitTag.py -> build/lib/github copying github/GitTree.py -> build/lib/github copying github/GitTreeElement.py -> build/lib/github copying github/GithubApp.py -> build/lib/github copying github/GithubException.py -> build/lib/github copying github/GithubIntegration.py -> build/lib/github copying github/GithubObject.py -> build/lib/github copying github/GithubRetry.py -> build/lib/github copying github/GitignoreTemplate.py -> build/lib/github copying github/GlobalAdvisory.py -> build/lib/github copying github/Hook.py -> build/lib/github copying github/HookDelivery.py -> build/lib/github copying github/HookDescription.py -> build/lib/github copying github/HookResponse.py -> build/lib/github copying github/InputFileContent.py -> build/lib/github copying github/InputGitAuthor.py -> build/lib/github copying github/InputGitTreeElement.py -> build/lib/github copying github/Installation.py -> build/lib/github copying github/InstallationAuthorization.py -> build/lib/github copying github/Invitation.py -> build/lib/github copying github/Issue.py -> build/lib/github copying github/IssueComment.py -> build/lib/github copying github/IssueEvent.py -> build/lib/github copying github/IssuePullRequest.py -> build/lib/github copying github/Label.py -> build/lib/github copying github/License.py -> build/lib/github copying github/MainClass.py -> build/lib/github copying github/Membership.py -> build/lib/github copying github/Migration.py -> build/lib/github copying github/Milestone.py -> build/lib/github copying github/NamedEnterpriseUser.py -> build/lib/github copying github/NamedUser.py -> build/lib/github copying github/Notification.py -> build/lib/github copying github/NotificationSubject.py -> build/lib/github copying github/Organization.py -> build/lib/github copying github/OrganizationDependabotAlert.py -> build/lib/github copying github/OrganizationSecret.py -> build/lib/github copying github/OrganizationVariable.py -> build/lib/github copying github/PaginatedList.py -> build/lib/github copying github/Path.py -> build/lib/github copying github/Permissions.py -> build/lib/github copying github/Plan.py -> build/lib/github copying github/Project.py -> build/lib/github copying github/ProjectCard.py -> build/lib/github copying github/ProjectColumn.py -> build/lib/github copying github/PublicKey.py -> build/lib/github copying github/PullRequest.py -> build/lib/github copying github/PullRequestComment.py -> build/lib/github copying github/PullRequestMergeStatus.py -> build/lib/github copying github/PullRequestPart.py -> build/lib/github copying github/PullRequestReview.py -> build/lib/github copying github/Rate.py -> build/lib/github copying github/RateLimit.py -> build/lib/github copying github/Reaction.py -> build/lib/github copying github/Referrer.py -> build/lib/github copying github/Repository.py -> build/lib/github copying github/RepositoryAdvisory.py -> build/lib/github copying github/RepositoryKey.py -> build/lib/github copying github/RepositoryPreferences.py -> build/lib/github copying github/Requester.py -> build/lib/github copying github/RequiredPullRequestReviews.py -> build/lib/github copying github/RequiredStatusChecks.py -> build/lib/github copying github/Secret.py -> build/lib/github copying github/SelfHostedActionsRunner.py -> build/lib/github copying github/SourceImport.py -> build/lib/github copying github/Stargazer.py -> build/lib/github copying github/StatsCodeFrequency.py -> build/lib/github copying github/StatsCommitActivity.py -> build/lib/github copying github/StatsContributor.py -> build/lib/github copying github/StatsParticipation.py -> build/lib/github copying github/StatsPunchCard.py -> build/lib/github copying github/Tag.py -> build/lib/github copying github/Team.py -> build/lib/github copying github/TeamDiscussion.py -> build/lib/github copying github/TimelineEvent.py -> build/lib/github copying github/TimelineEventSource.py -> build/lib/github copying github/Topic.py -> build/lib/github copying github/UserKey.py -> build/lib/github copying github/Variable.py -> build/lib/github copying github/View.py -> build/lib/github copying github/Workflow.py -> build/lib/github copying github/WorkflowJob.py -> build/lib/github copying github/WorkflowRun.py -> build/lib/github copying github/WorkflowStep.py -> build/lib/github copying github/__init__.py -> build/lib/github running egg_info writing PyGithub.egg-info/PKG-INFO writing dependency_links to PyGithub.egg-info/dependency_links.txt writing requirements to PyGithub.egg-info/requires.txt writing top-level names to PyGithub.egg-info/top_level.txt reading manifest file 'PyGithub.egg-info/SOURCES.txt' adding license file 'COPYING' adding license file 'COPYING.LESSER' writing manifest file 'PyGithub.egg-info/SOURCES.txt' copying github/py.typed -> build/lib/github installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/github copying build/lib/github/AccessToken.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/AdvisoryBase.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/AdvisoryCredit.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/AdvisoryCreditDetailed.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/AdvisoryVulnerability.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/AdvisoryVulnerabilityPackage.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/AppAuthentication.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/ApplicationOAuth.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Artifact.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Auth.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/AuthenticatedUser.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Authorization.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/AuthorizationApplication.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Autolink.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Branch.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/BranchProtection.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CVSS.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CWE.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CheckRun.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CheckRunAnnotation.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CheckRunOutput.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CheckSuite.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Clones.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CodeScanAlert.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CodeScanAlertInstance.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CodeScanAlertInstanceLocation.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CodeScanRule.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CodeScanTool.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Commit.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CommitCombinedStatus.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CommitComment.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CommitStats.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/CommitStatus.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Comparison.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Consts.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/ContentFile.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/DependabotAlert.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/DependabotAlertAdvisory.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/DependabotAlertDependency.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/DependabotAlertVulnerability.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Deployment.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/DeploymentStatus.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Download.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Enterprise.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/EnterpriseConsumedLicenses.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Environment.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/EnvironmentDeploymentBranchPolicy.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/EnvironmentProtectionRule.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/EnvironmentProtectionRuleReviewer.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Event.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/File.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Gist.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GistComment.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GistFile.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GistHistoryState.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GitAuthor.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GitBlob.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GitCommit.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GitObject.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GitRef.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GitRelease.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GitReleaseAsset.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GitTag.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GitTree.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GitTreeElement.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GithubApp.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GithubException.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GithubIntegration.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GithubObject.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GithubRetry.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GitignoreTemplate.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/GlobalAdvisory.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Hook.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/HookDelivery.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/HookDescription.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/HookResponse.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/InputFileContent.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/InputGitAuthor.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/InputGitTreeElement.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Installation.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/InstallationAuthorization.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Invitation.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Issue.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/IssueComment.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/IssueEvent.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/IssuePullRequest.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Label.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/License.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/MainClass.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Membership.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Migration.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Milestone.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/NamedEnterpriseUser.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/NamedUser.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Notification.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/NotificationSubject.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Organization.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/OrganizationDependabotAlert.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/OrganizationSecret.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/OrganizationVariable.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/PaginatedList.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Path.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Permissions.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Plan.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Project.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/ProjectCard.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/ProjectColumn.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/PublicKey.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/PullRequest.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/PullRequestComment.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/PullRequestMergeStatus.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/PullRequestPart.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/PullRequestReview.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Rate.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/RateLimit.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Reaction.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Referrer.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Repository.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/RepositoryAdvisory.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/RepositoryKey.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/RepositoryPreferences.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Requester.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/RequiredPullRequestReviews.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/RequiredStatusChecks.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Secret.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/SelfHostedActionsRunner.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/SourceImport.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Stargazer.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/StatsCodeFrequency.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/StatsCommitActivity.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/StatsContributor.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/StatsParticipation.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/StatsPunchCard.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Tag.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Team.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/TeamDiscussion.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/TimelineEvent.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/TimelineEventSource.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Topic.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/UserKey.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Variable.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/View.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/Workflow.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/WorkflowJob.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/WorkflowRun.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/WorkflowStep.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/__init__.py -> build/bdist.linux-x86_64/wheel/./github copying build/lib/github/py.typed -> build/bdist.linux-x86_64/wheel/./github running install_egg_info Copying PyGithub.egg-info to build/bdist.linux-x86_64/wheel/./PyGithub-2.3.0-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/PyGithub-2.3.0.dist-info/WHEEL creating '/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir/pip-wheel-x0hs0w6x/.tmp-fxmm48g9/PyGithub-2.3.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'github/AccessToken.py' adding 'github/AdvisoryBase.py' adding 'github/AdvisoryCredit.py' adding 'github/AdvisoryCreditDetailed.py' adding 'github/AdvisoryVulnerability.py' adding 'github/AdvisoryVulnerabilityPackage.py' adding 'github/AppAuthentication.py' adding 'github/ApplicationOAuth.py' adding 'github/Artifact.py' adding 'github/Auth.py' adding 'github/AuthenticatedUser.py' adding 'github/Authorization.py' adding 'github/AuthorizationApplication.py' adding 'github/Autolink.py' adding 'github/Branch.py' adding 'github/BranchProtection.py' adding 'github/CVSS.py' adding 'github/CWE.py' adding 'github/CheckRun.py' adding 'github/CheckRunAnnotation.py' adding 'github/CheckRunOutput.py' adding 'github/CheckSuite.py' adding 'github/Clones.py' adding 'github/CodeScanAlert.py' adding 'github/CodeScanAlertInstance.py' adding 'github/CodeScanAlertInstanceLocation.py' adding 'github/CodeScanRule.py' adding 'github/CodeScanTool.py' adding 'github/Commit.py' adding 'github/CommitCombinedStatus.py' adding 'github/CommitComment.py' adding 'github/CommitStats.py' adding 'github/CommitStatus.py' adding 'github/Comparison.py' adding 'github/Consts.py' adding 'github/ContentFile.py' adding 'github/DependabotAlert.py' adding 'github/DependabotAlertAdvisory.py' adding 'github/DependabotAlertDependency.py' adding 'github/DependabotAlertVulnerability.py' adding 'github/Deployment.py' adding 'github/DeploymentStatus.py' adding 'github/Download.py' adding 'github/Enterprise.py' adding 'github/EnterpriseConsumedLicenses.py' adding 'github/Environment.py' adding 'github/EnvironmentDeploymentBranchPolicy.py' adding 'github/EnvironmentProtectionRule.py' adding 'github/EnvironmentProtectionRuleReviewer.py' adding 'github/Event.py' adding 'github/File.py' adding 'github/Gist.py' adding 'github/GistComment.py' adding 'github/GistFile.py' adding 'github/GistHistoryState.py' adding 'github/GitAuthor.py' adding 'github/GitBlob.py' adding 'github/GitCommit.py' adding 'github/GitObject.py' adding 'github/GitRef.py' adding 'github/GitRelease.py' adding 'github/GitReleaseAsset.py' adding 'github/GitTag.py' adding 'github/GitTree.py' adding 'github/GitTreeElement.py' adding 'github/GithubApp.py' adding 'github/GithubException.py' adding 'github/GithubIntegration.py' adding 'github/GithubObject.py' adding 'github/GithubRetry.py' adding 'github/GitignoreTemplate.py' adding 'github/GlobalAdvisory.py' adding 'github/Hook.py' adding 'github/HookDelivery.py' adding 'github/HookDescription.py' adding 'github/HookResponse.py' adding 'github/InputFileContent.py' adding 'github/InputGitAuthor.py' adding 'github/InputGitTreeElement.py' adding 'github/Installation.py' adding 'github/InstallationAuthorization.py' adding 'github/Invitation.py' adding 'github/Issue.py' adding 'github/IssueComment.py' adding 'github/IssueEvent.py' adding 'github/IssuePullRequest.py' adding 'github/Label.py' adding 'github/License.py' adding 'github/MainClass.py' adding 'github/Membership.py' adding 'github/Migration.py' adding 'github/Milestone.py' adding 'github/NamedEnterpriseUser.py' adding 'github/NamedUser.py' adding 'github/Notification.py' adding 'github/NotificationSubject.py' adding 'github/Organization.py' adding 'github/OrganizationDependabotAlert.py' adding 'github/OrganizationSecret.py' adding 'github/OrganizationVariable.py' adding 'github/PaginatedList.py' adding 'github/Path.py' adding 'github/Permissions.py' adding 'github/Plan.py' adding 'github/Project.py' adding 'github/ProjectCard.py' adding 'github/ProjectColumn.py' adding 'github/PublicKey.py' adding 'github/PullRequest.py' adding 'github/PullRequestComment.py' adding 'github/PullRequestMergeStatus.py' adding 'github/PullRequestPart.py' adding 'github/PullRequestReview.py' adding 'github/Rate.py' adding 'github/RateLimit.py' adding 'github/Reaction.py' adding 'github/Referrer.py' adding 'github/Repository.py' adding 'github/RepositoryAdvisory.py' adding 'github/RepositoryKey.py' adding 'github/RepositoryPreferences.py' adding 'github/Requester.py' adding 'github/RequiredPullRequestReviews.py' adding 'github/RequiredStatusChecks.py' adding 'github/Secret.py' adding 'github/SelfHostedActionsRunner.py' adding 'github/SourceImport.py' adding 'github/Stargazer.py' adding 'github/StatsCodeFrequency.py' adding 'github/StatsCommitActivity.py' adding 'github/StatsContributor.py' adding 'github/StatsParticipation.py' adding 'github/StatsPunchCard.py' adding 'github/Tag.py' adding 'github/Team.py' adding 'github/TeamDiscussion.py' adding 'github/TimelineEvent.py' adding 'github/TimelineEventSource.py' adding 'github/Topic.py' adding 'github/UserKey.py' adding 'github/Variable.py' adding 'github/View.py' adding 'github/Workflow.py' adding 'github/WorkflowJob.py' adding 'github/WorkflowRun.py' adding 'github/WorkflowStep.py' adding 'github/__init__.py' adding 'github/py.typed' adding 'PyGithub-2.3.0.dist-info/COPYING' adding 'PyGithub-2.3.0.dist-info/COPYING.LESSER' adding 'PyGithub-2.3.0.dist-info/METADATA' adding 'PyGithub-2.3.0.dist-info/WHEEL' adding 'PyGithub-2.3.0.dist-info/top_level.txt' adding 'PyGithub-2.3.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for PyGithub (pyproject.toml): finished with status 'done' Created wheel for PyGithub: filename=PyGithub-2.3.0-py3-none-any.whl size=352328 sha256=dd0e0ae3dbffad2f74f07bf49a5b7dfe8c193ee5938aa6816af7afcfc9d38187 Stored in directory: /builddir/.cache/pip/wheels/89/07/62/33aa9d9eacbc2b6f3db671af2a0b90ba770f7de8ac40875663 Successfully built PyGithub + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8SeWQ1 + umask 022 + cd /builddir/build/BUILD/python-PyGithub-2.3.0-build + '[' /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-PyGithub-2.3.0-build + mkdir /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd PyGithub-2.3.0 ++ ls /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/pyproject-wheeldir/PyGithub-2.3.0-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple + specifier=PyGithub==2.3.0 + '[' -z PyGithub==2.3.0 ']' + TMPDIR=/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/pyproject-wheeldir PyGithub==2.3.0 Using pip 24.3.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/pyproject-wheeldir Processing ./pyproject-wheeldir/PyGithub-2.3.0-py3-none-any.whl Installing collected packages: PyGithub Successfully installed PyGithub-2.3.0 + '[' -d /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/bin ']' + rm -f /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/PyGithub-2.3.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/PyGithub-2.3.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT --record /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/PyGithub-2.3.0.dist-info/RECORD --output /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-record + rm -fv /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/PyGithub-2.3.0.dist-info/RECORD removed '/builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/PyGithub-2.3.0.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/PyGithub-2.3.0.dist-info/REQUESTED removed '/builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/PyGithub-2.3.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-modules --buildroot /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /builddir/build/BUILD/python-PyGithub-2.3.0-build/python-PyGithub-2.3.0-1.fc42.x86_64-pyproject-record --prefix /usr github + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j2 /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AccessToken.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AdvisoryBase.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AdvisoryCredit.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AdvisoryVulnerability.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AdvisoryVulnerabilityPackage.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AdvisoryCreditDetailed.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AppAuthentication.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Artifact.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/ApplicationOAuth.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Auth.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Authorization.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AuthorizationApplication.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Autolink.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Branch.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/BranchProtection.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CVSS.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CWE.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AuthenticatedUser.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CheckRun.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CheckRunAnnotation.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CheckRunOutput.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Clones.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CheckSuite.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CodeScanAlertInstance.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CodeScanAlert.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CodeScanAlertInstanceLocation.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CodeScanRule.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CodeScanTool.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CommitCombinedStatus.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Commit.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CommitStats.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CommitStatus.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CommitComment.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Consts.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Comparison.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/DependabotAlert.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/ContentFile.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/DependabotAlertAdvisory.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/DependabotAlertDependency.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/DependabotAlertVulnerability.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/DeploymentStatus.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Deployment.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Enterprise.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Download.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/EnterpriseConsumedLicenses.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/EnvironmentDeploymentBranchPolicy.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/EnvironmentProtectionRule.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/EnvironmentProtectionRuleReviewer.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Environment.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Event.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/File.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GistComment.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Gist.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GistFile.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitAuthor.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitBlob.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GistHistoryState.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitCommit.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitObject.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitRef.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitReleaseAsset.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitRelease.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitTree.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitTag.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitTreeElement.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GithubApp.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GithubException.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GithubIntegration.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GithubRetry.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitignoreTemplate.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GlobalAdvisory.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Hook.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GithubObject.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/HookDelivery.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/HookResponse.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/InputFileContent.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/HookDescription.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/InputGitAuthor.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/InputGitTreeElement.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Installation.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/InstallationAuthorization.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Invitation.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/IssueComment.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/IssueEvent.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/IssuePullRequest.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Issue.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Label.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/License.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Membership.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Migration.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Milestone.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/NamedEnterpriseUser.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/MainClass.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/NamedUser.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/NotificationSubject.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Notification.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/OrganizationDependabotAlert.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/OrganizationSecret.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/OrganizationVariable.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/PaginatedList.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Path.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Permissions.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Plan.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Project.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Organization.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/ProjectCard.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/ProjectColumn.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/PublicKey.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/PullRequestComment.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/PullRequestMergeStatus.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/PullRequestPart.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/PullRequestReview.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Rate.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/RateLimit.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/PullRequest.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Reaction.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Referrer.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/RepositoryAdvisory.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/RepositoryKey.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/RepositoryPreferences.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Requester.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/RequiredPullRequestReviews.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/RequiredStatusChecks.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Secret.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/SelfHostedActionsRunner.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/SourceImport.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Stargazer.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/StatsCodeFrequency.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/StatsCommitActivity.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/StatsContributor.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/StatsParticipation.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/StatsPunchCard.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Tag.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Team.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/TeamDiscussion.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/TimelineEvent.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/TimelineEventSource.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Topic.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/UserKey.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Variable.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/View.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Workflow.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Repository.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/WorkflowJob.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/WorkflowStep.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/WorkflowRun.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AdvisoryCredit.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AdvisoryBase.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AdvisoryVulnerability.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/ApplicationOAuth.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Artifact.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Auth.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Branch.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Authorization.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CheckRun.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CheckSuite.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/CommitComment.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/AuthenticatedUser.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/ContentFile.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Commit.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/EnvironmentDeploymentBranchPolicy.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/EnvironmentProtectionRuleReviewer.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Deployment.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Environment.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GistComment.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Gist.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitRef.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitReleaseAsset.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GitRelease.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GlobalAdvisory.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/GithubIntegration.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/InputFileContent.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/InputGitAuthor.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/InputGitTreeElement.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Label.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Hook.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/IssueComment.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Issue.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Migration.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Milestone.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/NamedUser.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/OrganizationSecret.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/MainClass.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/OrganizationVariable.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Project.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/PaginatedList.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/ProjectCard.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/ProjectColumn.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/PullRequestReview.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Organization.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/PullRequestComment.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/PullRequest.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/RepositoryAdvisory.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Team.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Variable.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Requester.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Workflow.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/WorkflowRun.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/github/__pycache__/Repository.cpython-313.opt-1.pyc: replacing with normalized version Scanned 8 directories and 448 files, processed 200 inodes, 200 modified (106 replaced + 94 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.eAzpu9 + umask 022 + cd /builddir/build/BUILD/python-PyGithub-2.3.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd PyGithub-2.3.0 + TOX_TESTENV_PASSENV='*' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-PyGithub-2.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py313 ============================= test session starts ============================== platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 cachedir: .tox/py313/.pytest_cache rootdir: /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0 configfile: pyproject.toml plugins: subtests-0.13.1, cov-5.0.0, github-actions-annotate-failures-0.2.0 collected 915 items tests/ApplicationOAuth.py .F..FFFF.FFF [ 1%] tests/Artifact.py FFFFFF [ 1%] tests/AuthenticatedUser.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 6%] tests/Authentication.py F..FFF.FFFF..FF..FFFF [ 9%] tests/Authorization.py FFF [ 9%] tests/Autolink.py F [ 9%] tests/BadAttributes.py FFFFFFFF [ 10%] tests/Branch.py FFFFFFFFFFFFFFFFFFFFFFFF [ 13%] tests/BranchProtection.py F [ 13%] tests/CheckRun.py FFFFFFFFFFFFF [ 14%] tests/CheckSuite.py FFFFFFFFFFF [ 15%] tests/Commit.py FFFFFFFF [ 16%] tests/CommitCombinedStatus.py F [ 16%] tests/CommitComment.py FFFFFF [ 17%] tests/CommitStatus.py F [ 17%] tests/ConditionalRequestUpdate.py FFF [ 17%] tests/Connection.py FFFFFFFF [ 18%] tests/ContentFile.py F [ 18%] tests/DependabotAlert.py FFFFFFF [ 19%] tests/Deployment.py F [ 19%] tests/DeploymentStatus.py FFF [ 20%] tests/Download.py FF [ 20%] tests/Enterprise.py FFFF. [ 20%] tests/EnterpriseAdmin.py .FF [ 21%] tests/Environment.py FFFFFFFFFFF [ 22%] tests/Equality.py FFF [ 22%] tests/Event.py F [ 22%] tests/Exceptions.py F.FFFFFFFFF.FF [ 24%] tests/ExposeAllAttributes.py F [ 24%] tests/Gist.py FFFFFFFFFF [ 25%] tests/GistComment.py FFF [ 25%] tests/GitBlob.py F [ 25%] tests/GitCommit.py F [ 26%] tests/GitMembership.py F [ 26%] tests/GitRef.py FFFF [ 26%] tests/GitRelease.py FFFFFFFFFFF [ 27%] tests/GitTag.py F [ 27%] tests/GitTree.py F [ 27%] tests/GithubApp.py FF [ 28%] tests/GithubIntegration.py FFFFF.FFFFFFFFFF.. [ 30%] tests/GithubObject.py ...... [ 30%] tests/GithubRetry.py ............. [ 32%] tests/Github_.py FFFFFFFFFFFFFFFFFFFFFFFFF. [ 35%] tests/GlobalAdvisory.py FF [ 35%] tests/GraphQl.py FFF. [ 35%] tests/Hook.py FFFFFF [ 36%] tests/Installation.py FF [ 36%] tests/Issue.py FFFFFFFFFFFFFFFFFFFFFFF [ 39%] tests/Issue131.py FF [ 39%] tests/Issue133.py F [ 39%] tests/Issue134.py FFF [ 39%] tests/Issue139.py F [ 39%] tests/Issue140.py FFF [ 40%] tests/Issue142.py F [ 40%] tests/Issue174.py F [ 40%] tests/Issue2030.py F [ 40%] tests/Issue214.py FFFFF [ 41%] tests/Issue216.py F [ 41%] tests/Issue278.py F [ 41%] tests/Issue33.py FF [ 41%] tests/Issue494.py F [ 41%] tests/Issue50.py FFFFFFFFFF [ 42%] tests/Issue54.py F [ 42%] tests/Issue572.py FF [ 43%] tests/Issue80.py FF [ 43%] tests/Issue823.py F [ 43%] tests/Issue87.py FFFF [ 43%] tests/Issue937.py F [ 43%] tests/Issue945.py F [ 44%] tests/IssueComment.py FFFFFF [ 44%] tests/IssueEvent.py FFFFFFFFFFFFFFFFFFFFFFFFFFF [ 47%] tests/Label.py FFF [ 47%] tests/License.py F [ 48%] tests/Logging_.py .FFFF [ 48%] tests/Markdown.py FF [ 48%] tests/Migration.py FFFFFFF [ 49%] tests/Milestone.py FFFFF [ 50%] tests/NamedUser.py FFFFFFFFFFFFFFFFFFFFF [ 52%] tests/NamedUser1430.py F [ 52%] tests/Notification.py F [ 52%] tests/Organization.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 58%] FFFFFFFFFFF [ 59%] tests/Organization1437.py F [ 59%] tests/Organization2072.py F [ 59%] tests/OrganizationHasInMembers.py F [ 59%] tests/PaginatedList.py FFFFFFFFFFFFFFFFFFFFFFFFFF [ 62%] tests/Permissions.py FF [ 62%] tests/Persistence.py FF [ 62%] tests/Pickle.py FFF [ 63%] tests/PoolSize.py FF [ 63%] tests/Project.py FFFFFFFFFFFFFFFF [ 65%] tests/Project1434.py FFF [ 65%] tests/ProjectColumn.py FFFFFFFFFFF [ 66%] tests/PublicKey.py FF [ 66%] tests/PullRequest.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 70%] tests/PullRequest1168.py FF [ 70%] tests/PullRequest1169.py F [ 70%] tests/PullRequest1375.py F [ 71%] tests/PullRequest1682.py FFF [ 71%] tests/PullRequest1684.py FFF [ 71%] tests/PullRequest2408.py F [ 71%] tests/PullRequestComment.py FFFFFF [ 72%] tests/PullRequestFile.py F [ 72%] tests/PullRequestReview.py FFFF [ 73%] tests/PullRequestReview1856.py F [ 73%] tests/RateLimiting.py FFF [ 73%] tests/RawData.py F.FF [ 73%] tests/Reaction.py FF [ 74%] tests/ReleaseAsset.py FFF [ 74%] tests/Repository.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 80%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 87%] FFFFFFFFFFFF [ 89%] tests/RepositoryAdvisory.py FFFFFFFFFF [ 90%] tests/RepositoryKey.py FF [ 90%] tests/Requester.py FFFF.....F..........FFF [ 93%] tests/RequiredPullRequestReviews.py FF [ 93%] tests/RequiredStatusChecks.py F [ 93%] tests/Retry.py FFFFF [ 93%] tests/Search.py FFFFFFFFFFFFFF [ 95%] tests/SelfHostedActionsRunner.py F [ 95%] tests/SourceImport.py FF [ 95%] tests/Tag.py F [ 95%] tests/Team.py FFFFFFFFFFF [ 97%] tests/Topic.py FF [ 97%] tests/Traffic.py FFFF [ 97%] tests/UserKey.py FF [ 98%] tests/Workflow.py FFFFFFFFFF [ 99%] tests/WorkflowJob.py F [ 99%] tests/WorkflowRun.py FFFFFFF [100%] =================================== FAILURES =================================== ________________ ApplicationOAuth.testEnterpriseGetAccessToken _________________ self = def testEnterpriseGetAccessToken(self): > access_token = self.ent_app.get_access_token("oauth_code_removed", state="state_removed") tests/ApplicationOAuth.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/ApplicationOAuth.py:137: in get_access_token *self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ ApplicationOAuth.testGetAccessToken ______________________ self = def testGetAccessToken(self): > access_token = self.app.get_access_token("oauth_code_removed", state="state_removed") tests/ApplicationOAuth.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/ApplicationOAuth.py:137: in get_access_token *self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ ApplicationOAuth.testGetAccessTokenBadCode __________________ self = def testGetAccessTokenBadCode(self): with self.assertRaises(github.BadCredentialsException) as exc: > self.app.get_access_token("oauth_code_removed", state="state_removed") tests/ApplicationOAuth.py:185: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/ApplicationOAuth.py:137: in get_access_token *self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ ApplicationOAuth.testGetAccessTokenUnknownError ________________ self = def testGetAccessTokenUnknownError(self): with self.assertRaises(github.GithubException) as exc: > self.app.get_access_token("oauth_code_removed", state="state_removed") tests/ApplicationOAuth.py:192: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/ApplicationOAuth.py:137: in get_access_token *self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ ApplicationOAuth.testGetAccessTokenWithExpiry _________________ self = def testGetAccessTokenWithExpiry(self): with mock.patch("github.AccessToken.datetime") as dt: dt.now = mock.Mock(return_value=datetime(2023, 6, 7, 12, 0, 0, 123, tzinfo=timezone.utc)) > access_token = self.app.get_access_token("oauth_code_removed", state="state_removed") tests/ApplicationOAuth.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/ApplicationOAuth.py:137: in get_access_token *self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ ApplicationOAuth.testRefreshAccessToken ____________________ self = def testRefreshAccessToken(self): > access_token = self.app.get_access_token("oauth_code_removed", state="state_removed") tests/ApplicationOAuth.py:149: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/ApplicationOAuth.py:137: in get_access_token *self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ ApplicationOAuth.testRefreshAccessTokenBadCode ________________ self = def testRefreshAccessTokenBadCode(self): with self.assertRaises(github.BadCredentialsException) as exc: > self.app.refresh_access_token("oauth_code_removed") tests/ApplicationOAuth.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/ApplicationOAuth.py:178: in refresh_access_token *self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ ApplicationOAuth.testRefreshAccessTokenUnknownError ______________ self = def testRefreshAccessTokenUnknownError(self): with self.assertRaises(github.GithubException) as exc: > self.app.refresh_access_token("oauth_code_removed") tests/ApplicationOAuth.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/ApplicationOAuth.py:178: in refresh_access_token *self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Artifact.testDelete ______________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("transmission-web-control/transmission-web-control") tests/Artifact.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Artifact.testGetArtifactsFromRepo _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("transmission-web-control/transmission-web-control") tests/Artifact.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Artifact.testGetArtifactsFromRepoWithName ___________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("transmission-web-control/transmission-web-control") tests/Artifact.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Artifact.testGetArtifactsFromWorkflow _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("transmission-web-control/transmission-web-control") tests/Artifact.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Artifact.testGetNonexistentArtifact ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("transmission-web-control/transmission-web-control") tests/Artifact.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Artifact.testGetSingleArtifactFromRepo ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("transmission-web-control/transmission-web-control") tests/Artifact.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ AuthenticatedUser.testAcceptInvitation ____________________ self = def testAcceptInvitation(self): > self.assertEqual(self.user.accept_invitation(4294886), None) tests/AuthenticatedUser.py:753: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:1009: in accept_invitation headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:661: in patch return self.request("PATCH", url, data=data, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ AuthenticatedUser.testAttributes _______________________ self = def testAttributes(self): self.assertEqual( > self.user.avatar_url, "https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png", ) tests/AuthenticatedUser.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:184: in avatar_url self._completeIfNotSet(self._avatar_url) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________ AuthenticatedUser.testCreateAuthorizationWithAllArguments ___________ self = def testCreateAuthorizationWithAllArguments(self): > authorization = self.user.create_authorization( ["repo"], "Note created by PyGithub", "http://vincent-jacques.net/PyGithub" ) tests/AuthenticatedUser.py:385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:444: in create_authorization headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________ AuthenticatedUser.testCreateAuthorizationWithClientIdAndSecret ________ self = def testCreateAuthorizationWithClientIdAndSecret(self): # I don't have a client_id and client_secret so the ReplayData for this test is forged > authorization = self.user.create_authorization( client_id="01234567890123456789", client_secret="0123456789012345678901234567890123456789", ) tests/AuthenticatedUser.py:392: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:444: in create_authorization headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________ AuthenticatedUser.testCreateAuthorizationWithoutArguments ___________ self = def testCreateAuthorizationWithoutArguments(self): > authorization = self.user.create_authorization() tests/AuthenticatedUser.py:381: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:444: in create_authorization headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ AuthenticatedUser.testCreateFork _______________________ self = def testCreateFork(self): > repo = self.user.create_fork(self.g.get_user("nvie").get_repo("gitflow")) tests/AuthenticatedUser.py:676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ AuthenticatedUser.testCreateGist _______________________ self = def testCreateGist(self): > gist = self.user.create_gist( True, {"foobar.txt": github.InputFileContent("File created by PyGithub")}, "Gist created by PyGithub", ) tests/AuthenticatedUser.py:399: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:520: in create_gist headers, data = self._requester.requestJsonAndCheck("POST", "/gists", input=post_parameters) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________ AuthenticatedUser.testCreateGistWithoutDescription ______________ self = def testCreateGistWithoutDescription(self): > gist = self.user.create_gist(True, {"foobar.txt": github.InputFileContent("File created by PyGithub")}) tests/AuthenticatedUser.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:520: in create_gist headers, data = self._requester.requestJsonAndCheck("POST", "/gists", input=post_parameters) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ AuthenticatedUser.testCreateKey ________________________ self = def testCreateKey(self): > key = self.user.create_key( "Key added through PyGithub", "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2Mm0RjTNAYFfSCtUpO54usdseroUSIYg5KX4JoseTpqyiB/hqewjYLAdUq/tNIQzrkoEJWSyZrQt0ma7/YCyMYuNGd3DU6q6ZAyBeY3E9RyCiKjO3aTL2VKQGFvBVVmGdxGVSCITRphAcsKc/PF35/fg9XP9S0anMXcEFtdfMHz41SSw+XtE+Vc+6cX9FuI5qUfLGbkv8L1v3g4uw9VXlzq4GfTA+1S7D6mcoGHopAIXFlVr+2RfDKdSURMcB22z41fljO1MW4+zUS/4FyUTpL991es5fcwKXYoiE+x06VJeJJ1Krwx+DZj45uweV6cHXt2JwJEI9fWB6WyBlDejWw== vincent@IDEE", ) tests/AuthenticatedUser.py:415: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:536: in create_key headers, data = self._requester.requestJsonAndCheck("POST", "/user/keys", input=post_parameters) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ AuthenticatedUser.testCreateMigration _____________________ self = def testCreateMigration(self): > self.assertTrue(isinstance(self.user.create_migration(["sample-repo"]), github.Migration.Migration)) tests/AuthenticatedUser.py:772: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:1045: in create_migration headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ AuthenticatedUser.testCreateProject ______________________ self = def testCreateProject(self): > project = self.user.create_project(name="TestPyGithub", body="This is the body") tests/AuthenticatedUser.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:552: in create_project headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ AuthenticatedUser.testCreateRepoFromTemplate _________________ self = def testCreateRepoFromTemplate(self): > template_repo = self.g.get_repo("actions/hello-world-docker-action") tests/AuthenticatedUser.py:680: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________ AuthenticatedUser.testCreateRepoFromTemplateWithAllArguments _________ self = def testCreateRepoFromTemplateWithAllArguments(self): > template_repo = self.g.get_repo("actions/hello-world-docker-action") tests/AuthenticatedUser.py:690: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ AuthenticatedUser.testCreateRepository ____________________ self = def testCreateRepository(self): > repo = self.user.create_repo(name="TestPyGithub") tests/AuthenticatedUser.py:352: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:616: in create_repo headers, data = self._requester.requestJsonAndCheck("POST", "/user/repos", input=post_parameters) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________ AuthenticatedUser.testCreateRepositoryWithAllArguments ____________ self = def testCreateRepositoryWithAllArguments(self): > repo = self.user.create_repo( name="TestPyGithub", description="Repo created by PyGithub", homepage="http://foobar.com", private=False, has_issues=False, has_projects=False, has_wiki=False, has_downloads=False, allow_squash_merge=False, allow_merge_commit=False, allow_rebase_merge=True, delete_branch_on_merge=False, ) tests/AuthenticatedUser.py:360: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:616: in create_repo headers, data = self._requester.requestJsonAndCheck("POST", "/user/repos", input=post_parameters) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________ AuthenticatedUser.testCreateRepositoryWithAutoInit ______________ self = def testCreateRepositoryWithAutoInit(self): > repo = self.user.create_repo(name="TestPyGithub", auto_init=True, gitignore_template="Python") tests/AuthenticatedUser.py:377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:616: in create_repo headers, data = self._requester.requestJsonAndCheck("POST", "/user/repos", input=post_parameters) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ AuthenticatedUser.testEditWithAllArguments __________________ self = def testEditWithAllArguments(self): > self.user.edit( "Name edited by PyGithub", "Email edited by PyGithub", "Blog edited by PyGithub", "Company edited by PyGithub", "Location edited by PyGithub", True, "Bio edited by PyGithub", ) tests/AuthenticatedUser.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:651: in edit headers, data = self._requester.requestJsonAndCheck("PATCH", "/user", input=post_parameters) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:661: in patch return self.request("PATCH", url, data=data, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ AuthenticatedUser.testEditWithoutArguments __________________ self = def testEditWithoutArguments(self): > self.user.edit() tests/AuthenticatedUser.py:104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:651: in edit headers, data = self._requester.requestJsonAndCheck("PATCH", "/user", input=post_parameters) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:661: in patch return self.request("PATCH", url, data=data, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ AuthenticatedUser.testEmails _________________________ self = def testEmails(self): > emails = self.user.get_emails() tests/AuthenticatedUser.py:125: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:672: in get_emails headers, data = self._requester.requestJsonAndCheck("GET", "/user/emails") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ AuthenticatedUser.testFollowing ________________________ self = def testFollowing(self): > nvie = self.g.get_user("nvie") tests/AuthenticatedUser.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ AuthenticatedUser.testGetAuthorizations ____________________ self = def testGetAuthorizations(self): > self.assertListKeyEqual(self.user.get_authorizations(), lambda a: a.id, [372294]) tests/AuthenticatedUser.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ AuthenticatedUser.testGetEvents ________________________ self = def testGetEvents(self): > self.assertListKeyBegin( self.user.get_events(), lambda e: e.type, ["PushEvent", "IssuesEvent", "IssueCommentEvent", "PushEvent"], ) tests/AuthenticatedUser.py:422: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ AuthenticatedUser.testGetGists ________________________ self = def testGetGists(self): > self.assertListKeyEqual( self.user.get_gists(), lambda g: g.id, [ "2793505", "2793179", "11cb445f8197e17d303d", "1942384", "dcb7de17e8a52b74541d", ], ) tests/AuthenticatedUser.py:436: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ AuthenticatedUser.testGetInvitations _____________________ self = def testGetInvitations(self): > invitation = self.user.get_invitations()[0] tests/AuthenticatedUser.py:756: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ AuthenticatedUser.testGetIssues ________________________ self = def testGetIssues(self): > self.assertListKeyEqual( self.user.get_issues(), lambda i: (i.id, i.repository.name), [ (4639931, "PyGithub"), (4452000, "PyGithub"), (4356743, "PyGithub"), (3716033, "PyGithub"), (3715946, "PyGithub"), (3643837, "PyGithub"), (3628022, "PyGithub"), (3624595, "PyGithub"), (3624570, "PyGithub"), (3624561, "PyGithub"), (3624556, "PyGithub"), (3619973, "PyGithub"), (3527266, "PyGithub"), (3527245, "PyGithub"), (3527231, "PyGithub"), ], ) tests/AuthenticatedUser.py:461: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ AuthenticatedUser.testGetIssuesWithAllArguments ________________ self = def testGetIssuesWithAllArguments(self): > requestedByUser = self.user.get_repo("PyGithub").get_label("Requested by user") tests/AuthenticatedUser.py:484: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ AuthenticatedUser.testGetKeys _________________________ self = def testGetKeys(self): > self.assertListKeyEqual( self.user.get_keys(), lambda k: k.title, ["vincent@home", "vincent@gandi", "vincent@aws", "vincent@macbook"], ) tests/AuthenticatedUser.py:624: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ AuthenticatedUser.testGetMigrations ______________________ self = def testGetMigrations(self): > self.assertEqual(self.user.get_migrations().totalCount, 46) tests/AuthenticatedUser.py:775: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:192: in totalCount headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ AuthenticatedUser.testGetNotification _____________________ self = def testGetNotification(self): > notification = self.user.get_notification("8406712") tests/AuthenticatedUser.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:791: in get_notification headers, data = self._requester.requestJsonAndCheck("GET", f"/notifications/threads/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ AuthenticatedUser.testGetNotifications ____________________ self = def testGetNotifications(self): > self.assertListKeyEqual(self.user.get_notifications(participating=True), lambda n: n.id, ["8406712"]) tests/AuthenticatedUser.py:726: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________ AuthenticatedUser.testGetNotificationsWithOtherArguments ___________ self = def testGetNotificationsWithOtherArguments(self): > self.assertListKeyEqual(self.user.get_notifications(all=True), lambda n: n.id, []) tests/AuthenticatedUser.py:729: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ AuthenticatedUser.testGetOrganizationEvents __________________ self = def testGetOrganizationEvents(self): self.assertListKeyBegin( > self.user.get_organization_events(self.g.get_organization("BeaverSoftware")), lambda e: e.type, ["CreateEvent", "CreateEvent", "PushEvent", "PushEvent"], ) tests/AuthenticatedUser.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ AuthenticatedUser.testGetOrgs _________________________ self = def testGetOrgs(self): > self.assertListKeyEqual(self.user.get_orgs(), lambda o: o.login, ["BeaverSoftware"]) tests/AuthenticatedUser.py:631: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ AuthenticatedUser.testGetRepos ________________________ self = def testGetRepos(self): > self.assertListKeyEqual( self.user.get_repos(), lambda r: r.name, [ "TestPyGithub", "django", "PyGithub", "developer.github.com", "acme-public-website", "C4Planner", "Hacking", "vincent-jacques.net", "Contests", "Candidates", "Tests", "DrawTurksHead", "DrawSyntax", "QuadProgMm", "Boost.HierarchicalEnum", "ViDE", ], ) tests/AuthenticatedUser.py:634: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ AuthenticatedUser.testGetReposWithArguments __________________ self = def testGetReposWithArguments(self): > self.assertListKeyEqual( self.user.get_repos("all", "owner", "public", "full_name", "desc"), lambda r: r.name, [ "ViDE", "QuadProgMm", "PyGithub", "DrawTurksHead", "DrawSyntax", "django", "developer.github.com", "C4Planner", "Boost.HierarchicalEnum", "acme-public-website", ], ) tests/AuthenticatedUser.py:658: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ AuthenticatedUser.testGetStarredGists _____________________ self = def testGetStarredGists(self): > self.assertListKeyEqual( self.user.get_starred_gists(), lambda g: g.id, ["1942384", "dcb7de17e8a52b74541d"], ) tests/AuthenticatedUser.py:454: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ AuthenticatedUser.testGetTeams ________________________ self = def testGetTeams(self): > self.assertListKeyEqual( self.user.get_teams(), lambda t: t.name, [ "Owners", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", ], ) tests/AuthenticatedUser.py:735: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ AuthenticatedUser.testGetUserIssues ______________________ self = def testGetUserIssues(self): > self.assertListKeyEqual( self.user.get_user_issues(), lambda i: i.id, [ 14447880, 13505356, 12541184, 10586808, 6741461, 6741457, 6727331, 5641572, ], ) tests/AuthenticatedUser.py:546: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ AuthenticatedUser.testGetUserIssuesWithAllArguments ______________ self = def testGetUserIssuesWithAllArguments(self): > requestedByUser = self.user.get_repo("PyGithub").get_label("Requested by user") tests/AuthenticatedUser.py:562: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ AuthenticatedUser.testInstallations ______________________ self = def testInstallations(self): installations = self.user.get_installations() > self.assertEqual(installations[0].id, 123456) tests/AuthenticatedUser.py:779: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ AuthenticatedUser.testMarkNotificationsAsRead _________________ self = def testMarkNotificationsAsRead(self): > self.user.mark_notifications_as_read(datetime(2018, 10, 18, 18, 20, 0o1, 0)) tests/AuthenticatedUser.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:962: in mark_notifications_as_read headers, data = self._requester.requestJsonAndCheck("PUT", "/notifications", input=put_parameters) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:649: in put return self.request("PUT", url, data=data, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ AuthenticatedUser.testStarring ________________________ self = def testStarring(self): > gitflow = self.g.get_user("nvie").get_repo("gitflow") tests/AuthenticatedUser.py:255: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ AuthenticatedUser.testSubscriptions ______________________ self = def testSubscriptions(self): > gitflow = self.g.get_user("nvie").get_repo("gitflow") tests/AuthenticatedUser.py:304: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ AuthenticatedUser.testWatching ________________________ self = def testWatching(self): > gitflow = self.g.get_user("nvie").get_repo("gitflow") tests/AuthenticatedUser.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Authentication.testAppAuthAuthentication ___________________ self = def testAppAuthAuthentication(self): # test data copied from testAppAuthentication to test parity g = github.Github(auth=self.app_auth.get_installation_auth(29782936)) > self.assertEqual(g.get_user("ammarmallik").name, "Ammar Akbar") tests/Authentication.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:798: in __requestEncode requestHeaders["Authorization"] = f"{self.__auth.token_type} {self.__auth.token}" github/Auth.py:328: in token self.__installation_authorization = self._get_installation_authorization() github/Auth.py:339: in _get_installation_authorization return self.__integration.get_access_token( github/GithubIntegration.py:228: in get_access_token headers, response = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ Authentication.testAppAuthTokenAuthentication _________________ self = def testAppAuthTokenAuthentication(self): # test data copied from testJWTAuthentication to test parity g = github.Github(auth=self.jwt) > self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques") tests/Authentication.py:114: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Authentication.testAppAuthentication _____________________ self = def testAppAuthentication(self): with self.assertWarns(DeprecationWarning) as warning: app_auth = github.AppAuthentication( app_id=self.app_auth.app_id, private_key=self.app_auth.private_key, installation_id=29782936, ) g = github.Github(app_auth=app_auth) > self.assertEqual(g.get_user("ammarmallik").name, "Ammar Akbar") tests/Authentication.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:798: in __requestEncode requestHeaders["Authorization"] = f"{self.__auth.token_type} {self.__auth.token}" github/Auth.py:328: in token self.__installation_authorization = self._get_installation_authorization() github/Auth.py:339: in _get_installation_authorization return self.__integration.get_access_token( github/GithubIntegration.py:228: in get_access_token headers, response = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ Authentication.testAppInstallationAuthAuthentication _____________ self = def testAppInstallationAuthAuthentication(self): # test data copied from testAppAuthentication to test parity installation_auth = github.Auth.AppInstallationAuth(self.app_auth, 29782936) g = github.Github(auth=installation_auth) # test token expiry # token expires 2024-11-25 01:00:02 > token = installation_auth.token tests/Authentication.py:178: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Auth.py:328: in token self.__installation_authorization = self._get_installation_authorization() github/Auth.py:339: in _get_installation_authorization return self.__integration.get_access_token( github/GithubIntegration.py:228: in get_access_token headers, response = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Authentication.testAppUserAuthentication ___________________ self = def testAppUserAuthentication(self): client_id = "removed client id" client_secret = "removed client secret" refresh_token = "removed refresh token" g = github.Github() app = g.get_oauth_application(client_id, client_secret) with mock.patch("github.AccessToken.datetime") as dt: dt.now = mock.Mock(return_value=datetime(2023, 6, 7, 12, 0, 0, 123, tzinfo=timezone.utc)) > token = app.refresh_access_token(refresh_token) tests/Authentication.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/ApplicationOAuth.py:178: in refresh_access_token *self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Authentication.testAuthorizationHeaderWithLogin ________________ self = def testAuthorizationHeaderWithLogin(self): # See special case in Framework.fixAuthorizationHeader g = github.Github(auth=github.Auth.Login("fake_login", "fake_password")) with self.assertRaises(github.GithubException): > g.get_user().name tests/Authentication.py:325: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:284: in name self._completeIfNotSet(self._name) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Authentication.testAuthorizationHeaderWithToken ________________ self = def testAuthorizationHeaderWithToken(self): # See special case in Framework.fixAuthorizationHeader g = github.Github(auth=github.Auth.Token("ZmFrZV9sb2dpbjpmYWtlX3Bhc3N3b3Jk")) with self.assertRaises(github.GithubException): > g.get_user().name tests/Authentication.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:284: in name self._completeIfNotSet(self._name) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Authentication.testBasicAuthentication ____________________ self = def testBasicAuthentication(self): with self.assertWarns(DeprecationWarning) as warning: g = github.Github(self.login.login, self.login.password) > self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques") tests/Authentication.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Authentication.testJWTAuthentication _____________________ self = def testJWTAuthentication(self): with self.assertWarns(DeprecationWarning) as warning: g = github.Github(jwt=self.jwt.token) > self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques") tests/Authentication.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Authentication.testLoginAuthentication ____________________ self = def testLoginAuthentication(self): # test data copied from testBasicAuthentication to test parity g = github.Github(auth=self.login) > self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques") tests/Authentication.py:104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Authentication.testNoAuthentication ______________________ self = def testNoAuthentication(self): g = github.Github() > self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques") tests/Authentication.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Authentication.testOAuthAuthentication ____________________ self = def testOAuthAuthentication(self): with self.assertWarns(DeprecationWarning) as warning: g = github.Github(self.oauth_token.token) > self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques") tests/Authentication.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Authentication.testTokenAuthentication ____________________ self = def testTokenAuthentication(self): # test data copied from testOAuthAuthentication to test parity g = github.Github(auth=self.oauth_token) > self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques") tests/Authentication.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Authentication.testUserAgent _________________________ self = def testUserAgent(self): g = github.Github(user_agent="PyGithubTester") > self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques") tests/Authentication.py:319: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Authorization.testAttributes _________________________ self = def setUp(self): super().setUp() > self.authorization = self.g.get_user().get_authorization(372259) tests/Authorization.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:659: in get_authorization headers, data = self._requester.requestJsonAndCheck("GET", f"/authorizations/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Authorization.testDelete ___________________________ self = def setUp(self): super().setUp() > self.authorization = self.g.get_user().get_authorization(372259) tests/Authorization.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:659: in get_authorization headers, data = self._requester.requestJsonAndCheck("GET", f"/authorizations/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Authorization.testEdit ____________________________ self = def setUp(self): super().setUp() > self.authorization = self.g.get_user().get_authorization(372259) tests/Authorization.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:659: in get_authorization headers, data = self._requester.requestJsonAndCheck("GET", f"/authorizations/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Autolink.testAttributes ____________________________ self = def setUp(self): super().setUp() # When recording test, be sure to create a autolink for yourself on # Github and update it here. > links = [x for x in self.g.get_user("theCapypara").get_repo("PyGithub").get_autolinks() if x.id == 209614] tests/Autolink.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ BadAttributes.testBadAttributeInClassAttribute ________________ self = def testBadAttributeInClassAttribute(self): > repo = self.g.get_repo("klmitch/turnstile") tests/BadAttributes.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ BadAttributes.testBadAttributeTransformation _________________ self = def testBadAttributeTransformation(self): > user = self.g.get_user("klmitch") tests/BadAttributes.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ BadAttributes.testBadSimpleAttribute _____________________ self = def testBadSimpleAttribute(self): > user = self.g.get_user("klmitch") tests/BadAttributes.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ BadAttributes.testBadSimpleAttributeInList __________________ self = def testBadSimpleAttributeInList(self): > hook = self.g.get_hook("activecollab") tests/BadAttributes.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:869: in get_hook headers, attributes = self.__requester.requestJsonAndCheck("GET", f"/hooks/{name}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ BadAttributes.testBadTransformedAttribute ___________________ self = def testBadTransformedAttribute(self): > user = self.g.get_user("klmitch") tests/BadAttributes.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ BadAttributes.testBadTransformedAttributeInDict ________________ self = def testBadTransformedAttributeInDict(self): > gist = self.g.get_gist("6437766") tests/BadAttributes.py:110: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ BadAttributes.testBadTransformedAttributeInList ________________ self = def testBadTransformedAttributeInList(self): > commit = self.g.get_repo("klmitch/turnstile", lazy=True).get_commit("38d9082a898d0822b5ccdfd78f3a536e2efa6c26") tests/BadAttributes.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2109: in get_commit headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/commits/{sha}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ BadAttributes.testIssue195 __________________________ self = def testIssue195(self): > hooks = self.g.get_hooks() tests/BadAttributes.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:877: in get_hooks headers, data = self.__requester.requestJsonAndCheck("GET", "/hooks") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Branch.testAddRequiredSignatures _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Branch.testAddTeamPushRestrictions ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Branch.testAddUserPushRestrictions ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Branch.testAdminEnforcement __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Branch.testAllowDeletions ___________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Branch.testAttributes _____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Branch.testEditProtection ___________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________ Branch.testEditProtectionDismissalUsersWithUserOwnedBranch __________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________ Branch.testEditProtectionPushRestrictionsAndDismissalUser ___________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________ Branch.testEditProtectionPushRestrictionsWithUserOwnedBranch _________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Branch.testEditRequiredPullRequestReviews ___________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __ Branch.testEditRequiredPullRequestReviewsWithTooLargeApprovingReviewCount ___ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___ Branch.testEditRequiredPullRequestReviewsWithUserBranchAndDismissalUsers ___ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Branch.testEditRequiredStatusChecks ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Branch.testGetRequiredSignatures _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Branch.testRemoveProtection __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Branch.testRemovePushRestrictions _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Branch.testRemoveRequiredPullRequestReviews __________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Branch.testRemoveRequiredSignatures ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Branch.testRemoveRequiredStatusChecks _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Branch.testRemoveTeamPushRestrictions _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Branch.testRemoveUserPushRestrictions _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Branch.testReplaceTeamPushRestrictions ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Branch.testReplaceUserPushRestrictions ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Branch.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ BranchProtection.testAttributes ________________________ self = def setUp(self): super().setUp() > self.branch_protection = self.g.get_repo("curvewise-forks/PyGithub").get_branch("master").get_protection() tests/BranchProtection.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ CheckRun.testAttributes ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ CheckRun.testCheckRunAnnotationAttributes ___________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ CheckRun.testCheckRunOutputAttributes _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ CheckRun.testCreateCheckRunCompleted _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ CheckRun.testCreateCheckRunInProgress _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ CheckRun.testGetCheckRunsForRef ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ CheckRun.testGetCheckRunsForRefFilterByCheckName _______________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ CheckRun.testGetCheckRunsForRefFilterByFilter _________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ CheckRun.testGetCheckRunsForRefFilterByStatus _________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ CheckRun.testListCheckRunAnnotations _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ CheckRun.testUpdateCheckRunAll ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ CheckRun.testUpdateCheckRunFailure ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ CheckRun.testUpdateCheckRunSuccess ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/CheckRun.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ CheckSuite.testAttributes ___________________________ self = def setUp(self): super().setUp() self.check_suite_id = 1004503837 self.test_check_suite_id = 1366665055 > self.test_repo = self.g.get_repo("dhruvmanila/pygithub-testing") tests/CheckSuite.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ CheckSuite.testCheckSuiteRerequest ______________________ self = def setUp(self): super().setUp() self.check_suite_id = 1004503837 self.test_check_suite_id = 1366665055 > self.test_repo = self.g.get_repo("dhruvmanila/pygithub-testing") tests/CheckSuite.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ CheckSuite.testCreateCheckSuite ________________________ self = def setUp(self): super().setUp() self.check_suite_id = 1004503837 self.test_check_suite_id = 1366665055 > self.test_repo = self.g.get_repo("dhruvmanila/pygithub-testing") tests/CheckSuite.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ CheckSuite.testGetCheckRuns __________________________ self = def setUp(self): super().setUp() self.check_suite_id = 1004503837 self.test_check_suite_id = 1366665055 > self.test_repo = self.g.get_repo("dhruvmanila/pygithub-testing") tests/CheckSuite.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ CheckSuite.testGetCheckRunsFilterByCheckName _________________ self = def setUp(self): super().setUp() self.check_suite_id = 1004503837 self.test_check_suite_id = 1366665055 > self.test_repo = self.g.get_repo("dhruvmanila/pygithub-testing") tests/CheckSuite.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ CheckSuite.testGetCheckRunsFilterByFilter ___________________ self = def setUp(self): super().setUp() self.check_suite_id = 1004503837 self.test_check_suite_id = 1366665055 > self.test_repo = self.g.get_repo("dhruvmanila/pygithub-testing") tests/CheckSuite.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ CheckSuite.testGetCheckRunsFilterByStatus ___________________ self = def setUp(self): super().setUp() self.check_suite_id = 1004503837 self.test_check_suite_id = 1366665055 > self.test_repo = self.g.get_repo("dhruvmanila/pygithub-testing") tests/CheckSuite.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ CheckSuite.testGetCheckSuitesForRef ______________________ self = def setUp(self): super().setUp() self.check_suite_id = 1004503837 self.test_check_suite_id = 1366665055 > self.test_repo = self.g.get_repo("dhruvmanila/pygithub-testing") tests/CheckSuite.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ CheckSuite.testGetCheckSuitesForRefFilterByAppId _______________ self = def setUp(self): super().setUp() self.check_suite_id = 1004503837 self.test_check_suite_id = 1366665055 > self.test_repo = self.g.get_repo("dhruvmanila/pygithub-testing") tests/CheckSuite.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ CheckSuite.testGetCheckSuitesForRefFilterByCheckName _____________ self = def setUp(self): super().setUp() self.check_suite_id = 1004503837 self.test_check_suite_id = 1366665055 > self.test_repo = self.g.get_repo("dhruvmanila/pygithub-testing") tests/CheckSuite.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ CheckSuite.testUpdateCheckSuitesPreferences __________________ self = def setUp(self): super().setUp() self.check_suite_id = 1004503837 self.test_check_suite_id = 1366665055 > self.test_repo = self.g.get_repo("dhruvmanila/pygithub-testing") tests/CheckSuite.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Commit.testAttributes _____________________________ self = def setUp(self): super().setUp() > self.commit = self.g.get_user().get_repo("PyGithub").get_commit("1292bf0e22c796e91cc3d6e24b544aece8c21f2a") tests/Commit.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Commit.testCreateComment ___________________________ self = def setUp(self): super().setUp() > self.commit = self.g.get_user().get_repo("PyGithub").get_commit("1292bf0e22c796e91cc3d6e24b544aece8c21f2a") tests/Commit.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Commit.testCreateCommentOnFileLine ______________________ self = def setUp(self): super().setUp() > self.commit = self.g.get_user().get_repo("PyGithub").get_commit("1292bf0e22c796e91cc3d6e24b544aece8c21f2a") tests/Commit.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Commit.testCreateCommentOnFilePosition ____________________ self = def setUp(self): super().setUp() > self.commit = self.g.get_user().get_repo("PyGithub").get_commit("1292bf0e22c796e91cc3d6e24b544aece8c21f2a") tests/Commit.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Commit.testCreateStatusWithAllParameters ___________________ self = def setUp(self): super().setUp() > self.commit = self.g.get_user().get_repo("PyGithub").get_commit("1292bf0e22c796e91cc3d6e24b544aece8c21f2a") tests/Commit.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Commit.testCreateStatusWithoutOptionalParameters _______________ self = def setUp(self): super().setUp() > self.commit = self.g.get_user().get_repo("PyGithub").get_commit("1292bf0e22c796e91cc3d6e24b544aece8c21f2a") tests/Commit.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Commit.testGetComments ____________________________ self = def setUp(self): super().setUp() > self.commit = self.g.get_user().get_repo("PyGithub").get_commit("1292bf0e22c796e91cc3d6e24b544aece8c21f2a") tests/Commit.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Commit.testGetPulls ______________________________ self = def setUp(self): super().setUp() > self.commit = self.g.get_user().get_repo("PyGithub").get_commit("1292bf0e22c796e91cc3d6e24b544aece8c21f2a") tests/Commit.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ CommitCombinedStatus.testAttributes ______________________ self = def setUp(self): super().setUp() self.combined_status = ( self.g.get_repo("edx/edx-platform", lazy=True) > .get_commit("74e70119a23fa3ffb3db19d4590eccfebd72b659") .get_combined_status() ) tests/CommitCombinedStatus.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2109: in get_commit headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/commits/{sha}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ CommitComment.testAttributes _________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_comment(1361949) tests/CommitComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ CommitComment.testCreateReaction _______________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_comment(1361949) tests/CommitComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ CommitComment.testDelete ___________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_comment(1361949) tests/CommitComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ CommitComment.testDeleteReaction _______________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_comment(1361949) tests/CommitComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ CommitComment.testEdit ____________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_comment(1361949) tests/CommitComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ CommitComment.testGetReactions ________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_comment(1361949) tests/CommitComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ CommitStatus.testAttributes __________________________ self = def setUp(self): super().setUp() self.statuses = list( > self.g.get_user().get_repo("PyGithub").get_commit("1292bf0e22c796e91cc3d6e24b544aece8c21f2a").get_statuses() ) tests/CommitStatus.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ ConditionalRequestUpdate.testDidNotUpdate ___________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("akfish/PyGithub", lazy=False) tests/ConditionalRequestUpdate.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ ConditionalRequestUpdate.testDidUpdate ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("akfish/PyGithub", lazy=False) tests/ConditionalRequestUpdate.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ ConditionalRequestUpdate.testUpdateObjectWithoutEtag _____________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("akfish/PyGithub", lazy=False) tests/ConditionalRequestUpdate.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _ testRecordAndReplay[ReplayingHttpConnection-http-{"body":"BODY TEXT"}-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\n{"body":"BODY TEXT"}\n\n] _ replaying_connection_class = protocol = 'http', response_body = '{"body":"BODY TEXT"}' expected_recording = '\nGET\napi.github.com\nNone\n/user\n{\'Authorization\': \'Basic login_and_password_removed\', \'User-Agent\': \'PyGithub/Python\'}\nNone\n200\n[]\n{"body":"BODY TEXT"}\n\n' @pytest.mark.parametrize( ("replaying_connection_class", "protocol", "response_body", "expected_recording"), list(tuple(itertools.chain(*p)) for p in PARAMETERS), ) def testRecordAndReplay(replaying_connection_class, protocol, response_body, expected_recording): file = StringIO() host = "api.github.com" verb = "GET" url = "/user" headers = {"Authorization": "Basic p4ssw0rd", "User-Agent": "PyGithub/Python"} response = Mock() response.status = 200 response.getheaders.return_value = {} response.read.return_value = response_body connection = Mock() connection.getresponse.return_value = response # write mock response to buffer recording_connection = RecordingMockConnection(file, protocol, host, None, lambda *args, **kwds: connection) recording_connection.request(verb, url, None, headers) recording_connection.getresponse() recording_connection.close() # validate contents of buffer file_value_lines = file.getvalue().split("\n") expected_recording_lines = (protocol + expected_recording).split("\n") assert file_value_lines[:5] == expected_recording_lines[:5] assert eval(file_value_lines[5]) == eval(expected_recording_lines[5]) # dict literal, so keys not in guaranteed order assert file_value_lines[6:] == expected_recording_lines[6:] # required for replay to work as expected httpretty.enable(allow_net_connect=False) # rewind buffer and attempt to replay response from it file.seek(0) replaying_connection = replaying_connection_class(file, host=host, port=None) replaying_connection.request(verb, url, None, headers) > replaying_connection.getresponse() tests/Connection.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _ testRecordAndReplay[ReplayingHttpConnection-http-{"body":"BODY\xa0TEXT"}-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\n{"body":"BODY\xa0TEXT"}\n\n] _ replaying_connection_class = protocol = 'http', response_body = '{"body":"BODY\xa0TEXT"}' expected_recording = '\nGET\napi.github.com\nNone\n/user\n{\'Authorization\': \'Basic login_and_password_removed\', \'User-Agent\': \'PyGithub/Python\'}\nNone\n200\n[]\n{"body":"BODY\xa0TEXT"}\n\n' @pytest.mark.parametrize( ("replaying_connection_class", "protocol", "response_body", "expected_recording"), list(tuple(itertools.chain(*p)) for p in PARAMETERS), ) def testRecordAndReplay(replaying_connection_class, protocol, response_body, expected_recording): file = StringIO() host = "api.github.com" verb = "GET" url = "/user" headers = {"Authorization": "Basic p4ssw0rd", "User-Agent": "PyGithub/Python"} response = Mock() response.status = 200 response.getheaders.return_value = {} response.read.return_value = response_body connection = Mock() connection.getresponse.return_value = response # write mock response to buffer recording_connection = RecordingMockConnection(file, protocol, host, None, lambda *args, **kwds: connection) recording_connection.request(verb, url, None, headers) recording_connection.getresponse() recording_connection.close() # validate contents of buffer file_value_lines = file.getvalue().split("\n") expected_recording_lines = (protocol + expected_recording).split("\n") assert file_value_lines[:5] == expected_recording_lines[:5] assert eval(file_value_lines[5]) == eval(expected_recording_lines[5]) # dict literal, so keys not in guaranteed order assert file_value_lines[6:] == expected_recording_lines[6:] # required for replay to work as expected httpretty.enable(allow_net_connect=False) # rewind buffer and attempt to replay response from it file.seek(0) replaying_connection = replaying_connection_class(file, host=host, port=None) replaying_connection.request(verb, url, None, headers) > replaying_connection.getresponse() tests/Connection.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _ testRecordAndReplay[ReplayingHttpConnection-http-BODY TEXT-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY TEXT\n\n] _ replaying_connection_class = protocol = 'http', response_body = 'BODY TEXT' expected_recording = "\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY TEXT\n\n" @pytest.mark.parametrize( ("replaying_connection_class", "protocol", "response_body", "expected_recording"), list(tuple(itertools.chain(*p)) for p in PARAMETERS), ) def testRecordAndReplay(replaying_connection_class, protocol, response_body, expected_recording): file = StringIO() host = "api.github.com" verb = "GET" url = "/user" headers = {"Authorization": "Basic p4ssw0rd", "User-Agent": "PyGithub/Python"} response = Mock() response.status = 200 response.getheaders.return_value = {} response.read.return_value = response_body connection = Mock() connection.getresponse.return_value = response # write mock response to buffer recording_connection = RecordingMockConnection(file, protocol, host, None, lambda *args, **kwds: connection) recording_connection.request(verb, url, None, headers) recording_connection.getresponse() recording_connection.close() # validate contents of buffer file_value_lines = file.getvalue().split("\n") expected_recording_lines = (protocol + expected_recording).split("\n") assert file_value_lines[:5] == expected_recording_lines[:5] assert eval(file_value_lines[5]) == eval(expected_recording_lines[5]) # dict literal, so keys not in guaranteed order assert file_value_lines[6:] == expected_recording_lines[6:] # required for replay to work as expected httpretty.enable(allow_net_connect=False) # rewind buffer and attempt to replay response from it file.seek(0) replaying_connection = replaying_connection_class(file, host=host, port=None) replaying_connection.request(verb, url, None, headers) > replaying_connection.getresponse() tests/Connection.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _ testRecordAndReplay[ReplayingHttpConnection-http-BODY\xa0TEXT-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY\xa0TEXT\n\n] _ replaying_connection_class = protocol = 'http', response_body = 'BODY\xa0TEXT' expected_recording = "\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY\xa0TEXT\n\n" @pytest.mark.parametrize( ("replaying_connection_class", "protocol", "response_body", "expected_recording"), list(tuple(itertools.chain(*p)) for p in PARAMETERS), ) def testRecordAndReplay(replaying_connection_class, protocol, response_body, expected_recording): file = StringIO() host = "api.github.com" verb = "GET" url = "/user" headers = {"Authorization": "Basic p4ssw0rd", "User-Agent": "PyGithub/Python"} response = Mock() response.status = 200 response.getheaders.return_value = {} response.read.return_value = response_body connection = Mock() connection.getresponse.return_value = response # write mock response to buffer recording_connection = RecordingMockConnection(file, protocol, host, None, lambda *args, **kwds: connection) recording_connection.request(verb, url, None, headers) recording_connection.getresponse() recording_connection.close() # validate contents of buffer file_value_lines = file.getvalue().split("\n") expected_recording_lines = (protocol + expected_recording).split("\n") assert file_value_lines[:5] == expected_recording_lines[:5] assert eval(file_value_lines[5]) == eval(expected_recording_lines[5]) # dict literal, so keys not in guaranteed order assert file_value_lines[6:] == expected_recording_lines[6:] # required for replay to work as expected httpretty.enable(allow_net_connect=False) # rewind buffer and attempt to replay response from it file.seek(0) replaying_connection = replaying_connection_class(file, host=host, port=None) replaying_connection.request(verb, url, None, headers) > replaying_connection.getresponse() tests/Connection.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _ testRecordAndReplay[ReplayingHttpsConnection-https-{"body":"BODY TEXT"}-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\n{"body":"BODY TEXT"}\n\n] _ replaying_connection_class = protocol = 'https', response_body = '{"body":"BODY TEXT"}' expected_recording = '\nGET\napi.github.com\nNone\n/user\n{\'Authorization\': \'Basic login_and_password_removed\', \'User-Agent\': \'PyGithub/Python\'}\nNone\n200\n[]\n{"body":"BODY TEXT"}\n\n' @pytest.mark.parametrize( ("replaying_connection_class", "protocol", "response_body", "expected_recording"), list(tuple(itertools.chain(*p)) for p in PARAMETERS), ) def testRecordAndReplay(replaying_connection_class, protocol, response_body, expected_recording): file = StringIO() host = "api.github.com" verb = "GET" url = "/user" headers = {"Authorization": "Basic p4ssw0rd", "User-Agent": "PyGithub/Python"} response = Mock() response.status = 200 response.getheaders.return_value = {} response.read.return_value = response_body connection = Mock() connection.getresponse.return_value = response # write mock response to buffer recording_connection = RecordingMockConnection(file, protocol, host, None, lambda *args, **kwds: connection) recording_connection.request(verb, url, None, headers) recording_connection.getresponse() recording_connection.close() # validate contents of buffer file_value_lines = file.getvalue().split("\n") expected_recording_lines = (protocol + expected_recording).split("\n") assert file_value_lines[:5] == expected_recording_lines[:5] assert eval(file_value_lines[5]) == eval(expected_recording_lines[5]) # dict literal, so keys not in guaranteed order assert file_value_lines[6:] == expected_recording_lines[6:] # required for replay to work as expected httpretty.enable(allow_net_connect=False) # rewind buffer and attempt to replay response from it file.seek(0) replaying_connection = replaying_connection_class(file, host=host, port=None) replaying_connection.request(verb, url, None, headers) > replaying_connection.getresponse() tests/Connection.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _ testRecordAndReplay[ReplayingHttpsConnection-https-{"body":"BODY\xa0TEXT"}-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\n{"body":"BODY\xa0TEXT"}\n\n] _ replaying_connection_class = protocol = 'https', response_body = '{"body":"BODY\xa0TEXT"}' expected_recording = '\nGET\napi.github.com\nNone\n/user\n{\'Authorization\': \'Basic login_and_password_removed\', \'User-Agent\': \'PyGithub/Python\'}\nNone\n200\n[]\n{"body":"BODY\xa0TEXT"}\n\n' @pytest.mark.parametrize( ("replaying_connection_class", "protocol", "response_body", "expected_recording"), list(tuple(itertools.chain(*p)) for p in PARAMETERS), ) def testRecordAndReplay(replaying_connection_class, protocol, response_body, expected_recording): file = StringIO() host = "api.github.com" verb = "GET" url = "/user" headers = {"Authorization": "Basic p4ssw0rd", "User-Agent": "PyGithub/Python"} response = Mock() response.status = 200 response.getheaders.return_value = {} response.read.return_value = response_body connection = Mock() connection.getresponse.return_value = response # write mock response to buffer recording_connection = RecordingMockConnection(file, protocol, host, None, lambda *args, **kwds: connection) recording_connection.request(verb, url, None, headers) recording_connection.getresponse() recording_connection.close() # validate contents of buffer file_value_lines = file.getvalue().split("\n") expected_recording_lines = (protocol + expected_recording).split("\n") assert file_value_lines[:5] == expected_recording_lines[:5] assert eval(file_value_lines[5]) == eval(expected_recording_lines[5]) # dict literal, so keys not in guaranteed order assert file_value_lines[6:] == expected_recording_lines[6:] # required for replay to work as expected httpretty.enable(allow_net_connect=False) # rewind buffer and attempt to replay response from it file.seek(0) replaying_connection = replaying_connection_class(file, host=host, port=None) replaying_connection.request(verb, url, None, headers) > replaying_connection.getresponse() tests/Connection.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _ testRecordAndReplay[ReplayingHttpsConnection-https-BODY TEXT-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY TEXT\n\n] _ replaying_connection_class = protocol = 'https', response_body = 'BODY TEXT' expected_recording = "\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY TEXT\n\n" @pytest.mark.parametrize( ("replaying_connection_class", "protocol", "response_body", "expected_recording"), list(tuple(itertools.chain(*p)) for p in PARAMETERS), ) def testRecordAndReplay(replaying_connection_class, protocol, response_body, expected_recording): file = StringIO() host = "api.github.com" verb = "GET" url = "/user" headers = {"Authorization": "Basic p4ssw0rd", "User-Agent": "PyGithub/Python"} response = Mock() response.status = 200 response.getheaders.return_value = {} response.read.return_value = response_body connection = Mock() connection.getresponse.return_value = response # write mock response to buffer recording_connection = RecordingMockConnection(file, protocol, host, None, lambda *args, **kwds: connection) recording_connection.request(verb, url, None, headers) recording_connection.getresponse() recording_connection.close() # validate contents of buffer file_value_lines = file.getvalue().split("\n") expected_recording_lines = (protocol + expected_recording).split("\n") assert file_value_lines[:5] == expected_recording_lines[:5] assert eval(file_value_lines[5]) == eval(expected_recording_lines[5]) # dict literal, so keys not in guaranteed order assert file_value_lines[6:] == expected_recording_lines[6:] # required for replay to work as expected httpretty.enable(allow_net_connect=False) # rewind buffer and attempt to replay response from it file.seek(0) replaying_connection = replaying_connection_class(file, host=host, port=None) replaying_connection.request(verb, url, None, headers) > replaying_connection.getresponse() tests/Connection.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _ testRecordAndReplay[ReplayingHttpsConnection-https-BODY\xa0TEXT-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY\xa0TEXT\n\n] _ replaying_connection_class = protocol = 'https', response_body = 'BODY\xa0TEXT' expected_recording = "\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY\xa0TEXT\n\n" @pytest.mark.parametrize( ("replaying_connection_class", "protocol", "response_body", "expected_recording"), list(tuple(itertools.chain(*p)) for p in PARAMETERS), ) def testRecordAndReplay(replaying_connection_class, protocol, response_body, expected_recording): file = StringIO() host = "api.github.com" verb = "GET" url = "/user" headers = {"Authorization": "Basic p4ssw0rd", "User-Agent": "PyGithub/Python"} response = Mock() response.status = 200 response.getheaders.return_value = {} response.read.return_value = response_body connection = Mock() connection.getresponse.return_value = response # write mock response to buffer recording_connection = RecordingMockConnection(file, protocol, host, None, lambda *args, **kwds: connection) recording_connection.request(verb, url, None, headers) recording_connection.getresponse() recording_connection.close() # validate contents of buffer file_value_lines = file.getvalue().split("\n") expected_recording_lines = (protocol + expected_recording).split("\n") assert file_value_lines[:5] == expected_recording_lines[:5] assert eval(file_value_lines[5]) == eval(expected_recording_lines[5]) # dict literal, so keys not in guaranteed order assert file_value_lines[6:] == expected_recording_lines[6:] # required for replay to work as expected httpretty.enable(allow_net_connect=False) # rewind buffer and attempt to replay response from it file.seek(0) replaying_connection = replaying_connection_class(file, host=host, port=None) replaying_connection.request(verb, url, None, headers) > replaying_connection.getresponse() tests/Connection.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ ContentFile.testAttributes __________________________ self = def setUp(self): super().setUp() > self.file = self.g.get_user().get_repo("PyGithub").get_readme() tests/ContentFile.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ DependabotAlert.testAttributes ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("coopernetes/PyGithub") tests/DependabotAlert.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ DependabotAlert.testGetAlertsWithAllArguments _________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("coopernetes/PyGithub") tests/DependabotAlert.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ DependabotAlert.testMultipleAlerts ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("coopernetes/PyGithub") tests/DependabotAlert.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ DependabotAlert.testRepr ___________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("coopernetes/PyGithub") tests/DependabotAlert.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ DependabotAlert.testUpdateAlertDismissed ___________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("coopernetes/PyGithub") tests/DependabotAlert.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________ DependabotAlert.testUpdateAlertDismissedWithoutReason _____________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("coopernetes/PyGithub") tests/DependabotAlert.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ DependabotAlert.testUpdateAlertOpen ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("coopernetes/PyGithub") tests/DependabotAlert.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Deployment.testAttributes ___________________________ self = def setUp(self): super().setUp() > self.deployment = self.g.get_user().get_repo("PyGithub").get_deployment(263877258) tests/Deployment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ DeploymentStatus.testAttributes ________________________ self = def setUp(self): super().setUp() > self.deployment = self.g.get_user().get_repo("PyGithub").get_deployment(263877258) tests/DeploymentStatus.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ DeploymentStatus.testCreate __________________________ self = def setUp(self): super().setUp() > self.deployment = self.g.get_user().get_repo("PyGithub").get_deployment(263877258) tests/DeploymentStatus.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ DeploymentStatus.testGetStatuses _______________________ self = def setUp(self): super().setUp() > self.deployment = self.g.get_user().get_repo("PyGithub").get_deployment(263877258) tests/DeploymentStatus.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Download.testAttributes ____________________________ self = def setUp(self): super().setUp() > self.download = self.g.get_user().get_repo("PyGithub").get_download(242550) tests/Download.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Download.testDelete ______________________________ self = def setUp(self): super().setUp() > self.download = self.g.get_user().get_repo("PyGithub").get_download(242550) tests/Download.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Enterprise.testHttp ______________________________ self = def testHttp(self): g = github.Github(auth=self.login, base_url="http://my.enterprise.com") > self.assertListKeyEqual( g.get_user().get_repos(), lambda r: r.name, [ "TestPyGithub", "django", "PyGithub", "developer.github.com", "acme-public-website", "C4Planner", "Hacking", "vincent-jacques.net", "Contests", "Candidates", "Tests", "DrawTurksHead", "DrawSyntax", "QuadProgMm", "Boost.HierarchicalEnum", "ViDE", ], ) tests/Enterprise.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Enterprise.testHttps _____________________________ self = def testHttps(self): g = github.Github(auth=self.login, base_url="https://my.enterprise.com") > self.assertListKeyEqual( g.get_user().get_repos(), lambda r: r.name, [ "TestPyGithub", "django", "PyGithub", "developer.github.com", "acme-public-website", "C4Planner", "Hacking", "vincent-jacques.net", "Contests", "Candidates", "Tests", "DrawTurksHead", "DrawSyntax", "QuadProgMm", "Boost.HierarchicalEnum", "ViDE", ], ) tests/Enterprise.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Enterprise.testLongUrl ____________________________ self = def testLongUrl(self): g = github.Github(auth=self.login, base_url="http://my.enterprise.com/path/to/github") repos = g.get_user().get_repos() > self.assertListKeyEqual( repos, lambda r: r.name, [ "TestPyGithub", "django", "PyGithub", "developer.github.com", "acme-public-website", "C4Planner", "Hacking", "vincent-jacques.net", "Contests", "Candidates", "Tests", "DrawTurksHead", "DrawSyntax", "QuadProgMm", "Boost.HierarchicalEnum", "ViDE", ], ) tests/Enterprise.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Enterprise.testSpecificPort __________________________ self = def testSpecificPort(self): g = github.Github(auth=self.login, base_url="http://my.enterprise.com:8080") > self.assertListKeyEqual( g.get_user().get_repos(), lambda r: r.name, [ "TestPyGithub", "django", "PyGithub", "developer.github.com", "acme-public-website", "C4Planner", "Hacking", "vincent-jacques.net", "Contests", "Candidates", "Tests", "DrawTurksHead", "DrawSyntax", "QuadProgMm", "Boost.HierarchicalEnum", "ViDE", ], ) tests/Enterprise.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:8080"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ EnterpriseAdmin.testGetConsumedLicenses ____________________ self = def testGetConsumedLicenses(self): > consumed_licenses = self.enterprise.get_consumed_licenses() tests/EnterpriseAdmin.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Enterprise.py:84: in get_consumed_licenses headers, data = self._requester.requestJsonAndCheck("GET", self.url + "/consumed-licenses") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ EnterpriseAdmin.testGetEnterpriseUsers ____________________ self = def testGetEnterpriseUsers(self): > enterprise_users = self.enterprise.get_consumed_licenses().get_users() tests/EnterpriseAdmin.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Enterprise.py:84: in get_consumed_licenses headers, data = self._requester.requestJsonAndCheck("GET", self.url + "/consumed-licenses") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Environment.testAttributes __________________________ self = def setUp(self): self.tokenAuthMode = True super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Environment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Environment.testCreateEnvironment _______________________ self = def setUp(self): self.tokenAuthMode = True super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Environment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Environment.testDeleteEnvironment _______________________ self = def setUp(self): self.tokenAuthMode = True super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Environment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Environment.testEnvironmentSecret _______________________ self = def setUp(self): self.tokenAuthMode = True super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Environment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Environment.testEnvironmentSecrets ______________________ self = def setUp(self): self.tokenAuthMode = True super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Environment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Environment.testEnvironmentVariable ______________________ self = def setUp(self): self.tokenAuthMode = True super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Environment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Environment.testEnvironmentVariables _____________________ self = def setUp(self): self.tokenAuthMode = True super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Environment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Environment.testGetEnvironments ________________________ self = def setUp(self): self.tokenAuthMode = True super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Environment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Environment.testProtectionRules ________________________ self = def setUp(self): self.tokenAuthMode = True super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Environment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Environment.testReviewers ___________________________ self = def setUp(self): self.tokenAuthMode = True super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Environment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Environment.testUpdateEnvironment _______________________ self = def setUp(self): self.tokenAuthMode = True super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Environment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Equality.testBranchEquality __________________________ self = def testBranchEquality(self): # Erf, equality of NonCompletableGithubObjects will be difficult to implement # because even their _rawData can differ. (Here, the avatar_url is not equal) # (CompletableGithubObjects are compared by their API url, which is a good key) > r = self.g.get_user().get_repo("PyGithub") tests/Equality.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Equality.testUserDifference __________________________ self = def testUserDifference(self): > u1 = self.g.get_user("jacquev6") tests/Equality.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Equality.testUserEquality ___________________________ self = def testUserEquality(self): > u1 = self.g.get_user("jacquev6") tests/Equality.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Event.testAttributes _____________________________ self = def setUp(self): super().setUp() > self.event = self.g.get_user("jacquev6").get_events()[0] tests/Event.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Exceptions.testBadAuthentication _______________________ self = def testBadAuthentication(self): with self.assertRaises(github.GithubException) as raisedexp: > github.Github(auth=github.Auth.Login("BadUser", "BadPassword")).get_user().login tests/Exceptions.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Exceptions.testInvalidInput __________________________ self = def testInvalidInput(self): with self.assertRaises(github.GithubException) as raisedexp: > self.g.get_user().create_key("Bad key", "xxx") tests/Exceptions.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:536: in create_key headers, data = self._requester.requestJsonAndCheck("POST", "/user/keys", input=post_parameters) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Exceptions.testJSONParseError _________________________ self = def testJSONParseError(self): # Replay data was forged to force a JSON error with self.assertRaises(ValueError): > self.g.get_user("jacquev6") tests/Exceptions.py:108: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Exceptions.testNonJsonDataReturnedByGithub __________________ self = def testNonJsonDataReturnedByGithub(self): # Replay data was forged according to https://github.com/jacquev6/PyGithub/pull/182 with self.assertRaises(github.GithubException) as raisedexp: # 503 would be retried, disable retries > self.get_github(retry=None, pool_size=self.pool_size).get_user("jacquev6") tests/Exceptions.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Exceptions.testUnknownObject _________________________ self = def testUnknownObject(self): with self.assertRaises(github.GithubException) as raisedexp: > self.g.get_user().get_repo("Xxx") tests/Exceptions.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Exceptions.testUnknownUser __________________________ self = def testUnknownUser(self): with self.assertRaises(github.GithubException) as raisedexp: > self.g.get_user("ThisUserShouldReallyNotExist") tests/Exceptions.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ SpecificExceptions.test2FARequired ______________________ self = def test2FARequired(self): > self.assertRaises( github.TwoFactorException, lambda: github.Github(auth=github.Auth.Login("2fauser", "password")).get_user().login, ) tests/Exceptions.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Exceptions.py:121: in lambda: github.Github(auth=github.Auth.Login("2fauser", "password")).get_user().login, github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________ SpecificExceptions.testAuthenticatedRateLimitExceeded _____________ self = def testAuthenticatedRateLimitExceeded(self): def exceed(): for i in range(100): res = self.g.search_code("jacquev6") res.get_page(0) with self.assertRaises(github.RateLimitExceededException) as raised: > exceed() tests/Exceptions.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Exceptions.py:147: in exceed res.get_page(0) github/PaginatedList.py:289: in get_page headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ SpecificExceptions.testBadCredentials _____________________ self = def testBadCredentials(self): > self.assertRaises( github.BadCredentialsException, lambda: github.Github(auth=github.Auth.Login("BadUser", "BadPassword")).get_user().login, ) tests/Exceptions.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Exceptions.py:115: in lambda: github.Github(auth=github.Auth.Login("BadUser", "BadPassword")).get_user().login, github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ SpecificExceptions.testBadUserAgent ______________________ self = def testBadUserAgent(self): > self.assertRaises( github.BadUserAgentException, lambda: github.Github(auth=self.login, user_agent="").get_user().name, ) tests/Exceptions.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Exceptions.py:130: in lambda: github.Github(auth=self.login, user_agent="").get_user().name, github/AuthenticatedUser.py:284: in name self._completeIfNotSet(self._name) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ SpecificExceptions.testRateLimitExceeded ___________________ self = def testRateLimitExceeded(self): # rate limit errors would be retried if retry is not set None g = github.Github(retry=None) def exceed(): for i in range(100): g.get_user("jacquev6") > self.assertRaises(github.RateLimitExceededException, exceed) tests/Exceptions.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Exceptions.py:139: in exceed g.get_user("jacquev6") github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ SpecificExceptions.testUnknownObject _____________________ self = def testUnknownObject(self): > self.assertRaises(github.UnknownObjectException, lambda: self.g.get_user().get_repo("Xxx")) tests/Exceptions.py:125: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Exceptions.py:125: in self.assertRaises(github.UnknownObjectException, lambda: self.g.get_user().get_repo("Xxx")) github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ ExposeAllAttributes.testAllClasses ______________________ self = def testAllClasses(self): authenticatedUser = self.g.get_user() > namedUser = self.g.get_user("nvie") tests/ExposeAllAttributes.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Gist.testAttributes ______________________________ self = def testAttributes(self): > gist = self.g.get_gist("6296732") tests/Gist.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Gist.testCreateComment ____________________________ self = def testCreateComment(self): > gist = self.g.get_gist("2729810") tests/Gist.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________________ Gist.testDelete ________________________________ self = def testDelete(self): > gist = self.g.get_gist("2729810") tests/Gist.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Gist.testDeleteFile ______________________________ self = def testDeleteFile(self): > gist = self.g.get_gist("5339374") tests/Gist.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Gist.testEditWithAllParameters ________________________ self = def testEditWithAllParameters(self): > gist = self.g.get_gist("2729810") tests/Gist.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Gist.testEditWithoutParameters ________________________ self = def testEditWithoutParameters(self): > gist = self.g.get_gist("2729810") tests/Gist.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________________ Gist.testFork _________________________________ self = def testFork(self): > gist = self.g.get_gist("6296553") # Random gist tests/Gist.py:148: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Gist.testGetComments _____________________________ self = def testGetComments(self): > gist = self.g.get_gist("2729810") tests/Gist.py:136: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Gist.testRenameFile ______________________________ self = def testRenameFile(self): > gist = self.g.get_gist("5339374") tests/Gist.py:125: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________________ Gist.testStarring _______________________________ self = def testStarring(self): > gist = self.g.get_gist("2729810") tests/Gist.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ GistComment.testAttributes __________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_gist("2729810").get_comment(323629) tests/GistComment.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ GistComment.testDelete ____________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_gist("2729810").get_comment(323629) tests/GistComment.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ GistComment.testEdit _____________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_gist("2729810").get_comment(323629) tests/GistComment.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:487: in get_gist headers, data = self.__requester.requestJsonAndCheck("GET", f"/gists/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ GitBlob.testAttributes ____________________________ self = def setUp(self): super().setUp() > self.blob = self.g.get_user().get_repo("PyGithub").get_git_blob("53bce9fa919b4544e67275089b3ec5b44be20667") tests/GitBlob.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ GitCommit.testAttributes ___________________________ self = def setUp(self): super().setUp() > self.commit = self.g.get_user().get_repo("PyGithub").get_git_commit("4303c5b90e2216d927155e9609436ccb8984c495") tests/GitCommit.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ GitMembership.testGetMembership ________________________ self = def testGetMembership(self): octocat = self.g.get_user() > self.assertEqual(octocat.login, "octocat") tests/GitMembership.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ GitRef.testAttributes _____________________________ self = def setUp(self): super().setUp() > self.ref = self.g.get_user().get_repo("PyGithub").get_git_ref("heads/BranchCreatedByPyGithub") tests/GitRef.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________________ GitRef.testDelete _______________________________ self = def setUp(self): super().setUp() > self.ref = self.g.get_user().get_repo("PyGithub").get_git_ref("heads/BranchCreatedByPyGithub") tests/GitRef.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________________ GitRef.testEdit ________________________________ self = def setUp(self): super().setUp() > self.ref = self.g.get_user().get_repo("PyGithub").get_git_ref("heads/BranchCreatedByPyGithub") tests/GitRef.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ GitRef.testEditWithForce ___________________________ self = def setUp(self): super().setUp() > self.ref = self.g.get_user().get_repo("PyGithub").get_git_ref("heads/BranchCreatedByPyGithub") tests/GitRef.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ GitRelease.testAttributes ___________________________ self = def setUp(self): super().setUp() self.new_tag = "v1.25.2" # Used for new releases self.content_path = "content.txt" self.artifact_path = "archive.zip" with open(self.content_path, "w") as zip_content: zip_content.write("Pedro for president.") artifact = zipfile.ZipFile(self.artifact_path, "w") artifact.write(self.content_path) artifact.close() > self.repo = self.g.get_user(user).get_repo(repo_name) tests/GitRelease.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ GitRelease.testCreateGitTagAndRelease _____________________ self = def setUp(self): super().setUp() self.new_tag = "v1.25.2" # Used for new releases self.content_path = "content.txt" self.artifact_path = "archive.zip" with open(self.content_path, "w") as zip_content: zip_content.write("Pedro for president.") artifact = zipfile.ZipFile(self.artifact_path, "w") artifact.write(self.content_path) artifact.close() > self.repo = self.g.get_user(user).get_repo(repo_name) tests/GitRelease.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ GitRelease.testDelete _____________________________ self = def setUp(self): super().setUp() self.new_tag = "v1.25.2" # Used for new releases self.content_path = "content.txt" self.artifact_path = "archive.zip" with open(self.content_path, "w") as zip_content: zip_content.write("Pedro for president.") artifact = zipfile.ZipFile(self.artifact_path, "w") artifact.write(self.content_path) artifact.close() > self.repo = self.g.get_user(user).get_repo(repo_name) tests/GitRelease.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ GitRelease.testGetAssets ___________________________ self = def setUp(self): super().setUp() self.new_tag = "v1.25.2" # Used for new releases self.content_path = "content.txt" self.artifact_path = "archive.zip" with open(self.content_path, "w") as zip_content: zip_content.write("Pedro for president.") artifact = zipfile.ZipFile(self.artifact_path, "w") artifact.write(self.content_path) artifact.close() > self.repo = self.g.get_user(user).get_repo(repo_name) tests/GitRelease.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ GitRelease.testGetLatestRelease ________________________ self = def setUp(self): super().setUp() self.new_tag = "v1.25.2" # Used for new releases self.content_path = "content.txt" self.artifact_path = "archive.zip" with open(self.content_path, "w") as zip_content: zip_content.write("Pedro for president.") artifact = zipfile.ZipFile(self.artifact_path, "w") artifact.write(self.content_path) artifact.close() > self.repo = self.g.get_user(user).get_repo(repo_name) tests/GitRelease.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ GitRelease.testGetRelease ___________________________ self = def setUp(self): super().setUp() self.new_tag = "v1.25.2" # Used for new releases self.content_path = "content.txt" self.artifact_path = "archive.zip" with open(self.content_path, "w") as zip_content: zip_content.write("Pedro for president.") artifact = zipfile.ZipFile(self.artifact_path, "w") artifact.write(self.content_path) artifact.close() > self.repo = self.g.get_user(user).get_repo(repo_name) tests/GitRelease.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ GitRelease.testUpdate _____________________________ self = def setUp(self): super().setUp() self.new_tag = "v1.25.2" # Used for new releases self.content_path = "content.txt" self.artifact_path = "archive.zip" with open(self.content_path, "w") as zip_content: zip_content.write("Pedro for president.") artifact = zipfile.ZipFile(self.artifact_path, "w") artifact.write(self.content_path) artifact.close() > self.repo = self.g.get_user(user).get_repo(repo_name) tests/GitRelease.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ GitRelease.testUploadAsset __________________________ self = def setUp(self): super().setUp() self.new_tag = "v1.25.2" # Used for new releases self.content_path = "content.txt" self.artifact_path = "archive.zip" with open(self.content_path, "w") as zip_content: zip_content.write("Pedro for president.") artifact = zipfile.ZipFile(self.artifact_path, "w") artifact.write(self.content_path) artifact.close() > self.repo = self.g.get_user(user).get_repo(repo_name) tests/GitRelease.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ GitRelease.testUploadAssetFileLike ______________________ self = def setUp(self): super().setUp() self.new_tag = "v1.25.2" # Used for new releases self.content_path = "content.txt" self.artifact_path = "archive.zip" with open(self.content_path, "w") as zip_content: zip_content.write("Pedro for president.") artifact = zipfile.ZipFile(self.artifact_path, "w") artifact.write(self.content_path) artifact.close() > self.repo = self.g.get_user(user).get_repo(repo_name) tests/GitRelease.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ GitRelease.testUploadAssetFromMemory _____________________ self = def setUp(self): super().setUp() self.new_tag = "v1.25.2" # Used for new releases self.content_path = "content.txt" self.artifact_path = "archive.zip" with open(self.content_path, "w") as zip_content: zip_content.write("Pedro for president.") artifact = zipfile.ZipFile(self.artifact_path, "w") artifact.write(self.content_path) artifact.close() > self.repo = self.g.get_user(user).get_repo(repo_name) tests/GitRelease.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ GitRelease.testUploadAssetWithName ______________________ self = def setUp(self): super().setUp() self.new_tag = "v1.25.2" # Used for new releases self.content_path = "content.txt" self.artifact_path = "archive.zip" with open(self.content_path, "w") as zip_content: zip_content.write("Pedro for president.") artifact = zipfile.ZipFile(self.artifact_path, "w") artifact.write(self.content_path) artifact.close() > self.repo = self.g.get_user(user).get_repo(repo_name) tests/GitRelease.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ GitTag.testAttributes _____________________________ self = def setUp(self): super().setUp() > self.tag = self.g.get_user().get_repo("PyGithub").get_git_tag("f5f37322407b02a80de4526ad88d5f188977bc3c") tests/GitTag.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ GitTree.testAttributes ____________________________ self = def setUp(self): super().setUp() > self.tree = self.g.get_user().get_repo("PyGithub").get_git_tree("f492784d8ca837779650d1fb406a1a3587a764ad") tests/GitTree.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ GithubApp.testGetAuthenticatedApp _______________________ self = def testGetAuthenticatedApp(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) g = github.Github(auth=auth) with self.assertWarns(DeprecationWarning) as warning: # httpretty has some deprecation warnings in Python 3.12 with self.ignoreWarning(category=DeprecationWarning, module="httpretty"): > app = g.get_app() tests/GithubApp.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:1009: in get_app return GithubIntegration(**self.__requester.kwargs).get_app() github/GithubIntegration.py:301: in get_app headers, data = self.__requester.requestJsonAndCheck("GET", "/app", headers=self._get_headers()) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ GithubApp.testGetPublicApp __________________________ self = def testGetPublicApp(self): app = self.g.get_app(slug=self.app_slug) > self.assertEqual(app.created_at, datetime(2018, 7, 30, 9, 30, 17, tzinfo=timezone.utc)) tests/GithubApp.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubApp.py:81: in created_at self._completeIfNotSet(self._created_at) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ GithubIntegration.testAppAuth _________________________ self = def testAppAuth(self): # Replay data copied from testDeprecatedAppAuth to test parity auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) installations = github_integration.get_installations() > self.assertEqual(len(list(installations)), 2) tests/GithubIntegration.py:108: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ GithubIntegration.testDeprecatedAppAuth ____________________ self = def testDeprecatedAppAuth(self): # Replay data copied from testGetInstallations to test authentication only with self.assertWarns(DeprecationWarning) as warning: github_integration = github.GithubIntegration(integration_id=APP_ID, private_key=PRIVATE_KEY) installations = github_integration.get_installations() > self.assertEqual(len(list(installations)), 2) tests/GithubIntegration.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ GithubIntegration.testGetAccessToken _____________________ self = def testGetAccessToken(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) # Get repo installation access token > repo_installation_authorization = github_integration.get_access_token(self.repo_installation_id) tests/GithubIntegration.py:162: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubIntegration.py:228: in get_access_token headers, response = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________ GithubIntegration.testGetAccessTokenForNoInstallation _____________ self = def testGetAccessTokenForNoInstallation(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) with self.assertRaises(github.UnknownObjectException) as raisedexp: > github_integration.get_access_token(40432121) tests/GithubIntegration.py:256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubIntegration.py:228: in get_access_token headers, response = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________ GithubIntegration.testGetAccessTokenWithExpiredJWT ______________ self = def testGetAccessTokenWithExpiredJWT(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) with self.assertRaises(github.GithubException) as raisedexp: > github_integration.get_access_token(self.repo_installation_id) tests/GithubIntegration.py:248: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubIntegration.py:228: in get_access_token headers, response = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________ GithubIntegration.testGetAccessTokenWithInvalidPermissions __________ self = def testGetAccessTokenWithInvalidPermissions(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) with self.assertRaises(github.GithubException) as raisedexp: > github_integration.get_access_token(self.repo_installation_id, permissions={"test-permissions": "read"}) tests/GithubIntegration.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubIntegration.py:228: in get_access_token headers, response = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ GithubIntegration.testGetApp _________________________ self = def testGetApp(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) > app = github_integration.get_app() tests/GithubIntegration.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubIntegration.py:301: in get_app headers, data = self.__requester.requestJsonAndCheck("GET", "/app", headers=self._get_headers()) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ GithubIntegration.testGetAppInstallation ___________________ self = def testGetAppInstallation(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) > installation = github_integration.get_app_installation(installation_id=self.org_installation_id) tests/GithubIntegration.py:224: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubIntegration.py:294: in get_app_installation return self._get_installed_app(url=f"/app/installations/{installation_id}") github/GithubIntegration.py:196: in _get_installed_app headers, response = self.__requester.requestJsonAndCheck("GET", url, headers=self._get_headers()) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ GithubIntegration.testGetGithubForInstallation ________________ self = def testGetGithubForInstallation(self): # with verify=False, urllib3.connectionpool rightly may issue an InsecureRequestWarning # we ignore InsecureRequestWarning from urllib3.connectionpool with self.ignoreWarning(category=InsecureRequestWarning, module="urllib3.connectionpool"): kwargs = dict( auth=github.Auth.AppAuth(APP_ID, PRIVATE_KEY), # http protocol used to deviate from default base url, recording data might require https base_url="http://api.github.com", timeout=Consts.DEFAULT_TIMEOUT + 10, user_agent="PyGithub/Python-Test", per_page=Consts.DEFAULT_PER_PAGE + 10, verify=False, retry=3, pool_size=10, seconds_between_requests=100, seconds_between_writes=1000, ) # assert kwargs consists of ALL requester constructor arguments self.assertEqual(kwargs.keys(), github.Requester.Requester.__init__.__annotations__.keys()) github_integration = github.GithubIntegration(**kwargs) g = github_integration.get_github_for_installation(36541767) self.assertIsInstance(g._Github__requester.auth, AppInstallationAuth) actual = g._Github__requester.kwargs kwargs.update(auth=str(AppInstallationAuth)) actual.update(auth=str(type(actual["auth"]))) self.assertDictEqual(kwargs, actual) > repo = g.get_repo("PyGithub/PyGithub") tests/GithubIntegration.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:798: in __requestEncode requestHeaders["Authorization"] = f"{self.__auth.token_type} {self.__auth.token}" github/Auth.py:328: in token self.__installation_authorization = self._get_installation_authorization() github/Auth.py:339: in _get_installation_authorization return self.__integration.get_access_token( github/GithubIntegration.py:228: in get_access_token headers, response = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:637: in post return self.request("POST", url, data=data, json=json, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ GithubIntegration.testGetInstallationNotFound _________________ self = def testGetInstallationNotFound(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) with self.assertRaises(github.UnknownObjectException) as raisedexp: > github_integration.get_org_installation(org="GithubApp-Test-Org-404") tests/GithubIntegration.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubIntegration.py:273: in get_org_installation return self._get_installed_app(url=f"/orgs/{org}/installation") github/GithubIntegration.py:196: in _get_installed_app headers, response = self.__requester.requestJsonAndCheck("GET", url, headers=self._get_headers()) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ GithubIntegration.testGetInstallationWithExpiredJWT ______________ self = def testGetInstallationWithExpiredJWT(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) with self.assertRaises(github.GithubException) as raisedexp: > github_integration.get_org_installation(org="GithubApp-Test-Org") tests/GithubIntegration.py:240: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubIntegration.py:273: in get_org_installation return self._get_installed_app(url=f"/orgs/{org}/installation") github/GithubIntegration.py:196: in _get_installed_app headers, response = self.__requester.requestJsonAndCheck("GET", url, headers=self._get_headers()) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ GithubIntegration.testGetInstallations ____________________ self = def testGetInstallations(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) installations = github_integration.get_installations() > self.assertEqual(len(list(installations)), 2) tests/GithubIntegration.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ GithubIntegration.testGetOrgInstallation ___________________ self = def testGetOrgInstallation(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) > installation = github_integration.get_org_installation(org="GithubApp-Test-Org") tests/GithubIntegration.py:210: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubIntegration.py:273: in get_org_installation return self._get_installed_app(url=f"/orgs/{org}/installation") github/GithubIntegration.py:196: in _get_installed_app headers, response = self.__requester.requestJsonAndCheck("GET", url, headers=self._get_headers()) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ GithubIntegration.testGetRepoInstallation ___________________ self = def testGetRepoInstallation(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) > installation = github_integration.get_repo_installation(owner="ammarmallik", repo="test-runner") tests/GithubIntegration.py:217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubIntegration.py:281: in get_repo_installation return self._get_installed_app(url=f"/repos/{owner}/{repo}/installation") github/GithubIntegration.py:196: in _get_installed_app headers, response = self.__requester.requestJsonAndCheck("GET", url, headers=self._get_headers()) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ GithubIntegration.testGetUserInstallation ___________________ self = def testGetUserInstallation(self): auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY) github_integration = github.GithubIntegration(auth=auth) > installation = github_integration.get_user_installation(username="ammarmallik") tests/GithubIntegration.py:203: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/GithubIntegration.py:288: in get_user_installation return self._get_installed_app(url=f"/users/{username}/installation") github/GithubIntegration.py:196: in _get_installed_app headers, response = self.__requester.requestJsonAndCheck("GET", url, headers=self._get_headers()) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Github.testGetEmojis _____________________________ self = def testGetEmojis(self): > emojis = self.g.get_emojis() tests/Github_.py:250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:923: in get_emojis headers, attributes = self.__requester.requestJsonAndCheck("GET", "/emojis") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Github.testGetEvents _____________________________ self = def testGetEvents(self): > self.assertListKeyBegin( self.g.get_events(), lambda e: e.type, ["PushEvent", "WatchEvent", "PushEvent", "CommitCommentEvent"], ) tests/Github_.py:626: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Github.testGetGists ______________________________ self = def testGetGists(self): > self.assertListKeyBegin( self.g.get_gists(), lambda g: g.id, [ "2729695", "2729656", "2729597", "2729584", "2729569", "2729554", "2729543", "2729537", "2729536", "2729533", "2729525", "2729522", "2729519", "2729515", "2729506", "2729487", "2729484", "2729482", "2729441", "2729432", "2729420", "2729398", "2729372", "2729371", "2729351", "2729346", "2729316", "2729304", "2729296", "2729276", "2729272", "2729265", "2729195", "2729160", "2729143", "2729127", "2729119", "2729113", "2729103", "2729069", "2729059", "2729051", "2729029", "2729027", "2729026", "2729022", "2729002", "2728985", "2728979", "2728964", "2728937", "2728933", "2728884", "2728869", "2728866", "2728855", "2728854", "2728853", "2728846", "2728825", "2728814", "2728813", "2728812", "2728805", "2728802", "2728800", "2728798", "2728797", "2728796", "2728793", "2728758", "2728754", "2728751", "2728748", "2728721", "2728716", "2728715", "2728705", "2728701", "2728699", "2728697", "2728688", "2728683", "2728677", "2728649", "2728640", "2728625", "2728620", "2728615", "2728614", "2728565", "2728564", "2728554", "2728523", "2728519", "2728511", "2728497", "2728496", "2728495", "2728487", ], ) tests/Github_.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Github.testGetGistsWithSince _________________________ self = def testGetGistsWithSince(self): > self.assertListKeyBegin( self.g.get_gists(since=datetime(2018, 10, 2, 10, 38, 30, 00)), lambda g: g.id, [ "69b8a5831b74946db944c5451017fa40", "c22050a8705e93d170e0d4ca9c02e40c", "a7a95e1a194e07960364a5b32c56ac5f", "a25d9ace89b574f95bf0724f95a84fc2", "3195465", ], ) tests/Github_.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Github.testGetGitignoreTemplate ________________________ self = def testGetGitignoreTemplate(self): > t = self.g.get_gitignore_template("Python") tests/Github_.py:410: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:915: in get_gitignore_template headers, attributes = self.__requester.requestJsonAndCheck("GET", f"/gitignore/templates/{name}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Github.testGetGitignoreTemplates _______________________ self = def testGetGitignoreTemplates(self): self.assertEqual( > self.g.get_gitignore_templates(), [ "Actionscript", "Android", "AppceleratorTitanium", "Autotools", "Bancha", "C", "C++", "CFWheels", "CMake", "CSharp", "CakePHP", "Clojure", "CodeIgniter", "Compass", "Concrete5", "Coq", "Delphi", "Django", "Drupal", "Erlang", "ExpressionEngine", "Finale", "ForceDotCom", "FuelPHP", "GWT", "Go", "Grails", "Haskell", "Java", "Jboss", "Jekyll", "Joomla", "Jython", "Kohana", "LaTeX", "Leiningen", "LemonStand", "Lilypond", "Lithium", "Magento", "Maven", "Node", "OCaml", "Objective-C", "Opa", "OracleForms", "Perl", "PlayFramework", "Python", "Qooxdoo", "Qt", "R", "Rails", "RhodesRhomobile", "Ruby", "Scala", "Sdcc", "SeamGen", "SketchUp", "SugarCRM", "Symfony", "Symfony2", "SymphonyCMS", "Target3001", "Tasm", "Textpattern", "TurboGears2", "Unity", "VB.Net", "Waf", "Wordpress", "Yii", "ZendFramework", "gcov", "nanoc", "opencart", ], ) tests/Github_.py:328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:906: in get_gitignore_templates headers, data = self.__requester.requestJsonAndCheck("GET", "/gitignore/templates") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Github.testGetGlobalAdvisories ________________________ self = def testGetGlobalAdvisories(self): > self.assertListKeyEqual( self.g.get_global_advisories(ecosystem="pub"), lambda a: a.ghsa_id, [ "GHSA-9324-jv53-9cc8", "GHSA-9f2c-xxfm-32mj", "GHSA-4xh4-v2pq-jvhm", "GHSA-jwpw-q68h-r678", "GHSA-4rgh-jx4f-qfcq", ], ) tests/Github_.py:174: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Github.testGetGlobalAdvisoriesByCVE ______________________ self = def testGetGlobalAdvisoriesByCVE(self): > self.assertListKeyEqual( self.g.get_global_advisories(cve_id="CVE-2023-38503"), lambda a: a.ghsa_id, [ "GHSA-gggm-66rh-pp98", ], ) tests/Github_.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Github.testGetGlobalAdvisoriesByGHSA _____________________ self = def testGetGlobalAdvisoriesByGHSA(self): > self.assertListKeyEqual( self.g.get_global_advisories(ghsa_id="GHSA-9324-jv53-9cc8"), lambda a: a.ghsa_id, [ "GHSA-9324-jv53-9cc8", ], ) tests/Github_.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _ Github.testGetGlobalAdvisoriesManyFilters (affects=['directus', 'made_up'], cwes=[200, 900], modified='>2023-07-01') _ self = def testGetGlobalAdvisoriesManyFilters(self): cases = [ {"cwes": [200, 900], "affects": ["directus", "made_up"], "modified": ">2023-07-01"}, {"cwes": ["200", "900"], "affects": ["directus"], "updated": ">2023-07-01"}, {"cwes": "200,900", "affects": "directus", "published": ">2023-07-01"}, ] for case in cases: with self.subTest(**case): advisories = self.g.get_global_advisories( type="reviewed", ecosystem="npm", severity="medium", # cwes=case["cwes"], is_withdrawn=False, # affects=case["affects"], # modified=">2023-07-01", direction="desc", sort="updated", **case, ) > self.assertListKeyEqual( advisories, lambda a: a.ghsa_id, [ "GHSA-gggm-66rh-pp98", ], ) tests/Github_.py:224: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _ Github.testGetGlobalAdvisoriesManyFilters (affects=['directus'], cwes=['200', '900'], updated='>2023-07-01') _ self = def testGetGlobalAdvisoriesManyFilters(self): cases = [ {"cwes": [200, 900], "affects": ["directus", "made_up"], "modified": ">2023-07-01"}, {"cwes": ["200", "900"], "affects": ["directus"], "updated": ">2023-07-01"}, {"cwes": "200,900", "affects": "directus", "published": ">2023-07-01"}, ] for case in cases: with self.subTest(**case): advisories = self.g.get_global_advisories( type="reviewed", ecosystem="npm", severity="medium", # cwes=case["cwes"], is_withdrawn=False, # affects=case["affects"], # modified=">2023-07-01", direction="desc", sort="updated", **case, ) > self.assertListKeyEqual( advisories, lambda a: a.ghsa_id, [ "GHSA-gggm-66rh-pp98", ], ) tests/Github_.py:224: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _ Github.testGetGlobalAdvisoriesManyFilters (affects='directus', cwes='200,900', published='>2023-07-01') _ self = def testGetGlobalAdvisoriesManyFilters(self): cases = [ {"cwes": [200, 900], "affects": ["directus", "made_up"], "modified": ">2023-07-01"}, {"cwes": ["200", "900"], "affects": ["directus"], "updated": ">2023-07-01"}, {"cwes": "200,900", "affects": "directus", "published": ">2023-07-01"}, ] for case in cases: with self.subTest(**case): advisories = self.g.get_global_advisories( type="reviewed", ecosystem="npm", severity="medium", # cwes=case["cwes"], is_withdrawn=False, # affects=case["affects"], # modified=">2023-07-01", direction="desc", sort="updated", **case, ) > self.assertListKeyEqual( advisories, lambda a: a.ghsa_id, [ "GHSA-gggm-66rh-pp98", ], ) tests/Github_.py:224: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Github.testGetGlobalAdvisoriesManyFilters ___________________ tests/Framework.py:346: in tearDown self.__closeReplayFileIfNeeded(silent=self.thisTestFailed) tests/Framework.py:382: in __closeReplayFileIfNeeded self.assertEqual(readLine(self.__file), "", self.__fileName) E AssertionError: 'https' != '' E - https E : /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0/tests/ReplayData/Github.testGetGlobalAdvisoriesManyFilters.txt ----------------------------- Captured stdout call ----------------------------- uuu ______________________________ Github.testGetHook ______________________________ self = def testGetHook(self): > hook = self.g.get_hook("activecollab") tests/Github_.py:255: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:869: in get_hook headers, attributes = self.__requester.requestJsonAndCheck("GET", f"/hooks/{name}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Github.testGetHookDeliveries _________________________ self = def testGetHookDeliveries(self): > deliveries = list(self.g.get_hook_deliveries(257993)) tests/Github_.py:296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:899: in get_hook_deliveries headers, data = self.__requester.requestJsonAndCheck("GET", f"/hooks/{hook_id}/deliveries") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Github.testGetHookDelivery __________________________ self = def testGetHookDelivery(self): > delivery = self.g.get_hook_delivery(257993, 12345) tests/Github_.py:272: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:889: in get_hook_delivery headers, attributes = self.__requester.requestJsonAndCheck("GET", f"/hooks/{hook_id}/deliveries/{delivery_id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Github.testGetHooks ______________________________ self = def testGetHooks(self): > hooks = self.g.get_hooks() tests/Github_.py:233: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:877: in get_hooks headers, data = self.__requester.requestJsonAndCheck("GET", "/hooks") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Github.testGetLicense _____________________________ self = def testGetLicense(self): self.assertEqual( > self.g.get_license("mit").description, "A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.", ) tests/Github_.py:621: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:339: in get_license headers, data = self.__requester.requestJsonAndCheck("GET", f"/licenses/{key}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Github.testGetLicenses ____________________________ self = def testGetLicenses(self): > self.assertListKeyBegin( self.g.get_licenses(), lambda r: r.name, [ "GNU General Public License v3.0", 'BSD 2-Clause "Simplified" License', "MIT License", "GNU Lesser General Public License v2.1", "GNU General Public License v2.0", "GNU Lesser General Public License v3.0", "Mozilla Public License 2.0", 'BSD 3-Clause "New" or "Revised" License', ], ) tests/Github_.py:604: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Github.testGetOrganizations __________________________ self = def testGetOrganizations(self): > self.assertListKeyBegin( self.g.get_organizations(), lambda u: u.login, [ "errfree", "engineyard", "ministrycentered", "collectiveidea", "ogc", "sevenwire", "entryway", ], ) tests/Github_.py:544: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Github.testGetOrganizationsSince _______________________ self = def testGetOrganizationsSince(self): > self.assertListKeyBegin( self.g.get_organizations(since=1000), lambda u: u.login, [ "railslove", "railsdog", "netguru", "webhostio", "animikii", "sauspiel", "wherecloud", "triveos", ], ) tests/Github_.py:559: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Github.testGetRepoFromFullName ________________________ self = def testGetRepoFromFullName(self): self.assertEqual( > self.g.get_repo("jacquev6/PyGithub").description, "Python library implementing the full Github API v3", ) tests/Github_.py:316: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Github.testGetRepoFromId ___________________________ self = def testGetRepoFromId(self): self.assertEqual( > self.g.get_repo(3544490).description, "Python library implementing the full Github API v3", ) tests/Github_.py:322: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Github.testGetRepos ______________________________ self = def testGetRepos(self): > self.assertListKeyBegin( self.g.get_repos(), lambda r: r.name, [ "grit", "merb-core", "rubinius", "god", "jsawesome", "jspec", "exception_logger", "ambition", ], ) tests/Github_.py:575: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Github.testGetReposSince ___________________________ self = def testGetReposSince(self): > self.assertListKeyBegin( self.g.get_repos(since=1000), lambda r: r.name, [ "jquery-humanize-messages-plugin", "4slicer", "fixture-scenarios", "mongrel_proctitle", "rails-plugins", ], ) tests/Github_.py:591: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Github.testGetUserById ____________________________ self = def testGetUserById(self): > self.assertEqual(self.g.get_user_by_id(583231).login, "octocat") tests/Github_.py:429: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:377: in get_user_by_id headers, data = self.__requester.requestJsonAndCheck("GET", f"/user/{user_id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Github.testGetUsers ______________________________ self = def testGetUsers(self): > self.assertListKeyBegin( self.g.get_users(), lambda u: u.login, [ "mojombo", "defunkt", "pjhyett", "wycats", "ezmobius", "ivey", "evanphx", "vanpelt", "wayneeseguin", "brynary", "kevinclark", "technoweenie", "macournoyer", "takeo", "Caged", "topfunky", "anotherjesse", "roland", "lukas", "fanvsfan", "tomtt", "railsjitsu", "nitay", "kevwil", "KirinDave", "jamesgolick", "atmos", "errfree", "mojodna", "bmizerany", "jnewland", "joshknowles", "hornbeck", "jwhitmire", "elbowdonkey", "reinh", "timocratic", "bs", "rsanheim", "schacon", "uggedal", "bruce", "sam", "mmower", "abhay", "rabble", "benburkert", "indirect", "fearoffish", "ry", "engineyard", "jsierles", "tweibley", "peimei", "brixen", "tmornini", "outerim", "daksis", "sr", "lifo", "rsl", "imownbey", "dylanegan", "jm", "willcodeforfoo", "jvantuyl", "BrianTheCoder", "freeformz", "hassox", "automatthew", "queso", "lancecarlson", "drnic", "lukesutton", "danwrong", "hcatlin", "jfrost", "mattetti", "ctennis", "lawrencepit", "marcjeanson", "grempe", "peterc", "ministrycentered", "afarnham", "up_the_irons", "evilchelu", "heavysixer", "brosner", "danielmorrison", "danielharan", "kvnsmth", "collectiveidea", "canadaduane", "nate", "dstrelau", "sunny", "dkubb", "jnicklas", "richcollins", "simonjefford", ], ) tests/Github_.py:432: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Github.testGetUsersSince ___________________________ self = def testGetUsersSince(self): > self.assertListKeyBegin(self.g.get_users(since=1000), lambda u: u.login, ["sbecker"]) tests/Github_.py:541: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ GlobalAdvisory.testAttributes _________________________ self = def testAttributes(self): > self.advisory = self.g.get_global_advisory("GHSA-wqc8-x2pr-7jqh") tests/GlobalAdvisory.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:508: in get_global_advisory headers, data = self.__requester.requestJsonAndCheck("GET", f"/advisories/{ghsa_id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ GlobalAdvisory.testNewlyReleased _______________________ self = def testNewlyReleased(self): """ Test an advisory that was freshly released and does not have values for all fields. """ > self.advisory = self.g.get_global_advisory("GHSA-cx3j-qqxj-9597") tests/GlobalAdvisory.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:508: in get_global_advisory headers, data = self.__requester.requestJsonAndCheck("GET", f"/advisories/{ghsa_id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ GraphQl.testDefaultUrl ____________________________ self = def testDefaultUrl(self): > pull = self.g.get_repo("PyGithub/PyGithub").get_pull(31) tests/GraphQl.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ GraphQl.testOtherPort _____________________________ self = def testOtherPort(self): base_url = "https://my.enterprise.com:8080/api/v3" gh = Github(base_url=base_url) > pull = gh.get_repo("PyGithub/PyGithub").get_pull(31) tests/GraphQl.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:8080"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ GraphQl.testOtherUrl _____________________________ self = def testOtherUrl(self): base_url = "https://my.enterprise.com/api/v3" gh = Github(base_url=base_url) > pull = gh.get_repo("PyGithub/PyGithub").get_pull(31) tests/GraphQl.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Hook.testAttributes ______________________________ self = def setUp(self): super().setUp() > self.hook = self.g.get_user().get_repo("PyGithub").get_hook(257993) tests/Hook.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________________ Hook.testDelete ________________________________ self = def setUp(self): super().setUp() > self.hook = self.g.get_user().get_repo("PyGithub").get_hook(257993) tests/Hook.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Hook.testEditWithAllParameters ________________________ self = def setUp(self): super().setUp() > self.hook = self.g.get_user().get_repo("PyGithub").get_hook(257993) tests/Hook.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Hook.testEditWithMinimalParameters ______________________ self = def setUp(self): super().setUp() > self.hook = self.g.get_user().get_repo("PyGithub").get_hook(257993) tests/Hook.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________________ Hook.testPing _________________________________ self = def setUp(self): super().setUp() > self.hook = self.g.get_user().get_repo("PyGithub").get_hook(257993) tests/Hook.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________________ Hook.testTest _________________________________ self = def setUp(self): super().setUp() > self.hook = self.g.get_user().get_repo("PyGithub").get_hook(257993) tests/Hook.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Installation.testGetGithubForInstallation ___________________ self = def setUp(self): super().setUp() app_id = 36541767 private_key = GithubIntegration.PRIVATE_KEY self.auth = AppAuth(app_id, private_key) self.integration = github.GithubIntegration(auth=self.auth) > self.installations = list(self.integration.get_installations()) tests/Installation.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Installation.testGetRepos ___________________________ self = def setUp(self): super().setUp() app_id = 36541767 private_key = GithubIntegration.PRIVATE_KEY self.auth = AppAuth(app_id, private_key) self.integration = github.GithubIntegration(auth=self.auth) > self.installations = list(self.integration.get_installations()) tests/Installation.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Issue.testAddAndRemoveAssignees ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Issue.testAddAndRemoveLabels _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Issue.testAddAndRemoveLabelsWithStringArguments ________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Issue.testAttributes _____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Issue.testCreateComment ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Issue.testCreateReaction ___________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Issue.testDeleteAndSetLabels _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Issue.testDeleteAndSetLabelsWithStringArguments ________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Issue.testDeleteReaction ___________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Issue.testEditResetAssignee __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Issue.testEditResetMilestone _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Issue.testEditWithAllParameters ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Issue.testEditWithStateReasonNotPlanned ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Issue.testEditWithStateReasonReopened _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Issue.testEditWithoutParameters ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Issue.testGetComments _____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Issue.testGetCommentsSince __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Issue.testGetEvents ______________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Issue.testGetLabels ______________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Issue.testGetReactions ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Issue.testGetTimeline _____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________________ Issue.testLock ________________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________________ Issue.testUnlock _______________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Issue131.testGetPullWithOrgHeadUser ______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.g.get_user("openmicroscopy").get_repo("ome-documentation") tests/Issue131.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Issue131.testGetPullsWithOrgHeadUser _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.g.get_user("openmicroscopy").get_repo("ome-documentation") tests/Issue131.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Issue133.testGetPageWithoutInitialArguments __________________ self = def testGetPageWithoutInitialArguments(self): > self.assertEqual(len(self.user.get_followers().get_page(0)), 22) tests/Issue133.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:289: in get_page headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______ Issue134.testGetAuthorizationsFailsWhenAutenticatedThroughOAuth ________ self = def testGetAuthorizationsFailsWhenAutenticatedThroughOAuth(self): g = github.Github(auth=self.oauth_token) with self.assertRaises(github.GithubException) as raisedexp: > list(g.get_user().get_authorizations()) tests/Issue134.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __ Issue134.testGetAuthorizationsSucceedsWhenAutenticatedThroughLoginPassword __ self = def testGetAuthorizationsSucceedsWhenAutenticatedThroughLoginPassword(self): g = github.Github(auth=self.login) > self.assertListKeyEqual( g.get_user().get_authorizations(), lambda a: a.note, [None, None, "cligh", None, None, "GitHub Android App"], ) tests/Issue134.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Issue134.testGetOAuthScopesFromHeader _____________________ self = def testGetOAuthScopesFromHeader(self): g = github.Github(auth=self.oauth_token) self.assertEqual(g.oauth_scopes, None) > g.get_user().name tests/Issue134.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:284: in name self._completeIfNotSet(self._name) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Issue139.testCompletion ____________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user().get_repo("PyGithub").get_issue(139).user tests/Issue139.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ Issue140.testGetDirContentsThenLazyCompletionOfFile ______________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("twitter/bootstrap") tests/Issue140.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Issue140.testGetDirContentsWithRef ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("twitter/bootstrap") tests/Issue140.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Issue140.testGetFileContents _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("twitter/bootstrap") tests/Issue140.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Issue142.testDecodeJson ____________________________ self = def testDecodeJson(self): > self.assertEqual(github.Github().get_rate_limit().core.limit, 60) tests/Issue142.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:322: in get_rate_limit headers, data = self.__requester.requestJsonAndCheck("GET", "/rate_limit") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Issue174.testGetDirContentsWhithHttpRedirect _________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("twitter/bootstrap") tests/Issue174.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Organization.testIssue2030CreateProject ____________________ self = def testIssue2030CreateProject(self): super().setUp() project = "ultratendency" > self.user = self.g.get_user("karthik-kadajji-t") tests/Issue2030.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Issue214.testAssignees ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue214.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Issue214.testCollaborators __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue214.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Issue214.testCreateIssue ___________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue214.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Issue214.testEditIssue ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue214.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Issue214.testGetIssues ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue214.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Issue216.testIteration ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/Issue216.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Issue278.testIteration ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/Issue278.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Issue33.testClosedIssues ___________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/Issue33.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Issue33.testOpenIssues ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/Issue33.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________________ Issue494.testRepr _______________________________ self = def setUp(self): super().setUp() self.repo = self.g.get_repo("apache/brooklyn-server", lazy=True) > self.pull = self.repo.get_pull(465) tests/Issue494.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:3055: in get_pull headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/pulls/{number}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Issue50.testAddLabelToIssue __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue50.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Issue50.testCreateIssueWithLabel _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue50.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Issue50.testCreateLabel ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue50.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Issue50.testGetIssuesWithLabel ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue50.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Issue50.testGetLabel _____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue50.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Issue50.testGetLabels _____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue50.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Issue50.testIssueGetLabels __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue50.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Issue50.testIssueLabels ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue50.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Issue50.testRemoveLabelFromIssue _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue50.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Issue50.testSetIssueLabels __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue50.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Issue54.testConversion ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("TestRepo") tests/Issue54.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Issue572.testIssueAsPullRequest ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue572.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Issue572.testPullReqeustAsIssue ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue572.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Issue80.testIgnoreHttpsFromGithubEnterprise __________________ self = def testIgnoreHttpsFromGithubEnterprise(self): g = github.Github(auth=self.login, base_url="http://my.enterprise.com/some/prefix") # http here > org = g.get_organization("BeaverSoftware") tests/Issue80.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ Issue80.testIgnoreHttpsFromGithubEnterpriseWithPort ______________ self = def testIgnoreHttpsFromGithubEnterpriseWithPort(self): g = github.Github( auth=self.login, base_url="http://my.enterprise.com:1234/some/prefix", ) # http here > org = g.get_organization("BeaverSoftware") tests/Issue80.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:1234"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Issue823.testGetPendingInvitationAttributes __________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("p-society") tests/Issue823.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Issue87.testCreateIssueWithEscapedPercentInBody ________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue87.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Issue87.testCreateIssueWithEscapedPercentInTitle _______________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue87.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Issue87.testCreateIssueWithPercentInBody ___________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue87.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Issue87.testCreateIssueWithPercentInTitle ___________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Issue87.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Issue937.testCollaboratorsAffiliation _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Issue937.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________ Issue945.testReservedPaginatedListAttributePreservation ____________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/Issue945.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ IssueComment.testAttributes __________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_issue(28).get_comment(5808311) tests/IssueComment.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ IssueComment.testCreateReaction ________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_issue(28).get_comment(5808311) tests/IssueComment.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ IssueComment.testDelete ____________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_issue(28).get_comment(5808311) tests/IssueComment.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ IssueComment.testDeleteReaction ________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_issue(28).get_comment(5808311) tests/IssueComment.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ IssueComment.testEdit _____________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_issue(28).get_comment(5808311) tests/IssueComment.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ IssueComment.testGetReactions _________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_issue(28).get_comment(5808311) tests/IssueComment.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ IssueEvent.testEvent_added_to_project_Attributes _______________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ IssueEvent.testEvent_assigned_Attributes ___________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ IssueEvent.testEvent_base_ref_changed_Attributes _______________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ IssueEvent.testEvent_closed_Attributes ____________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________ IssueEvent.testEvent_converted_note_to_issue_Attributes ____________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ IssueEvent.testEvent_demilestoned_Attributes _________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ IssueEvent.testEvent_head_ref_deleted_Attributes _______________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________ IssueEvent.testEvent_head_ref_restored_Attributes _______________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ IssueEvent.testEvent_labeled_Attributes ____________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ IssueEvent.testEvent_locked_Attributes ____________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ IssueEvent.testEvent_marked_as_duplicate_Attributes ______________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ IssueEvent.testEvent_mentioned_Attributes ___________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ IssueEvent.testEvent_merged_Attributes ____________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ IssueEvent.testEvent_milestoned_Attributes __________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________ IssueEvent.testEvent_moved_columns_in_project_Attributes ___________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ IssueEvent.testEvent_referenced_Attributes __________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ IssueEvent.testEvent_removed_from_project_Attributes _____________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ IssueEvent.testEvent_renamed_Attributes ____________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ IssueEvent.testEvent_reopened_Attributes ___________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ IssueEvent.testEvent_review_dismissed_Attributes _______________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________ IssueEvent.testEvent_review_request_removed_Attributes ____________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ IssueEvent.testEvent_review_requested_Attributes _______________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ IssueEvent.testEvent_subscribed_Attributes __________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ IssueEvent.testEvent_unassigned_Attributes __________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ IssueEvent.testEvent_unlabeled_Attributes ___________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ IssueEvent.testEvent_unlocked_Attributes ___________________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________ IssueEvent.testEvent_unmarked_as_duplicate_Attributes _____________ self = def setUp(self): super().setUp() repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) # From Issue #30 > self.event_subscribed = repo.get_issues_event(16347479) tests/IssueEvent.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:2909: in get_issues_event headers, data = self._requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Label.testAttributes _____________________________ self = def setUp(self): super().setUp() > self.label = self.g.get_user().get_repo("PyGithub").get_label("Bug") tests/Label.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________________ Label.testDelete _______________________________ self = def setUp(self): super().setUp() > self.label = self.g.get_user().get_repo("PyGithub").get_label("Bug") tests/Label.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________________ Label.testEdit ________________________________ self = def setUp(self): super().setUp() > self.label = self.g.get_user().get_repo("PyGithub").get_label("Bug") tests/Label.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ License.testAttributes ____________________________ self = def setUp(self): super().setUp() > self.license = self.g.get_license("mit") tests/License.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:339: in get_license headers, data = self.__requester.requestJsonAndCheck("GET", f"/licenses/{key}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Logging.testLoggingWithBaseUrl ________________________ self = def testLoggingWithBaseUrl(self): # ReplayData forged, not recorded self.assertEqual( > github.Github(base_url="http://my.enterprise.com/my/prefix").get_user("jacquev6").name, "Vincent Jacques", ) tests/Logging_.py:178: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Logging.testLoggingWithBasicAuthentication __________________ self = def testLoggingWithBasicAuthentication(self): > self.assertEqual(github.Github(auth=self.login).get_user().name, "Vincent Jacques") tests/Logging_.py:96: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:284: in name self._completeIfNotSet(self._name) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Logging.testLoggingWithOAuthAuthentication __________________ self = def testLoggingWithOAuthAuthentication(self): > self.assertEqual(github.Github(auth=self.oauth_token).get_user().name, "Vincent Jacques") tests/Logging_.py:123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:284: in name self._completeIfNotSet(self._name) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Logging.testLoggingWithoutAuthentication ___________________ self = def testLoggingWithoutAuthentication(self): > self.assertEqual(github.Github().get_user("jacquev6").name, "Vincent Jacques") tests/Logging_.py:152: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Markdown.testRenderGithubFlavoredMarkdown ___________________ self = def setUp(self): super().setUp() self.text = "MyTitle\n=======\n\nIssue #1" > self.repo = self.g.get_user().get_repo("PyGithub") tests/Markdown.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Markdown.testRenderMarkdown __________________________ self = def setUp(self): super().setUp() self.text = "MyTitle\n=======\n\nIssue #1" > self.repo = self.g.get_user().get_repo("PyGithub") tests/Markdown.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Migration.testAttributes ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.migration = self.user.get_migrations()[0] tests/Migration.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Migration.testDelete _____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.migration = self.user.get_migrations()[0] tests/Migration.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Migration.testGetArchiveUrlWhenDeleted ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.migration = self.user.get_migrations()[0] tests/Migration.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Migration.testGetArchiveUrlWhenExported ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.migration = self.user.get_migrations()[0] tests/Migration.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Migration.testGetArchiveUrlWhenNotExported __________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.migration = self.user.get_migrations()[0] tests/Migration.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Migration.testGetStatus ____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.migration = self.user.get_migrations()[0] tests/Migration.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Migration.testUnlockRepo ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.migration = self.user.get_migrations()[0] tests/Migration.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Milestone.testAttributes ___________________________ self = def setUp(self): super().setUp() > self.milestone = self.g.get_user().get_repo("PyGithub").get_milestone(1) tests/Milestone.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Milestone.testDelete _____________________________ self = def setUp(self): super().setUp() > self.milestone = self.g.get_user().get_repo("PyGithub").get_milestone(1) tests/Milestone.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Milestone.testEditWithAllParameters ______________________ self = def setUp(self): super().setUp() > self.milestone = self.g.get_user().get_repo("PyGithub").get_milestone(1) tests/Milestone.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Milestone.testEditWithMinimalParameters ____________________ self = def setUp(self): super().setUp() > self.milestone = self.g.get_user().get_repo("PyGithub").get_milestone(1) tests/Milestone.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Milestone.testGetLabels ____________________________ self = def setUp(self): super().setUp() > self.milestone = self.g.get_user().get_repo("PyGithub").get_milestone(1) tests/Milestone.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ NamedUser.testAttributesOfOtherUser ______________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ NamedUser.testAttributesOfSelf ________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ NamedUser.testGetEvents ____________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ NamedUser.testGetFollowers __________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ NamedUser.testGetFollowing __________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ NamedUser.testGetGists ____________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ NamedUser.testGetKeys _____________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ NamedUser.testGetOrganizationMembership ____________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ NamedUser.testGetOrganizationMembershipNotMember _______________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ NamedUser.testGetOrgs _____________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ NamedUser.testGetPublicEvents _________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ NamedUser.testGetPublicReceivedEvents _____________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ NamedUser.testGetReceivedEvents ________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ NamedUser.testGetRepo _____________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ NamedUser.testGetRepos ____________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ NamedUser.testGetReposWithAllArgs _______________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ NamedUser.testGetStarred ___________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ NamedUser.testGetSubscriptions ________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ NamedUser.testGetWatched ___________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ NamedUser.testHasInFollowing _________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ NamedUser.testUserEquality __________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("jacquev6") tests/NamedUser.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ NamedUser1430.testGetProjects _________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("ahhda") tests/NamedUser1430.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Notification.testMarkAsRead __________________________ self = def setUp(self): super().setUp() > self.notification = self.g.get_user().get_notifications()[0] tests/Notification.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Organization.testAddMembersAdminRole _____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Organization.testAddMembersDefaultRole ____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Organization.testAttributes __________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Organization.testCreateActionsSecret _____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Organization.testCreateDependabotSecret ____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Organization.testCreateDependabotSecretSelected ________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Organization.testCreateFork __________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Organization.testCreateHookWithAllParameters _________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Organization.testCreateHookWithMinimalParameters _______________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Organization.testCreateMigration _______________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Organization.testCreateRepoFromTemplate ____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________ Organization.testCreateRepoFromTemplateWithAllArguments ____________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Organization.testCreateRepoWithAllArguments __________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Organization.testCreateRepoWithMinimalArguments ________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ Organization.testCreateRepositoryWithAutoInit _________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Organization.testCreateSecretSelected _____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Organization.testCreateTeam __________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Organization.testCreateTeamWithAllArguments __________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Organization.testCreateVariable ________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Organization.testCreateVariableSelected ____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Organization.testDeleteHook __________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Organization.testEditHookWithAllParameters __________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ Organization.testEditHookWithMinimalParameters ________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Organization.testEditWithAllArguments _____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Organization.testEditWithoutArguments _____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Organization.testGetDependabotAlerts _____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ Organization.testGetDependabotAlertsWithAllArguments _____________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Organization.testGetDependabotSecrets _____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Organization.testGetEvents __________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Organization.testGetHook ___________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Organization.testGetHookDeliveries ______________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Organization.testGetHookDelivery _______________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Organization.testGetHooks ___________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Organization.testGetInstallations _______________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Organization.testGetIssues __________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Organization.testGetIssuesWithAllArguments __________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Organization.testGetMembers __________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Organization.testGetMigrations ________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Organization.testGetOutsideCollaborators ___________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Organization.testGetPublicMembers _______________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Organization.testGetRepos ___________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Organization.testGetReposSorted ________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Organization.testGetReposWithType _______________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Organization.testGetSecret __________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Organization.testGetSecrets __________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Organization.testGetSecretsFail ________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Organization.testGetTeamBySlug ________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Organization.testGetTeams ___________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Organization.testGetVariable _________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Organization.testGetVariables _________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Organization.testInviteUserAsNonOwner _____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Organization.testInviteUserByEmail ______________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Organization.testInviteUserByName _______________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Organization.testInviteUserWithBoth ______________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Organization.testInviteUserWithNeither ____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Organization.testInviteUserWithRoleAndTeam __________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Organization.testMembers ___________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Organization.testOrgGetSecretAssertion ____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Organization.testOrgSecretEdit ________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Organization.testOutsideCollaborators _____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Organization.testPublicMembers ________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Organization.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Organization1437.testCreateProject ______________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("PyGithubSampleOrg") tests/Organization1437.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Organization2072.testCancelInvitation _____________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("TestOrganization2072") tests/Organization2072.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ OrganizationHasInMembers.testHasInMembers ___________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("meneal") tests/OrganizationHasInMembers.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ PaginatedList.testCustomPerPage ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ PaginatedList.testCustomPerPageWithGetPage __________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ PaginatedList.testCustomPerPageWithNoUrlParams ________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ PaginatedList.testCustomPerPageWithNoUrlParams2 ________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ PaginatedList.testGetFirstPage ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ PaginatedList.testGetThirdPage ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____ PaginatedList.testGettingTheReversedListDoesNotModifyTheOriginalList _____ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ PaginatedList.testIntIndexingAfterIteration __________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ PaginatedList.testIntIndexingInFirstPage ___________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ PaginatedList.testIntIndexingInThirdPage ___________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ PaginatedList.testInterruptedIteration ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ PaginatedList.testInterruptedIterationInSlice _________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ PaginatedList.testIteration __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________ PaginatedList.testIterationWithPrefetchedFirstPage ______________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ PaginatedList.testMergeDicts _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ PaginatedList.testNoFirstPage _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ PaginatedList.testOverrideAttributes _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ PaginatedList.testReversedIterationSupportsIterator ______________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ PaginatedList.testReversedIterationWithMultiplePages _____________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________ PaginatedList.testReversedIterationWithSinglePage _______________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ PaginatedList.testSeveralIterations ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ PaginatedList.testSliceIndexingInFirstPage __________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ PaginatedList.testSliceIndexingUntilEnd ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ PaginatedList.testSliceIndexingUntilFourthPage ________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ PaginatedList.testTotalCountWithDictionary __________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ PaginatedList.testTotalCountWithNoLastPage __________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks") tests/PaginatedList.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Permissions.testUserRepoPermissionAttributes _________________ self = def setUp(self): super().setUp() > self.userRepo = self.g.get_repo("PyGithub/PyGithub") tests/Permissions.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Permissions.testUserRepoPermissionRepresentation _______________ self = def setUp(self): super().setUp() > self.userRepo = self.g.get_repo("PyGithub/PyGithub") tests/Permissions.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Persistence.testLoad _____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("akfish/PyGithub") tests/Persistence.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Persistence.testLoadAndUpdate _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("akfish/PyGithub") tests/Persistence.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Pickle.testPickleGithub ____________________________ self = def testPickleGithub(self): gh = github.Github() > gh2 = pickle.loads(pickle.dumps(gh)) E AttributeError: 'Requester' object has no attribute '' tests/Pickle.py:38: AttributeError ________________________ Pickle.testPicklePaginatedList ________________________ self = def testPicklePaginatedList(self): gh = github.Github() repo = gh.get_repo(REPO_NAME, lazy=True) branches = repo.get_branches() > branches2 = pickle.loads(pickle.dumps(branches)) E AttributeError: 'Requester' object has no attribute '' tests/Pickle.py:57: AttributeError _________________________ Pickle.testPickleRepository __________________________ self = def testPickleRepository(self): gh = github.Github() repo = gh.get_repo(REPO_NAME, lazy=True) > repo2 = pickle.loads(pickle.dumps(repo)) E AttributeError: 'Requester' object has no attribute '' tests/Pickle.py:47: AttributeError _________________ PoolSize.testReturnsRepoAfterSettingPoolSize _________________ self = def testReturnsRepoAfterSettingPoolSize(self): > repository = self.g.get_repo(REPO_NAME) tests/PoolSize.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ PoolSize.testReturnsRepoAfterSettingPoolSizeHttp _______________ self = def testReturnsRepoAfterSettingPoolSizeHttp(self): g = github.Github( auth=self.login, base_url="http://my.enterprise.com", pool_size=20, ) > repository = g.get_repo(REPO_NAME) tests/PoolSize.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Project.testCreateCardFromIssue ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Project.testCreateCardWithNote ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Project.testCreateColumn ___________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Project.testEditCardArchived _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Project.testEditCardNote ___________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Project.testEditCardWithoutParameters _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Project.testGetAllProjectCards ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Project.testGetOrganizationProjects ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Project.testGetProject ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Project.testGetProjectCardContent _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Project.testGetRepositoryProjects _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Project.testProjectAttributes _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Project.testProjectCardAttributes _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Project.testProjectCardDelete _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Project.testProjectCardMove __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Project.testProjectColumnAttributes ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("PyGithub") tests/Project.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Project1434.testDelete ____________________________ self = def testDelete(self): > project = self.g.get_project(4102095) tests/Project1434.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:464: in get_project headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Project1434.testEditWithAllParameters _____________________ self = def testEditWithAllParameters(self): > project = self.g.get_project(4101939) tests/Project1434.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:464: in get_project headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Project1434.testEditWithoutParameters _____________________ self = def testEditWithoutParameters(self): > project = self.g.get_project(4101939) tests/Project1434.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:464: in get_project headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ ProjectColumn.testCreateCard _________________________ self = def setUp(self): super().setUp() > self.get_project_column = self.g.get_project_column(8700460) tests/ProjectColumn.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:475: in get_project_column headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ ProjectColumn.testDelete ___________________________ self = def setUp(self): super().setUp() > self.get_project_column = self.g.get_project_column(8700460) tests/ProjectColumn.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:475: in get_project_column headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ ProjectColumn.testEdit ____________________________ self = def setUp(self): super().setUp() > self.get_project_column = self.g.get_project_column(8700460) tests/ProjectColumn.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:475: in get_project_column headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ ProjectColumn.testGetAllCards _________________________ self = def setUp(self): super().setUp() > self.get_project_column = self.g.get_project_column(8700460) tests/ProjectColumn.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:475: in get_project_column headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ ProjectColumn.testGetArchivedCards ______________________ self = def setUp(self): super().setUp() > self.get_project_column = self.g.get_project_column(8700460) tests/ProjectColumn.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:475: in get_project_column headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ ProjectColumn.testGetCards __________________________ self = def setUp(self): super().setUp() > self.get_project_column = self.g.get_project_column(8700460) tests/ProjectColumn.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:475: in get_project_column headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ ProjectColumn.testGetNotArchivedCards _____________________ self = def setUp(self): super().setUp() > self.get_project_column = self.g.get_project_column(8700460) tests/ProjectColumn.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:475: in get_project_column headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ ProjectColumn.testGetProjectColumn ______________________ self = def setUp(self): super().setUp() > self.get_project_column = self.g.get_project_column(8700460) tests/ProjectColumn.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:475: in get_project_column headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ ProjectColumn.testMoveAfter __________________________ self = def setUp(self): super().setUp() > self.get_project_column = self.g.get_project_column(8700460) tests/ProjectColumn.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:475: in get_project_column headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ ProjectColumn.testMoveFirst __________________________ self = def setUp(self): super().setUp() > self.get_project_column = self.g.get_project_column(8700460) tests/ProjectColumn.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:475: in get_project_column headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ ProjectColumn.testMoveLast __________________________ self = def setUp(self): super().setUp() > self.get_project_column = self.g.get_project_column(8700460) tests/ProjectColumn.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:475: in get_project_column headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ PublicKey.testAttributes ___________________________ self = def testAttributes(self): > self.public_key = self.g.get_user().get_repo("PyGithub").get_public_key() tests/PublicKey.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ PublicKey.testAttributes_with_int_key_id ___________________ self = def testAttributes_with_int_key_id(self): > self.public_key = self.g.get_user().get_repo("PyGithub").get_public_key() tests/PublicKey.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ PullRequest.testAddAndRemoveAssignees _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ PullRequest.testAddAndRemoveLabels ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________ PullRequest.testAddAndRemoveLabelsWithStringArguments _____________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ PullRequest.testAttributes __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ PullRequest.testAttributesIssue256 ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ PullRequest.testCreateComment _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ PullRequest.testCreateIssueComment ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ PullRequest.testCreateMultilineReviewComment _________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________ PullRequest.testCreateMultilineReviewCommentAsSuggestion ___________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________ PullRequest.testCreateMultilineReviewCommentChoosingSide ___________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ PullRequest.testCreateReviewCommentInReplyTo _________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ PullRequest.testCreateReviewCommentSubjectType ________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ PullRequest.testDeleteAndSetLabels ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________ PullRequest.testDeleteAndSetLabelsWithStringArguments _____________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ PullRequest.testDisableAutomerge _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ PullRequest.testEditWithAllArguments _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ PullRequest.testEditWithoutArguments _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ PullRequest.testEnableAutomerge ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ PullRequest.testEnableAutomergeDefaultValues _________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ PullRequest.testEnableAutomergeError _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________ PullRequest.testEnableAutomergeNotValidMergeMethod ______________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ PullRequest.testGetComments __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ PullRequest.testGetCommits __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ PullRequest.testGetFiles ___________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ PullRequest.testGetIssueComment ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ PullRequest.testGetIssueComments _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ PullRequest.testGetIssueEvents ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ PullRequest.testGetLabels ___________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ PullRequest.testGetReviewComments _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ PullRequest.testMerge _____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ PullRequest.testMergeWithCommitMessage ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ PullRequest.testReviewRequests ________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ PullRequest.testUpdateBranch _________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/PullRequest.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ PullRequest1168.testGetIssue _________________________ self = def setUp(self): super().setUp() > self.notifications = self.g.get_repo("PyGithub/PyGithub").get_notifications(all=True) tests/PullRequest1168.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ PullRequest1168.testGetPullRequest ______________________ self = def setUp(self): super().setUp() > self.notifications = self.g.get_repo("PyGithub/PyGithub").get_notifications(all=True) tests/PullRequest1168.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ PullRequest1169.testReviewApproveWithoutBody _________________ self = def setUp(self): super().setUp() ferada_repo = self.g.get_repo("coleslaw-org/coleslaw", lazy=True) > self.pull = ferada_repo.get_pull(173) tests/PullRequest1169.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:3055: in get_pull headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/pulls/{number}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ PullRequest1375.testCreateReviewCommentReply _________________ self = def setUp(self): super().setUp() > self.pr = self.g.get_repo("rsn491/PyGithub").get_pulls()[0] tests/PullRequest1375.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ PullRequest1682.test_no_parameters ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("ReDASers/Phishing-Detection") tests/PullRequest1682.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ PullRequest1682.test_object_parameters ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("ReDASers/Phishing-Detection") tests/PullRequest1682.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ PullRequest1682.test_string_parameters ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("ReDASers/Phishing-Detection") tests/PullRequest1682.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ PullRequest1684.testDeleteRunnerId ______________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("ReDASers") tests/PullRequest1684.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ PullRequest1684.testDeleteRunnerObject ____________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("ReDASers") tests/PullRequest1684.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ PullRequest1684.testGetRunners ________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("ReDASers") tests/PullRequest1684.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ PullRequest2408.test_get_workflow_runs ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("ReDASers/Phishing-Detection") tests/PullRequest2408.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ PullRequestComment.testAttributes _______________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_pull(31).get_comment(886298) tests/PullRequestComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ PullRequestComment.testCreateReaction _____________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_pull(31).get_comment(886298) tests/PullRequestComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ PullRequestComment.testDelete _________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_pull(31).get_comment(886298) tests/PullRequestComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ PullRequestComment.testDeleteReaction _____________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_pull(31).get_comment(886298) tests/PullRequestComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ PullRequestComment.testEdit __________________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_pull(31).get_comment(886298) tests/PullRequestComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ PullRequestComment.testGetReactions ______________________ self = def setUp(self): super().setUp() > self.comment = self.g.get_user().get_repo("PyGithub").get_pull(31).get_comment(886298) tests/PullRequestComment.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ PullRequestFile.testAttributes ________________________ self = def setUp(self): super().setUp() > self.file = self.g.get_user().get_repo("PyGithub").get_pull(31).get_files()[0] tests/PullRequestFile.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ PullRequestReview.testAttributes _______________________ self = def setUp(self): super().setUp() self.repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) > self.pull = self.repo.get_pull(538) tests/PullRequestReview.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:3055: in get_pull headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/pulls/{number}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ PullRequestReview.testDismiss _________________________ self = def setUp(self): super().setUp() self.repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) > self.pull = self.repo.get_pull(538) tests/PullRequestReview.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:3055: in get_pull headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/pulls/{number}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ PullRequestReview.testDoesNotModifyPullRequest ________________ self = def setUp(self): super().setUp() self.repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) > self.pull = self.repo.get_pull(538) tests/PullRequestReview.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:3055: in get_pull headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/pulls/{number}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ PullRequestReview.testEdit __________________________ self = def setUp(self): super().setUp() self.repo = self.g.get_repo("PyGithub/PyGithub", lazy=True) > self.pull = self.repo.get_pull(538) tests/PullRequestReview.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:3055: in get_pull headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/pulls/{number}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ PullRequestReview1856.testDelete _______________________ self = def setUp(self): super().setUp() pumpkin_repo = self.g.get_repo("CS481-Team-Pumpkin/PyGithub", lazy=True) > self.pumpkin_pull = pumpkin_repo.get_pull(4) tests/PullRequestReview1856.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/Repository.py:3055: in get_pull headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/pulls/{number}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ RateLimiting.testGetRateLimit _________________________ self = def testGetRateLimit(self): > rateLimit = self.g.get_rate_limit() tests/RateLimiting.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:322: in get_rate_limit headers, data = self.__requester.requestJsonAndCheck("GET", "/rate_limit") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ RateLimiting.testRateLimiting _________________________ self = def testRateLimiting(self): > self.assertEqual(self.g.rate_limiting, (4904, 5000)) tests/RateLimiting.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:302: in rate_limiting self.get_rate_limit() github/MainClass.py:322: in get_rate_limit headers, data = self.__requester.requestJsonAndCheck("GET", "/rate_limit") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ RateLimiting.testResetTime __________________________ self = def testResetTime(self): > self.assertEqual(self.g.rate_limiting_resettime, 1684195041) tests/RateLimiting.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:311: in rate_limiting_resettime self.get_rate_limit() github/MainClass.py:322: in get_rate_limit headers, data = self.__requester.requestJsonAndCheck("GET", "/rate_limit") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ RawData.testCompletedObject __________________________ self = def testCompletedObject(self): > user = self.g.get_user("jacquev6") tests/RawData.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ RawData.testNonCompletableObject _______________________ self = def testNonCompletableObject(self): > plan = self.g.get_user().plan tests/RawData.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:304: in plan self._completeIfNotSet(self._plan) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ RawData.testNotYetCompletedObject _______________________ self = def testNotYetCompletedObject(self): > user = self.g.get_user().get_repo("PyGithub").owner tests/RawData.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Reaction.testAttributes ____________________________ self = def setUp(self): super().setUp() > self.reactions = self.g.get_user("PyGithub").get_repo("PyGithub").get_issue(28).get_reactions() tests/Reaction.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Reaction.testDelete ______________________________ self = def setUp(self): super().setUp() > self.reactions = self.g.get_user("PyGithub").get_repo("PyGithub").get_issue(28).get_reactions() tests/Reaction.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ ReleaseAsset.testAttributes __________________________ self = def setUp(self): super().setUp() > self.release = self.g.get_user().get_repo("PyGithub").get_releases()[0] tests/ReleaseAsset.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ ReleaseAsset.testDelete ____________________________ self = def setUp(self): super().setUp() > self.release = self.g.get_user().get_repo("PyGithub").get_releases()[0] tests/ReleaseAsset.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ ReleaseAsset.testUpdate ____________________________ self = def setUp(self): super().setUp() > self.release = self.g.get_user().get_repo("PyGithub").get_releases()[0] tests/ReleaseAsset.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Repository.testAddToCollaboratorsCustomRole __________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testAssignees ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testAttributes ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Repository.testBadSubscribePubSubHubbub ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testCodeScanAlerts _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testCollaboratorPermission _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________ Repository.testCollaboratorPermissionNoPushAccess _______________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testCollaborators _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Repository.testCompare ____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testCompareCommitPagination ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testCreateAutolink _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Repository.testCreateDeployment ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testCreateFile ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testCreateFork ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testCreateForkOrg _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testCreateGitBlob _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testCreateGitCommit ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ Repository.testCreateGitCommitWithAllArguments ________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Repository.testCreateGitCommitWithParents ___________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testCreateGitRef __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Repository.testCreateGitRelease ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ Repository.testCreateGitReleaseGenerateReleaseNotes ______________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Repository.testCreateGitReleaseWithAllArguments ________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testCreateGitTag __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Repository.testCreateGitTagWithAllArguments __________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testCreateGitTree _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Repository.testCreateGitTreeWithBaseTree ___________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Repository.testCreateGitTreeWithNullSha ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Repository.testCreateGitTreeWithSha ______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Repository.testCreateHookWithAllParameters __________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________ Repository.testCreateHookWithMinimalParameters ________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testCreateIssue __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Repository.testCreateIssueWithAllArguments __________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________ Repository.testCreateIssueWithAllArgumentsStringLabel _____________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testCreateKey ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testCreateLabel __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testCreateMilestone ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________ Repository.testCreateMilestoneWithMinimalArguments ______________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testCreateProject _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testCreatePull ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Repository.testCreatePullFromIssue ______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testCreateRepoActionsSecret ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Repository.testCreateRepoDependabotSecret ___________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Repository.testCreateRepositoryDispatch ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Repository.testCreateSourceImport _______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Repository.testDelete _____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testDeleteFile ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Repository.testEditWithAllArguments ______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Repository.testEditWithDefaultBranch _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Repository.testEditWithoutArguments ______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testGetArchiveLink _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testGetAutolinks __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testGetBranch ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testGetComments __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testGetCommits ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testGetCommitsWithArguments ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Repository.testGetCommitsWithAuthor ______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Repository.testGetCommitsWithSinceUntil ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testGetContents __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testGetContentsDir _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testGetContentsDirWithSlash ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Repository.testGetContentsWithRef _______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testGetContributors ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testGetDeployments _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testGetDownloads __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testGetEvents ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testGetForks ____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testGetGitRef ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Repository.testGetGitRefWithIssue102Reverted _________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testGetGitRefs ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testGetGitTreeWithRecursive ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Repository.testGetHookDeliveries _______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testGetHookDelivery ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testGetHooks ____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testGetIssues ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Repository.testGetIssuesComments _______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testGetIssuesEvents ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testGetIssuesWithArguments _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testGetIssuesWithWildcards _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Repository.testGetKeys ____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testGetLabel ____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testGetLabels ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testGetLanguages __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testGetLicense ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testGetMatchingRefs ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testGetMilestones _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Repository.testGetMilestonesWithArguments ___________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Repository.testGetNetworkEvents ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Repository.testGetPendingInvitations _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testGetPulls ____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Repository.testGetPullsComments ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Repository.testGetPullsWithArguments _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Repository.testGetRepositoryWith301Redirect __________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testGetSourceImport ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testGetStargazers _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testGetStargazersWithDates _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testGetSubscribers _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testGetTeams ____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Repository.testGetTopics ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testGetWatchers __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testGetWorkflowId _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testGetWorkflowRuns ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testGetWorkflowRunsCreated _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testGetWorkflows __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Repository.testLegacySearchIssues _______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testMarkNotificationsAsRead ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Repository.testMergeWithConflict _______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Repository.testMergeWithMessage ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Repository.testMergeWithNothingToDo ______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Repository.testMergeWithoutMessage ______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Repository.testRemoveAutolink _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Repository.testRemoveInvitation ________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Repository.testRenameBranchObject _______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Repository.testRenameBranchString _______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testReplaceTopics _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testRepoGetSecretAssertion _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testRepoSecrets __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testRepoVariable __________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Repository.testRepoVariables _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testStatisticsCodeFrequency ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ Repository.testStatisticsCommitActivity ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testStatisticsContributors _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testStatisticsParticipation ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Repository.testStatisticsPunchCard ______________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Repository.testSubscribePubSubHubbub _____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Repository.testUnsubscribePubSubHubbub ____________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ Repository.testUpdateFile ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Repository.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________ LazyRepository.testChangeAutomateFixWhenNoVulnerabilityAlert _________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repository_name = f"{self.user.login}/PyGithub" tests/Repository.py:2005: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ LazyRepository.testDisableAutomatedSecurityFixes _______________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repository_name = f"{self.user.login}/PyGithub" tests/Repository.py:2005: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ LazyRepository.testDisableVulnerabilityAlert _________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repository_name = f"{self.user.login}/PyGithub" tests/Repository.py:2005: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ LazyRepository.testEnableAutomatedSecurityFixes ________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repository_name = f"{self.user.login}/PyGithub" tests/Repository.py:2005: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ LazyRepository.testEnableVulnerabilityAlert __________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repository_name = f"{self.user.login}/PyGithub" tests/Repository.py:2005: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ LazyRepository.testGetIssues _________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repository_name = f"{self.user.login}/PyGithub" tests/Repository.py:2005: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ LazyRepository.testGetVulnerabilityAlert ___________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repository_name = f"{self.user.login}/PyGithub" tests/Repository.py:2005: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________ LazyRepository.testGetVulnerabilityAlertWhenTurnedOff _____________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repository_name = f"{self.user.login}/PyGithub" tests/Repository.py:2005: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ LazyRepository.testOwner ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repository_name = f"{self.user.login}/PyGithub" tests/Repository.py:2005: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ RepositoryAdvisory.testAddVulnerability ____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("security-research") tests/RepositoryAdvisory.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ RepositoryAdvisory.testAttributes _______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("security-research") tests/RepositoryAdvisory.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ RepositoryAdvisory.testCreateRepositoryAdvisory ________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("security-research") tests/RepositoryAdvisory.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ RepositoryAdvisory.testGetAdvisories _____________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("security-research") tests/RepositoryAdvisory.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ RepositoryAdvisory.testOfferCredit ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("security-research") tests/RepositoryAdvisory.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ RepositoryAdvisory.testOfferCredits ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("security-research") tests/RepositoryAdvisory.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ RepositoryAdvisory.testRemoveCredit ______________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("security-research") tests/RepositoryAdvisory.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________ RepositoryAdvisory.testRepositoryWithNoAdvisories _______________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("security-research") tests/RepositoryAdvisory.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ RepositoryAdvisory.testUpdateRepositoryAdvisory ________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("security-research") tests/RepositoryAdvisory.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______ RepositoryAdvisory.testUpdateSingleFieldDoesNotRemoveOtherFields _______ self = def setUp(self): super().setUp() > self.repo = self.g.get_user().get_repo("security-research") tests/RepositoryAdvisory.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ RepositoryKey.testAttributes _________________________ self = def setUp(self): super().setUp() # When recording test, be sure to create a deploy key for yourself on # Github and update it here. > self.key = self.g.get_user("lra").get_repo("mackup").get_key(21870881) tests/RepositoryKey.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ RepositoryKey.testDelete ___________________________ self = def setUp(self): super().setUp() # When recording test, be sure to create a deploy key for yourself on # Github and update it here. > self.key = self.g.get_user("lra").get_repo("mackup").get_key(21870881) tests/RepositoryKey.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Requester.testBaseUrlHostRedirection _____________________ self = def testBaseUrlHostRedirection(self): gh = github.Github(base_url="https://www.github.com") with self.assertRaises(RuntimeError) as exc: > gh.get_repo("PyGithub/PyGithub") tests/Requester.py:188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Requester.testBaseUrlPortRedirection _____________________ self = def testBaseUrlPortRedirection(self): # replay data forged gh = github.Github(base_url="https://api.github.com") with self.assertRaises(RuntimeError) as exc: > gh.get_repo("PyGithub/PyGithub") tests/Requester.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Requester.testBaseUrlPrefixRedirection ____________________ self = def testBaseUrlPrefixRedirection(self): # replay data forged gh = github.Github(base_url="https://api.github.com/api/v3") > self.assertEqual(gh.get_repo("PyGithub/PyGithub").name, "PyGithub") tests/Requester.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Requester.testBaseUrlSchemeRedirection ____________________ self = def testBaseUrlSchemeRedirection(self): gh = github.Github(base_url="http://api.github.com") with self.assertRaises(RuntimeError) as exc: > gh.get_repo("PyGithub/PyGithub") tests/Requester.py:176: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Requester.testLoggingRedirection _______________________ self = def testLoggingRedirection(self): > self.assertEqual(self.g.get_repo("EnricoMi/test").name, "test-renamed") tests/Requester.py:168: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ RequesterUnThrottled.testShouldNotDeferRequests ________________ self = def testShouldNotDeferRequests(self): with self.mock_sleep() as sleep_mock: # same test setup as in RequesterThrottled.testShouldDeferRequests > repository = self.g.get_repo(REPO_NAME) tests/Requester.py:383: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ RequesterThrottled.testShouldDeferRequests __________________ self = def testShouldDeferRequests(self): with self.mock_sleep() as sleep_mock: # same test setup as in RequesterUnThrottled.testShouldNotDeferRequests > repository = self.g.get_repo(REPO_NAME) tests/Requester.py:397: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________ RequesterThrottled.testShouldDeferWrites ___________________ self = def testShouldDeferWrites(self): with self.mock_sleep() as sleep_mock: # same test setup as in AuthenticatedUser.testEmail user = self.g.get_user() > emails = user.get_emails() tests/Requester.py:407: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:672: in get_emails headers, data = self._requester.requestJsonAndCheck("GET", "/user/emails") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ RequiredPullRequestReviews.testAttributes ___________________ self = def setUp(self): super().setUp() self.required_pull_request_reviews = ( > self.g.get_user().get_repo("PyGithub").get_branch("integrations").get_required_pull_request_reviews() ) tests/RequiredPullRequestReviews.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________ RequiredPullRequestReviews.testOrganizationOwnedTeam _____________ self = def setUp(self): super().setUp() self.required_pull_request_reviews = ( > self.g.get_user().get_repo("PyGithub").get_branch("integrations").get_required_pull_request_reviews() ) tests/RequiredPullRequestReviews.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ RequiredStatusChecks.testAttributes ______________________ self = def setUp(self): super().setUp() self.required_status_checks = ( > self.g.get_user().get_repo("PyGithub").get_branch("integrations").get_required_status_checks() ) tests/RequiredStatusChecks.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Retry.testRaisesRetryErrorAfterMaxRetries ___________________ self = def testRaisesRetryErrorAfterMaxRetries(self): with self.assertRaises(requests.exceptions.RetryError): > self.g.get_repo("PyGithub/PyGithub") tests/Retry.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Retry.testReturnsRepoAfter1Retry _______________________ self = def testReturnsRepoAfter1Retry(self): > repository = self.g.get_repo(REPO_NAME) tests/Retry.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Retry.testReturnsRepoAfter3Retries ______________________ self = def testReturnsRepoAfter3Retries(self): > repository = self.g.get_repo(REPO_NAME) tests/Retry.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ Retry.testReturnsRepoAfterSettingRetryHttp __________________ self = def testReturnsRepoAfterSettingRetryHttp(self): g = github.Github( auth=self.login, base_url="http://my.enterprise.com", retry=0, ) # http here > repository = g.get_repo(REPO_NAME) tests/Retry.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:259: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("my.enterprise.com:80"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________ Retry.testShouldNotRetryWhenStatusNotOnList __________________ self = def testShouldNotRetryWhenStatusNotOnList(self): with self.assertRaises(github.GithubException): > self.g.get_repo(REPO_NAME) tests/Retry.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Search.testGetPageOnSearchUsers ________________________ self = def testGetPageOnSearchUsers(self): users = self.g.search_users("", location="Berlin") self.assertEqual( > [u.login for u in users.get_page(7)], [ "ursachec", "bitboxer", "fs111", "michenriksen", "witsch", "booo", "mortice", "r0man", "MikeBild", "mhagger", "bkw", "fwbrasil", "mschneider", "lydiapintscher", "asksven", "iamtimm", "sneak", "kr1sp1n", "Feh", "GordonLesti", "annismckenzie", "eskimoblood", "tsujigiri", "riethmayer", "lauritzthamsen", "scotchi", "peritor", "toto", "hwaxxer", "lukaszklis", ], ) tests/Search.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:289: in get_page headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Search.testPaginateSearchCommits _______________________ self = def testPaginateSearchCommits(self): commits = self.g.search_commits(query="hash:5b0224e868cc9242c9450ef02efbe3097abd7ba2") > self.assertEqual(commits.totalCount, 3) tests/Search.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:192: in totalCount headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Search.testPaginateSearchTopics ________________________ self = def testPaginateSearchTopics(self): repos = self.g.search_topics("python", repositories=">950") > self.assertEqual(repos.totalCount, 6) tests/Search.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:192: in totalCount headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Search.testPaginateSearchUsers ________________________ self = def testPaginateSearchUsers(self): users = self.g.search_users("", location="Berlin") > self.assertListKeyBegin( users, lambda u: u.login, [ "cloudhead", "felixge", "sferik", "rkh", "jezdez", "janl", "marijnh", "nikic", "igorw", "froschi", "svenfuchs", "omz", "chad", "bergie", "roidrage", "pcalcado", "durran", "hukl", "mttkay", "aFarkas", "ole", "hagenburger", "jberkel", "naderman", "joshk", "pudo", "robb", "josephwilk", "hanshuebner", "txus", "paulasmuth", "splitbrain", "langalex", "bendiken", "stefanw", ], ) tests/Search.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Search.testSearchCode _____________________________ self = def testSearchCode(self): files = self.g.search_code("toto", sort="indexed", order="asc", user="jacquev6") > self.assertListKeyEqual( files, lambda f: f.name, [ "Commit.setUp.txt", "PullRequest.testGetFiles.txt", "NamedUser.testGetEvents.txt", "PullRequest.testCreateComment.txt", "PullRequestFile.setUp.txt", "Repository.testGetIssuesWithWildcards.txt", "Repository.testGetIssuesWithArguments.txt", "test_ebnf.cpp", "test_abnf.cpp", "PullRequestFile.py", "SystemCalls.py", "tests.py", "LexerTestCase.py", "ParserTestCase.py", ], ) tests/Search.py:226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:386: in assertListKeyEqual realKeys = [key(element) for element in elements] github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Search.testSearchCommits ___________________________ self = def testSearchCommits(self): commits = self.g.search_commits( query="hash:1265747e992ba7d34a469b6b2f527809f8bf7067", sort="author-date", order="asc", merge="false", ) > self.assertEqual(commits.totalCount, 2) tests/Search.py:210: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:192: in totalCount headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Search.testSearchHighlightingCode _______________________ self = def testSearchHighlightingCode(self): files = self.g.search_code("toto", sort="indexed", order="asc", user="jacquev6", highlight=True) > self.assertTrue(files[0].text_matches) tests/Search.py:254: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Search.testSearchIssues ____________________________ self = def testSearchIssues(self): issues = self.g.search_issues("compile", sort="comments", order="desc", language="C++") > self.assertListKeyBegin( issues, lambda i: i.id, [ 12068673, 23250111, 14371957, 9423897, 24277400, 2408877, 11338741, 13980502, 27697165, 23102422, ], ) tests/Search.py:182: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Search.testSearchRepos ____________________________ self = def testSearchRepos(self): repos = self.g.search_repositories("github", sort="stars", order="desc", language="Python") > self.assertListKeyBegin( repos, lambda r: r.full_name, [ "kennethreitz/legit", "RuudBurger/CouchPotatoV1", "gelstudios/gitfiti", "gpjt/webgl-lessons", "jacquev6/PyGithub", "aaasen/github_globe", "hmason/gitmarks", "dnerdy/factory_boy", "binaryage/drydrop", "bgreenlee/sublime-github", "karan/HackerNewsAPI", "mfenniak/pyPdf", "skazhy/github-decorator", "llvmpy/llvmpy", "lexrupy/gmate", "ask/python-github2", "audreyr/cookiecutter-pypackage", "tabo/django-treebeard", "dbr/tvdb_api", "jchris/couchapp", "joeyespo/grip", "nigelsmall/py2neo", "ask/chishop", "sigmavirus24/github3.py", "jsmits/github-cli", "lincolnloop/django-layout", "amccloud/django-project-skel", "Stiivi/brewery", "webpy/webpy.github.com", "dustin/py-github", "logsol/Github-Auto-Deploy", "cloudkick/libcloud", "berkerpeksag/github-badge", "bitprophet/ssh", "azavea/OpenTreeMap", ], ) tests/Search.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Search.testSearchReposWithNoResults ______________________ self = def testSearchReposWithNoResults(self): repos = self.g.search_repositories("doesnotexist") > self.assertEqual(repos.totalCount, 0) tests/Search.py:178: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:192: in totalCount headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Search.testSearchTopics ____________________________ self = def testSearchTopics(self): topics = self.g.search_topics("python", repositories=">950") > self.assertListKeyBegin( topics, lambda r: r.name, ["python", "django", "flask", "ruby", "scikit-learn", "wagtail"], ) tests/Search.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/Framework.py:390: in assertListKeyBegin realKeys = [key(element) for element in elements[: len(expectedKeys)]] github/PaginatedList.py:110: in __iter__ yield self.__list[index] github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Search.testSearchUsers ____________________________ self = def testSearchUsers(self): users = self.g.search_users("vincent", sort="followers", order="desc") > self.assertEqual(users.totalCount, 2781) tests/Search.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:192: in totalCount headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Search.testUrlquotingOfQualifiers _______________________ self = def testUrlquotingOfQualifiers(self): # Example taken from #236 issues = self.g.search_issues("repo:saltstack/salt-api type:Issues", updated=">2014-03-04T18:28:11Z") > self.assertEqual(issues[0].id, 29138794) tests/Search.py:259: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ Search.testUrlquotingOfQuery _________________________ self = def testUrlquotingOfQuery(self): # Example taken from #236 issues = self.g.search_issues("repo:saltstack/salt-api type:Issues updated:>2014-03-04T18:28:11Z") > self.assertEqual(issues[0].id, 29138794) tests/Search.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:76: in __getitem__ self.__fetchToIndex(index) github/PaginatedList.py:92: in __fetchToIndex self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ SelfHostedActionsRunner.testAttributes ____________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("ReDASers") tests/SelfHostedActionsRunner.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _________________________ SourceImport.testAttributes __________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("brix4dayz") tests/SourceImport.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ SourceImport.testUpdate ____________________________ self = def setUp(self): super().setUp() > self.user = self.g.get_user("brix4dayz") tests/SourceImport.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:367: in get_user headers, data = self.__requester.requestJsonAndCheck("GET", f"/users/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________________ Tag.testAttributes ______________________________ self = def setUp(self): super().setUp() > self.tag = self.g.get_user().get_repo("PyGithub").get_tags()[0] tests/Tag.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Team.testAttributes ______________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Team.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________________ Team.testDelete ________________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Team.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Team.testDiscussions _____________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Team.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Team.testEditWithAllArguments _________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Team.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Team.testEditWithoutArguments _________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Team.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________________ Team.testGetTeams _______________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Team.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________________ Team.testMembers _______________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Team.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Team.testRepoPermission ____________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Team.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________________ Team.testRepos ________________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Team.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Team.testTeamMembership ____________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Team.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ________________________ Team.testUpdateTeamRepository _________________________ self = def setUp(self): super().setUp() > self.org = self.g.get_organization("BeaverSoftware") tests/Team.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:396: in get_organization headers, data = self.__requester.requestJsonAndCheck("GET", f"/orgs/{login}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Topic.testAllFields ______________________________ self = def setUp(self): super().setUp() > self.topics = list(self.g.search_topics("python")) tests/Topic.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Topic.testNamesFromSearchResults _______________________ self = def setUp(self): super().setUp() > self.topics = list(self.g.search_topics("python")) tests/Topic.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/PaginatedList.py:84: in __iter__ newElements = self._grow() github/PaginatedList.py:95: in _grow newElements = self._fetchNextPage() github/PaginatedList.py:244: in _fetchNextPage headers, data = self.__requester.requestJsonAndCheck( github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ Traffic.testGetClones _____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Traffic.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Traffic.testGetPaths _____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Traffic.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Traffic.testGetReferrers ___________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Traffic.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________________ Traffic.testGetViews _____________________________ self = def setUp(self): super().setUp() self.user = self.g.get_user() > self.repo = self.user.get_repo("PyGithub") tests/Traffic.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:848: in get_repo headers, data = self._requester.requestJsonAndCheck("GET", f"/repos/{self.login}/{name}") github/AuthenticatedUser.py:279: in login self._completeIfNotSet(self._login) github/GithubObject.py:416: in _completeIfNotSet self._completeIfNeeded() github/GithubObject.py:420: in _completeIfNeeded self.__complete() github/GithubObject.py:425: in __complete headers, data = self._requester.requestJsonAndCheck("GET", self._url.value) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ UserKey.testAttributes ____________________________ self = def setUp(self): super().setUp() > self.key = self.g.get_user().get_key(2626650) tests/UserKey.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:776: in get_key headers, data = self._requester.requestJsonAndCheck("GET", f"/user/keys/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________________ UserKey.testDelete ______________________________ self = def setUp(self): super().setUp() > self.key = self.g.get_user().get_key(2626650) tests/UserKey.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/AuthenticatedUser.py:776: in get_key headers, data = self._requester.requestJsonAndCheck("GET", f"/user/keys/{id}") github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ Workflow.testAttributes ____________________________ self = def setUp(self): super().setUp() > self.workflow = self.g.get_repo("PyGithub/PyGithub").get_workflow("check.yml") tests/Workflow.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________ Workflow.testCreateDispatchForNonTriggerEnabled ________________ self = def setUp(self): super().setUp() > self.workflow = self.g.get_repo("PyGithub/PyGithub").get_workflow("check.yml") tests/Workflow.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Workflow.testCreateDispatchWithBranch _____________________ self = def setUp(self): super().setUp() > self.workflow = self.g.get_repo("PyGithub/PyGithub").get_workflow("check.yml") tests/Workflow.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________ Workflow.testCreateDispatchWithString _____________________ self = def setUp(self): super().setUp() > self.workflow = self.g.get_repo("PyGithub/PyGithub").get_workflow("check.yml") tests/Workflow.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ______________________ Workflow.testCreateDispatchWithTag ______________________ self = def setUp(self): super().setUp() > self.workflow = self.g.get_repo("PyGithub/PyGithub").get_workflow("check.yml") tests/Workflow.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Workflow.testGetRunsWithCreated ________________________ self = def setUp(self): super().setUp() > self.workflow = self.g.get_repo("PyGithub/PyGithub").get_workflow("check.yml") tests/Workflow.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Workflow.testGetRunsWithHeadSha ________________________ self = def setUp(self): super().setUp() > self.workflow = self.g.get_repo("PyGithub/PyGithub").get_workflow("check.yml") tests/Workflow.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _____________________ Workflow.testGetRunsWithNoArguments ______________________ self = def setUp(self): super().setUp() > self.workflow = self.g.get_repo("PyGithub/PyGithub").get_workflow("check.yml") tests/Workflow.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Workflow.testGetRunsWithObjects ________________________ self = def setUp(self): super().setUp() > self.workflow = self.g.get_repo("PyGithub/PyGithub").get_workflow("check.yml") tests/Workflow.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError _______________________ Workflow.testGetRunsWithStrings ________________________ self = def setUp(self): super().setUp() > self.workflow = self.g.get_repo("PyGithub/PyGithub").get_workflow("check.yml") tests/Workflow.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ WorkflowJob.testAttributes __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/WorkflowJob.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________________ WorkflowRun.testAttributes __________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/WorkflowRun.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ WorkflowRun.test_cancel ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/WorkflowRun.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ WorkflowRun.test_delete ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/WorkflowRun.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ WorkflowRun.test_jobs _____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/WorkflowRun.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ____________________________ WorkflowRun.test_rerun ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/WorkflowRun.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError __________________ WorkflowRun.test_rerun_with_successful_run __________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/WorkflowRun.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ___________________________ WorkflowRun.test_timing ____________________________ self = def setUp(self): super().setUp() > self.repo = self.g.get_repo("PyGithub/PyGithub") tests/WorkflowRun.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ github/MainClass.py:433: in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) github/Requester.py:548: in requestJsonAndCheck return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url))) github/Requester.py:713: in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) github/Requester.py:810: in __requestEncode status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input) github/Requester.py:844: in __requestRaw response = cnx.getresponse() tests/Framework.py:254: in getresponse response = self.__cnx.getresponse() github/Requester.py:196: in getresponse r = verb( /usr/lib/python3.13/site-packages/requests/sessions.py:602: in get return self.request("GET", url, **kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3.13/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) /usr/lib/python3.13/site-packages/requests/adapters.py:668: in send resp = conn.urlopen( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:787: in urlopen response = self._make_request( /usr/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in _make_request response = conn.getresponse() /usr/lib/python3.13/site-packages/urllib3/connection.py:513: in getresponse _shutdown = getattr(self.sock, "shutdown", None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = httpretty.core.socket("api.github.com:443"), name = 'shutdown' def __getattr__(self, name): if name in ('getsockopt', 'selected_alpn_protocol') and not self.truesock: self.truesock = self.create_socket() elif httpretty.allow_net_connect and not self.truesock: # can't call self.connect_truesock() here because we # don't know if user wants to execute server of client # calls (or can they?) self.truesock = self.create_socket() elif not self.truesock: # Special case for # `hasattr(sock, "version")` call added in urllib3>=1.26. if name == 'version': raise AttributeError( "HTTPretty synthesized this error to fix urllib3 compatibility " "(see issue https://github.com/gabrielfalcao/HTTPretty/issues/409). " "Please open an issue if this error causes further unexpected issues." ) > raise UnmockedError('Failed to socket.{} because because a real socket does not exist'.format(name)) E httpretty.errors.UnmockedError: Failed to socket.shutdown because because a real socket does not exist E E 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. /usr/lib/python3.13/site-packages/httpretty/core.py:894: UnmockedError ---------- coverage: platform linux, python 3.13.1-final-0 ----------- Coverage XML written to file coverage.xml =========================== short test summary info ============================ FAILED tests/ApplicationOAuth.py::ApplicationOAuth::testEnterpriseGetAccessToken - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ApplicationOAuth.py::ApplicationOAuth::testGetAccessToken - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ApplicationOAuth.py::ApplicationOAuth::testGetAccessTokenBadCode - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ApplicationOAuth.py::ApplicationOAuth::testGetAccessTokenUnknownError - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ApplicationOAuth.py::ApplicationOAuth::testGetAccessTokenWithExpiry - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ApplicationOAuth.py::ApplicationOAuth::testRefreshAccessToken - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ApplicationOAuth.py::ApplicationOAuth::testRefreshAccessTokenBadCode - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ApplicationOAuth.py::ApplicationOAuth::testRefreshAccessTokenUnknownError - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Artifact.py::Artifact::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Artifact.py::Artifact::testGetArtifactsFromRepo - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Artifact.py::Artifact::testGetArtifactsFromRepoWithName - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Artifact.py::Artifact::testGetArtifactsFromWorkflow - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Artifact.py::Artifact::testGetNonexistentArtifact - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Artifact.py::Artifact::testGetSingleArtifactFromRepo - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testAcceptInvitation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateAuthorizationWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateAuthorizationWithClientIdAndSecret - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateAuthorizationWithoutArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateFork - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateGist - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateGistWithoutDescription - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateKey - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateMigration - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateProject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateRepoFromTemplate - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateRepoFromTemplateWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateRepository - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateRepositoryWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testCreateRepositoryWithAutoInit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testEditWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testEditWithoutArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testEmails - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testFollowing - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetAuthorizations - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetGists - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetInvitations - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetIssues - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetIssuesWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetKeys - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetMigrations - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetNotification - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetNotifications - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetNotificationsWithOtherArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetOrganizationEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetOrgs - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetRepos - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetReposWithArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetStarredGists - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetTeams - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetUserIssues - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testGetUserIssuesWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testInstallations - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testMarkNotificationsAsRead - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testStarring - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testSubscriptions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/AuthenticatedUser.py::AuthenticatedUser::testWatching - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testAppAuthAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testAppAuthTokenAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testAppAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testAppInstallationAuthAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testAppUserAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testAuthorizationHeaderWithLogin - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testAuthorizationHeaderWithToken - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testBasicAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testJWTAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testLoginAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testNoAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testOAuthAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testTokenAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authentication.py::Authentication::testUserAgent - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authorization.py::Authorization::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authorization.py::Authorization::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Authorization.py::Authorization::testEdit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Autolink.py::Autolink::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/BadAttributes.py::BadAttributes::testBadAttributeInClassAttribute - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/BadAttributes.py::BadAttributes::testBadAttributeTransformation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/BadAttributes.py::BadAttributes::testBadSimpleAttribute - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/BadAttributes.py::BadAttributes::testBadSimpleAttributeInList - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/BadAttributes.py::BadAttributes::testBadTransformedAttribute - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/BadAttributes.py::BadAttributes::testBadTransformedAttributeInDict - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/BadAttributes.py::BadAttributes::testBadTransformedAttributeInList - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/BadAttributes.py::BadAttributes::testIssue195 - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testAddRequiredSignatures - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testAddTeamPushRestrictions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testAddUserPushRestrictions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testAdminEnforcement - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testAllowDeletions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testEditProtection - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testEditProtectionDismissalUsersWithUserOwnedBranch - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testEditProtectionPushRestrictionsAndDismissalUser - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testEditProtectionPushRestrictionsWithUserOwnedBranch - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testEditRequiredPullRequestReviews - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testEditRequiredPullRequestReviewsWithTooLargeApprovingReviewCount - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testEditRequiredPullRequestReviewsWithUserBranchAndDismissalUsers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testEditRequiredStatusChecks - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testGetRequiredSignatures - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testRemoveProtection - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testRemovePushRestrictions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testRemoveRequiredPullRequestReviews - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testRemoveRequiredSignatures - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testRemoveRequiredStatusChecks - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testRemoveTeamPushRestrictions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testRemoveUserPushRestrictions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testReplaceTeamPushRestrictions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Branch.py::Branch::testReplaceUserPushRestrictions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/BranchProtection.py::BranchProtection::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testCheckRunAnnotationAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testCheckRunOutputAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testCreateCheckRunCompleted - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testCreateCheckRunInProgress - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testGetCheckRunsForRef - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testGetCheckRunsForRefFilterByCheckName - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testGetCheckRunsForRefFilterByFilter - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testGetCheckRunsForRefFilterByStatus - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testListCheckRunAnnotations - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testUpdateCheckRunAll - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testUpdateCheckRunFailure - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckRun.py::CheckRun::testUpdateCheckRunSuccess - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckSuite.py::CheckSuite::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckSuite.py::CheckSuite::testCheckSuiteRerequest - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckSuite.py::CheckSuite::testCreateCheckSuite - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckSuite.py::CheckSuite::testGetCheckRuns - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckSuite.py::CheckSuite::testGetCheckRunsFilterByCheckName - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckSuite.py::CheckSuite::testGetCheckRunsFilterByFilter - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckSuite.py::CheckSuite::testGetCheckRunsFilterByStatus - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckSuite.py::CheckSuite::testGetCheckSuitesForRef - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckSuite.py::CheckSuite::testGetCheckSuitesForRefFilterByAppId - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckSuite.py::CheckSuite::testGetCheckSuitesForRefFilterByCheckName - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CheckSuite.py::CheckSuite::testUpdateCheckSuitesPreferences - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Commit.py::Commit::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Commit.py::Commit::testCreateComment - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Commit.py::Commit::testCreateCommentOnFileLine - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Commit.py::Commit::testCreateCommentOnFilePosition - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Commit.py::Commit::testCreateStatusWithAllParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Commit.py::Commit::testCreateStatusWithoutOptionalParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Commit.py::Commit::testGetComments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Commit.py::Commit::testGetPulls - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CommitCombinedStatus.py::CommitCombinedStatus::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CommitComment.py::CommitComment::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CommitComment.py::CommitComment::testCreateReaction - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CommitComment.py::CommitComment::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CommitComment.py::CommitComment::testDeleteReaction - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CommitComment.py::CommitComment::testEdit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CommitComment.py::CommitComment::testGetReactions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/CommitStatus.py::CommitStatus::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ConditionalRequestUpdate.py::ConditionalRequestUpdate::testDidNotUpdate - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ConditionalRequestUpdate.py::ConditionalRequestUpdate::testDidUpdate - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ConditionalRequestUpdate.py::ConditionalRequestUpdate::testUpdateObjectWithoutEtag - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Connection.py::testRecordAndReplay[ReplayingHttpConnection-http-{"body":"BODY TEXT"}-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\n{"body":"BODY TEXT"}\n\n] - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Connection.py::testRecordAndReplay[ReplayingHttpConnection-http-{"body":"BODY\xa0TEXT"}-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\n{"body":"BODY\xa0TEXT"}\n\n] - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Connection.py::testRecordAndReplay[ReplayingHttpConnection-http-BODY TEXT-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY TEXT\n\n] - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Connection.py::testRecordAndReplay[ReplayingHttpConnection-http-BODY\xa0TEXT-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY\xa0TEXT\n\n] - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Connection.py::testRecordAndReplay[ReplayingHttpsConnection-https-{"body":"BODY TEXT"}-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\n{"body":"BODY TEXT"}\n\n] - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Connection.py::testRecordAndReplay[ReplayingHttpsConnection-https-{"body":"BODY\xa0TEXT"}-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\n{"body":"BODY\xa0TEXT"}\n\n] - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Connection.py::testRecordAndReplay[ReplayingHttpsConnection-https-BODY TEXT-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY TEXT\n\n] - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Connection.py::testRecordAndReplay[ReplayingHttpsConnection-https-BODY\xa0TEXT-\nGET\napi.github.com\nNone\n/user\n{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}\nNone\n200\n[]\nBODY\xa0TEXT\n\n] - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ContentFile.py::ContentFile::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/DependabotAlert.py::DependabotAlert::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/DependabotAlert.py::DependabotAlert::testGetAlertsWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/DependabotAlert.py::DependabotAlert::testMultipleAlerts - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/DependabotAlert.py::DependabotAlert::testRepr - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/DependabotAlert.py::DependabotAlert::testUpdateAlertDismissed - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/DependabotAlert.py::DependabotAlert::testUpdateAlertDismissedWithoutReason - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/DependabotAlert.py::DependabotAlert::testUpdateAlertOpen - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Deployment.py::Deployment::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/DeploymentStatus.py::DeploymentStatus::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/DeploymentStatus.py::DeploymentStatus::testCreate - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/DeploymentStatus.py::DeploymentStatus::testGetStatuses - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Download.py::Download::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Download.py::Download::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Enterprise.py::Enterprise::testHttp - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Enterprise.py::Enterprise::testHttps - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Enterprise.py::Enterprise::testLongUrl - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Enterprise.py::Enterprise::testSpecificPort - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/EnterpriseAdmin.py::EnterpriseAdmin::testGetConsumedLicenses - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/EnterpriseAdmin.py::EnterpriseAdmin::testGetEnterpriseUsers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Environment.py::Environment::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Environment.py::Environment::testCreateEnvironment - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Environment.py::Environment::testDeleteEnvironment - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Environment.py::Environment::testEnvironmentSecret - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Environment.py::Environment::testEnvironmentSecrets - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Environment.py::Environment::testEnvironmentVariable - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Environment.py::Environment::testEnvironmentVariables - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Environment.py::Environment::testGetEnvironments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Environment.py::Environment::testProtectionRules - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Environment.py::Environment::testReviewers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Environment.py::Environment::testUpdateEnvironment - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Equality.py::Equality::testBranchEquality - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Equality.py::Equality::testUserDifference - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Equality.py::Equality::testUserEquality - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Event.py::Event::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::Exceptions::testBadAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::Exceptions::testInvalidInput - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::Exceptions::testJSONParseError - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::Exceptions::testNonJsonDataReturnedByGithub - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::Exceptions::testUnknownObject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::Exceptions::testUnknownUser - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::SpecificExceptions::test2FARequired - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::SpecificExceptions::testAuthenticatedRateLimitExceeded - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::SpecificExceptions::testBadCredentials - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::SpecificExceptions::testBadUserAgent - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::SpecificExceptions::testRateLimitExceeded - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Exceptions.py::SpecificExceptions::testUnknownObject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ExposeAllAttributes.py::ExposeAllAttributes::testAllClasses - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Gist.py::Gist::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Gist.py::Gist::testCreateComment - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Gist.py::Gist::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Gist.py::Gist::testDeleteFile - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Gist.py::Gist::testEditWithAllParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Gist.py::Gist::testEditWithoutParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Gist.py::Gist::testFork - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Gist.py::Gist::testGetComments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Gist.py::Gist::testRenameFile - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Gist.py::Gist::testStarring - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GistComment.py::GistComment::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GistComment.py::GistComment::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GistComment.py::GistComment::testEdit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitBlob.py::GitBlob::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitCommit.py::GitCommit::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitMembership.py::GitMembership::testGetMembership - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRef.py::GitRef::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRef.py::GitRef::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRef.py::GitRef::testEdit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRef.py::GitRef::testEditWithForce - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRelease.py::GitRelease::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRelease.py::GitRelease::testCreateGitTagAndRelease - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRelease.py::GitRelease::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRelease.py::GitRelease::testGetAssets - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRelease.py::GitRelease::testGetLatestRelease - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRelease.py::GitRelease::testGetRelease - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRelease.py::GitRelease::testUpdate - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRelease.py::GitRelease::testUploadAsset - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRelease.py::GitRelease::testUploadAssetFileLike - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRelease.py::GitRelease::testUploadAssetFromMemory - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitRelease.py::GitRelease::testUploadAssetWithName - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitTag.py::GitTag::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GitTree.py::GitTree::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubApp.py::GithubApp::testGetAuthenticatedApp - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubApp.py::GithubApp::testGetPublicApp - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testAppAuth - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testDeprecatedAppAuth - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetAccessToken - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetAccessTokenForNoInstallation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetAccessTokenWithExpiredJWT - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetAccessTokenWithInvalidPermissions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetApp - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetAppInstallation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetGithubForInstallation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetInstallationNotFound - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetInstallationWithExpiredJWT - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetInstallations - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetOrgInstallation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetRepoInstallation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GithubIntegration.py::GithubIntegration::testGetUserInstallation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetEmojis - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetGists - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetGistsWithSince - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetGitignoreTemplate - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetGitignoreTemplates - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetGlobalAdvisories - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetGlobalAdvisoriesByCVE - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetGlobalAdvisoriesByGHSA - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... (affects=['directus', 'made_up'], cwes=[200, 900], modified='>2023-07-01') SUBFAIL tests/Github_.py::Github::testGetGlobalAdvisoriesManyFilters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... (affects=['directus'], cwes=['200', '900'], updated='>2023-07-01') SUBFAIL tests/Github_.py::Github::testGetGlobalAdvisoriesManyFilters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... (affects='directus', cwes='200,900', published='>2023-07-01') SUBFAIL tests/Github_.py::Github::testGetGlobalAdvisoriesManyFilters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetGlobalAdvisoriesManyFilters - AssertionError: 'https' != '' FAILED tests/Github_.py::Github::testGetHook - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetHookDeliveries - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetHookDelivery - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetHooks - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetLicense - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetLicenses - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetOrganizations - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetOrganizationsSince - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetRepoFromFullName - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetRepoFromId - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetRepos - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetReposSince - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetUserById - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetUsers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Github_.py::Github::testGetUsersSince - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GlobalAdvisory.py::GlobalAdvisory::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GlobalAdvisory.py::GlobalAdvisory::testNewlyReleased - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GraphQl.py::GraphQl::testDefaultUrl - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GraphQl.py::GraphQl::testOtherPort - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/GraphQl.py::GraphQl::testOtherUrl - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Hook.py::Hook::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Hook.py::Hook::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Hook.py::Hook::testEditWithAllParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Hook.py::Hook::testEditWithMinimalParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Hook.py::Hook::testPing - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Hook.py::Hook::testTest - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Installation.py::Installation::testGetGithubForInstallation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Installation.py::Installation::testGetRepos - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testAddAndRemoveAssignees - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testAddAndRemoveLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testAddAndRemoveLabelsWithStringArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testCreateComment - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testCreateReaction - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testDeleteAndSetLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testDeleteAndSetLabelsWithStringArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testDeleteReaction - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testEditResetAssignee - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testEditResetMilestone - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testEditWithAllParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testEditWithStateReasonNotPlanned - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testEditWithStateReasonReopened - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testEditWithoutParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testGetComments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testGetCommentsSince - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testGetEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testGetLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testGetReactions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testGetTimeline - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testLock - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue.py::Issue::testUnlock - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue131.py::Issue131::testGetPullWithOrgHeadUser - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue131.py::Issue131::testGetPullsWithOrgHeadUser - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue133.py::Issue133::testGetPageWithoutInitialArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue134.py::Issue134::testGetAuthorizationsFailsWhenAutenticatedThroughOAuth - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue134.py::Issue134::testGetAuthorizationsSucceedsWhenAutenticatedThroughLoginPassword - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue134.py::Issue134::testGetOAuthScopesFromHeader - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue139.py::Issue139::testCompletion - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue140.py::Issue140::testGetDirContentsThenLazyCompletionOfFile - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue140.py::Issue140::testGetDirContentsWithRef - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue140.py::Issue140::testGetFileContents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue142.py::Issue142::testDecodeJson - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue174.py::Issue174::testGetDirContentsWhithHttpRedirect - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue2030.py::Organization::testIssue2030CreateProject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue214.py::Issue214::testAssignees - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue214.py::Issue214::testCollaborators - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue214.py::Issue214::testCreateIssue - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue214.py::Issue214::testEditIssue - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue214.py::Issue214::testGetIssues - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue216.py::Issue216::testIteration - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue278.py::Issue278::testIteration - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue33.py::Issue33::testClosedIssues - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue33.py::Issue33::testOpenIssues - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue494.py::Issue494::testRepr - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue50.py::Issue50::testAddLabelToIssue - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue50.py::Issue50::testCreateIssueWithLabel - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue50.py::Issue50::testCreateLabel - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue50.py::Issue50::testGetIssuesWithLabel - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue50.py::Issue50::testGetLabel - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue50.py::Issue50::testGetLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue50.py::Issue50::testIssueGetLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue50.py::Issue50::testIssueLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue50.py::Issue50::testRemoveLabelFromIssue - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue50.py::Issue50::testSetIssueLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue54.py::Issue54::testConversion - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue572.py::Issue572::testIssueAsPullRequest - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue572.py::Issue572::testPullReqeustAsIssue - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue80.py::Issue80::testIgnoreHttpsFromGithubEnterprise - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue80.py::Issue80::testIgnoreHttpsFromGithubEnterpriseWithPort - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue823.py::Issue823::testGetPendingInvitationAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue87.py::Issue87::testCreateIssueWithEscapedPercentInBody - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue87.py::Issue87::testCreateIssueWithEscapedPercentInTitle - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue87.py::Issue87::testCreateIssueWithPercentInBody - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue87.py::Issue87::testCreateIssueWithPercentInTitle - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue937.py::Issue937::testCollaboratorsAffiliation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Issue945.py::Issue945::testReservedPaginatedListAttributePreservation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueComment.py::IssueComment::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueComment.py::IssueComment::testCreateReaction - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueComment.py::IssueComment::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueComment.py::IssueComment::testDeleteReaction - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueComment.py::IssueComment::testEdit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueComment.py::IssueComment::testGetReactions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_added_to_project_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_assigned_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_base_ref_changed_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_closed_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_converted_note_to_issue_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_demilestoned_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_head_ref_deleted_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_head_ref_restored_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_labeled_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_locked_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_marked_as_duplicate_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_mentioned_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_merged_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_milestoned_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_moved_columns_in_project_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_referenced_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_removed_from_project_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_renamed_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_reopened_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_review_dismissed_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_review_request_removed_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_review_requested_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_subscribed_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_unassigned_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_unlabeled_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_unlocked_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/IssueEvent.py::IssueEvent::testEvent_unmarked_as_duplicate_Attributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Label.py::Label::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Label.py::Label::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Label.py::Label::testEdit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/License.py::License::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Logging_.py::Logging::testLoggingWithBaseUrl - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Logging_.py::Logging::testLoggingWithBasicAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Logging_.py::Logging::testLoggingWithOAuthAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Logging_.py::Logging::testLoggingWithoutAuthentication - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Markdown.py::Markdown::testRenderGithubFlavoredMarkdown - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Markdown.py::Markdown::testRenderMarkdown - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Migration.py::Migration::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Migration.py::Migration::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Migration.py::Migration::testGetArchiveUrlWhenDeleted - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Migration.py::Migration::testGetArchiveUrlWhenExported - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Migration.py::Migration::testGetArchiveUrlWhenNotExported - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Migration.py::Migration::testGetStatus - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Migration.py::Migration::testUnlockRepo - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Milestone.py::Milestone::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Milestone.py::Milestone::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Milestone.py::Milestone::testEditWithAllParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Milestone.py::Milestone::testEditWithMinimalParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Milestone.py::Milestone::testGetLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testAttributesOfOtherUser - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testAttributesOfSelf - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetFollowers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetFollowing - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetGists - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetKeys - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetOrganizationMembership - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetOrganizationMembershipNotMember - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetOrgs - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetPublicEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetPublicReceivedEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetReceivedEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetRepo - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetRepos - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetReposWithAllArgs - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetStarred - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetSubscriptions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testGetWatched - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testHasInFollowing - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser.py::NamedUser::testUserEquality - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/NamedUser1430.py::NamedUser1430::testGetProjects - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Notification.py::Notification::testMarkAsRead - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testAddMembersAdminRole - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testAddMembersDefaultRole - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateActionsSecret - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateDependabotSecret - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateDependabotSecretSelected - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateFork - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateHookWithAllParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateHookWithMinimalParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateMigration - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateRepoFromTemplate - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateRepoFromTemplateWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateRepoWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateRepoWithMinimalArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateRepositoryWithAutoInit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateSecretSelected - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateTeam - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateTeamWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateVariable - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testCreateVariableSelected - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testDeleteHook - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testEditHookWithAllParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testEditHookWithMinimalParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testEditWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testEditWithoutArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetDependabotAlerts - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetDependabotAlertsWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetDependabotSecrets - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetHook - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetHookDeliveries - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetHookDelivery - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetHooks - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetInstallations - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetIssues - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetIssuesWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetMembers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetMigrations - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetOutsideCollaborators - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetPublicMembers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetRepos - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetReposSorted - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetReposWithType - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetSecret - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetSecrets - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetSecretsFail - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetTeamBySlug - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetTeams - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetVariable - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testGetVariables - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testInviteUserAsNonOwner - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testInviteUserByEmail - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testInviteUserByName - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testInviteUserWithBoth - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testInviteUserWithNeither - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testInviteUserWithRoleAndTeam - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testMembers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testOrgGetSecretAssertion - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testOrgSecretEdit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testOutsideCollaborators - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization.py::Organization::testPublicMembers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization1437.py::Organization1437::testCreateProject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Organization2072.py::Organization2072::testCancelInvitation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/OrganizationHasInMembers.py::OrganizationHasInMembers::testHasInMembers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testCustomPerPage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testCustomPerPageWithGetPage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testCustomPerPageWithNoUrlParams - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testCustomPerPageWithNoUrlParams2 - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testGetFirstPage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testGetThirdPage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testGettingTheReversedListDoesNotModifyTheOriginalList - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testIntIndexingAfterIteration - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testIntIndexingInFirstPage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testIntIndexingInThirdPage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testInterruptedIteration - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testInterruptedIterationInSlice - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testIteration - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testIterationWithPrefetchedFirstPage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testMergeDicts - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testNoFirstPage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testOverrideAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testReversedIterationSupportsIterator - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testReversedIterationWithMultiplePages - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testReversedIterationWithSinglePage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testSeveralIterations - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testSliceIndexingInFirstPage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testSliceIndexingUntilEnd - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testSliceIndexingUntilFourthPage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testTotalCountWithDictionary - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PaginatedList.py::PaginatedList::testTotalCountWithNoLastPage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Permissions.py::Permissions::testUserRepoPermissionAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Permissions.py::Permissions::testUserRepoPermissionRepresentation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Persistence.py::Persistence::testLoad - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Persistence.py::Persistence::testLoadAndUpdate - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Pickle.py::Pickle::testPickleGithub - AttributeError: 'Requester' object has no attribute '' FAILED tests/Pickle.py::Pickle::testPicklePaginatedList - AttributeError: 'Requester' object has no attribute '' FAILED tests/Pickle.py::Pickle::testPickleRepository - AttributeError: 'Requester' object has no attribute '' FAILED tests/PoolSize.py::PoolSize::testReturnsRepoAfterSettingPoolSize - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PoolSize.py::PoolSize::testReturnsRepoAfterSettingPoolSizeHttp - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testCreateCardFromIssue - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testCreateCardWithNote - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testCreateColumn - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testEditCardArchived - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testEditCardNote - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testEditCardWithoutParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testGetAllProjectCards - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testGetOrganizationProjects - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testGetProject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testGetProjectCardContent - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testGetRepositoryProjects - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testProjectAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testProjectCardAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testProjectCardDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testProjectCardMove - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project.py::Project::testProjectColumnAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project1434.py::Project1434::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project1434.py::Project1434::testEditWithAllParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Project1434.py::Project1434::testEditWithoutParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ProjectColumn.py::ProjectColumn::testCreateCard - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ProjectColumn.py::ProjectColumn::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ProjectColumn.py::ProjectColumn::testEdit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ProjectColumn.py::ProjectColumn::testGetAllCards - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ProjectColumn.py::ProjectColumn::testGetArchivedCards - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ProjectColumn.py::ProjectColumn::testGetCards - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ProjectColumn.py::ProjectColumn::testGetNotArchivedCards - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ProjectColumn.py::ProjectColumn::testGetProjectColumn - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ProjectColumn.py::ProjectColumn::testMoveAfter - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ProjectColumn.py::ProjectColumn::testMoveFirst - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ProjectColumn.py::ProjectColumn::testMoveLast - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PublicKey.py::PublicKey::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PublicKey.py::PublicKey::testAttributes_with_int_key_id - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testAddAndRemoveAssignees - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testAddAndRemoveLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testAddAndRemoveLabelsWithStringArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testAttributesIssue256 - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testCreateComment - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testCreateIssueComment - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testCreateMultilineReviewComment - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testCreateMultilineReviewCommentAsSuggestion - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testCreateMultilineReviewCommentChoosingSide - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testCreateReviewCommentInReplyTo - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testCreateReviewCommentSubjectType - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testDeleteAndSetLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testDeleteAndSetLabelsWithStringArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testDisableAutomerge - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testEditWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testEditWithoutArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testEnableAutomerge - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testEnableAutomergeDefaultValues - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testEnableAutomergeError - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testEnableAutomergeNotValidMergeMethod - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testGetComments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testGetCommits - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testGetFiles - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testGetIssueComment - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testGetIssueComments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testGetIssueEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testGetLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testGetReviewComments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testMerge - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testMergeWithCommitMessage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testReviewRequests - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest.py::PullRequest::testUpdateBranch - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest1168.py::PullRequest1168::testGetIssue - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest1168.py::PullRequest1168::testGetPullRequest - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest1169.py::PullRequest1169::testReviewApproveWithoutBody - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest1375.py::PullRequest1375::testCreateReviewCommentReply - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest1682.py::PullRequest1682::test_no_parameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest1682.py::PullRequest1682::test_object_parameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest1682.py::PullRequest1682::test_string_parameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest1684.py::PullRequest1684::testDeleteRunnerId - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest1684.py::PullRequest1684::testDeleteRunnerObject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest1684.py::PullRequest1684::testGetRunners - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequest2408.py::PullRequest2408::test_get_workflow_runs - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestComment.py::PullRequestComment::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestComment.py::PullRequestComment::testCreateReaction - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestComment.py::PullRequestComment::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestComment.py::PullRequestComment::testDeleteReaction - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestComment.py::PullRequestComment::testEdit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestComment.py::PullRequestComment::testGetReactions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestFile.py::PullRequestFile::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestReview.py::PullRequestReview::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestReview.py::PullRequestReview::testDismiss - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestReview.py::PullRequestReview::testDoesNotModifyPullRequest - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestReview.py::PullRequestReview::testEdit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/PullRequestReview1856.py::PullRequestReview1856::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RateLimiting.py::RateLimiting::testGetRateLimit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RateLimiting.py::RateLimiting::testRateLimiting - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RateLimiting.py::RateLimiting::testResetTime - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RawData.py::RawData::testCompletedObject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RawData.py::RawData::testNonCompletableObject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RawData.py::RawData::testNotYetCompletedObject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Reaction.py::Reaction::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Reaction.py::Reaction::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ReleaseAsset.py::ReleaseAsset::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ReleaseAsset.py::ReleaseAsset::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/ReleaseAsset.py::ReleaseAsset::testUpdate - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testAddToCollaboratorsCustomRole - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testAssignees - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testBadSubscribePubSubHubbub - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCodeScanAlerts - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCollaboratorPermission - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCollaboratorPermissionNoPushAccess - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCollaborators - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCompare - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCompareCommitPagination - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateAutolink - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateDeployment - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateFile - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateFork - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateForkOrg - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitBlob - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitCommit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitCommitWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitCommitWithParents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitRef - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitRelease - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitReleaseGenerateReleaseNotes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitReleaseWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitTag - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitTagWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitTree - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitTreeWithBaseTree - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitTreeWithNullSha - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateGitTreeWithSha - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateHookWithAllParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateHookWithMinimalParameters - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateIssue - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateIssueWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateIssueWithAllArgumentsStringLabel - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateKey - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateLabel - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateMilestone - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateMilestoneWithMinimalArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateProject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreatePull - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreatePullFromIssue - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateRepoActionsSecret - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateRepoDependabotSecret - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateRepositoryDispatch - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testCreateSourceImport - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testDeleteFile - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testEditWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testEditWithDefaultBranch - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testEditWithoutArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetArchiveLink - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetAutolinks - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetBranch - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetComments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetCommits - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetCommitsWithArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetCommitsWithAuthor - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetCommitsWithSinceUntil - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetContents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetContentsDir - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetContentsDirWithSlash - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetContentsWithRef - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetContributors - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetDeployments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetDownloads - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetForks - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetGitRef - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetGitRefWithIssue102Reverted - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetGitRefs - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetGitTreeWithRecursive - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetHookDeliveries - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetHookDelivery - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetHooks - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetIssues - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetIssuesComments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetIssuesEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetIssuesWithArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetIssuesWithWildcards - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetKeys - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetLabel - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetLabels - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetLanguages - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetLicense - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetMatchingRefs - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetMilestones - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetMilestonesWithArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetNetworkEvents - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetPendingInvitations - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetPulls - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetPullsComments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetPullsWithArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetRepositoryWith301Redirect - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetSourceImport - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetStargazers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetStargazersWithDates - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetSubscribers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetTeams - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetTopics - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetWatchers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetWorkflowId - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetWorkflowRuns - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetWorkflowRunsCreated - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testGetWorkflows - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testLegacySearchIssues - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testMarkNotificationsAsRead - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testMergeWithConflict - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testMergeWithMessage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testMergeWithNothingToDo - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testMergeWithoutMessage - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testRemoveAutolink - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testRemoveInvitation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testRenameBranchObject - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testRenameBranchString - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testReplaceTopics - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testRepoGetSecretAssertion - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testRepoSecrets - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testRepoVariable - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testRepoVariables - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testStatisticsCodeFrequency - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testStatisticsCommitActivity - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testStatisticsContributors - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testStatisticsParticipation - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testStatisticsPunchCard - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testSubscribePubSubHubbub - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testUnsubscribePubSubHubbub - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::Repository::testUpdateFile - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::LazyRepository::testChangeAutomateFixWhenNoVulnerabilityAlert - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::LazyRepository::testDisableAutomatedSecurityFixes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::LazyRepository::testDisableVulnerabilityAlert - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::LazyRepository::testEnableAutomatedSecurityFixes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::LazyRepository::testEnableVulnerabilityAlert - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::LazyRepository::testGetIssues - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::LazyRepository::testGetVulnerabilityAlert - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::LazyRepository::testGetVulnerabilityAlertWhenTurnedOff - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Repository.py::LazyRepository::testOwner - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryAdvisory.py::RepositoryAdvisory::testAddVulnerability - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryAdvisory.py::RepositoryAdvisory::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryAdvisory.py::RepositoryAdvisory::testCreateRepositoryAdvisory - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryAdvisory.py::RepositoryAdvisory::testGetAdvisories - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryAdvisory.py::RepositoryAdvisory::testOfferCredit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryAdvisory.py::RepositoryAdvisory::testOfferCredits - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryAdvisory.py::RepositoryAdvisory::testRemoveCredit - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryAdvisory.py::RepositoryAdvisory::testRepositoryWithNoAdvisories - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryAdvisory.py::RepositoryAdvisory::testUpdateRepositoryAdvisory - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryAdvisory.py::RepositoryAdvisory::testUpdateSingleFieldDoesNotRemoveOtherFields - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryKey.py::RepositoryKey::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RepositoryKey.py::RepositoryKey::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Requester.py::Requester::testBaseUrlHostRedirection - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Requester.py::Requester::testBaseUrlPortRedirection - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Requester.py::Requester::testBaseUrlPrefixRedirection - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Requester.py::Requester::testBaseUrlSchemeRedirection - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Requester.py::Requester::testLoggingRedirection - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Requester.py::RequesterUnThrottled::testShouldNotDeferRequests - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Requester.py::RequesterThrottled::testShouldDeferRequests - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Requester.py::RequesterThrottled::testShouldDeferWrites - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RequiredPullRequestReviews.py::RequiredPullRequestReviews::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RequiredPullRequestReviews.py::RequiredPullRequestReviews::testOrganizationOwnedTeam - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/RequiredStatusChecks.py::RequiredStatusChecks::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Retry.py::Retry::testRaisesRetryErrorAfterMaxRetries - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Retry.py::Retry::testReturnsRepoAfter1Retry - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Retry.py::Retry::testReturnsRepoAfter3Retries - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Retry.py::Retry::testReturnsRepoAfterSettingRetryHttp - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Retry.py::Retry::testShouldNotRetryWhenStatusNotOnList - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testGetPageOnSearchUsers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testPaginateSearchCommits - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testPaginateSearchTopics - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testPaginateSearchUsers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testSearchCode - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testSearchCommits - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testSearchHighlightingCode - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testSearchIssues - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testSearchRepos - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testSearchReposWithNoResults - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testSearchTopics - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testSearchUsers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testUrlquotingOfQualifiers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Search.py::Search::testUrlquotingOfQuery - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/SelfHostedActionsRunner.py::SelfHostedActionsRunner::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/SourceImport.py::SourceImport::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/SourceImport.py::SourceImport::testUpdate - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Tag.py::Tag::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Team.py::Team::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Team.py::Team::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Team.py::Team::testDiscussions - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Team.py::Team::testEditWithAllArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Team.py::Team::testEditWithoutArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Team.py::Team::testGetTeams - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Team.py::Team::testMembers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Team.py::Team::testRepoPermission - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Team.py::Team::testRepos - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Team.py::Team::testTeamMembership - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Team.py::Team::testUpdateTeamRepository - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Topic.py::Topic::testAllFields - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Topic.py::Topic::testNamesFromSearchResults - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Traffic.py::Traffic::testGetClones - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Traffic.py::Traffic::testGetPaths - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Traffic.py::Traffic::testGetReferrers - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Traffic.py::Traffic::testGetViews - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/UserKey.py::UserKey::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/UserKey.py::UserKey::testDelete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Workflow.py::Workflow::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Workflow.py::Workflow::testCreateDispatchForNonTriggerEnabled - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Workflow.py::Workflow::testCreateDispatchWithBranch - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Workflow.py::Workflow::testCreateDispatchWithString - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Workflow.py::Workflow::testCreateDispatchWithTag - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Workflow.py::Workflow::testGetRunsWithCreated - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Workflow.py::Workflow::testGetRunsWithHeadSha - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Workflow.py::Workflow::testGetRunsWithNoArguments - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Workflow.py::Workflow::testGetRunsWithObjects - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/Workflow.py::Workflow::testGetRunsWithStrings - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/WorkflowJob.py::WorkflowJob::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/WorkflowRun.py::WorkflowRun::testAttributes - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/WorkflowRun.py::WorkflowRun::test_cancel - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/WorkflowRun.py::WorkflowRun::test_delete - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/WorkflowRun.py::WorkflowRun::test_jobs - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/WorkflowRun.py::WorkflowRun::test_rerun - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/WorkflowRun.py::WorkflowRun::test_rerun_with_successful_run - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... FAILED tests/WorkflowRun.py::WorkflowRun::test_timing - httpretty.errors.UnmockedError: Failed to socket.shutdown because because a... ================== 862 failed, 56 passed in 327.09s (0:05:27) ================== py313: exit 1 (328.37 seconds) /builddir/build/BUILD/python-PyGithub-2.3.0-build/PyGithub-2.3.0> pytest --cov=github --cov-report=xml pid=1869 py313: FAIL code 1 (328.38 seconds) evaluation failed :( (328.44 seconds) error: Bad exit status from /var/tmp/rpm-tmp.eAzpu9 (%check) Bad exit status from /var/tmp/rpm-tmp.eAzpu9 (%check) RPM build errors: Finish: rpmbuild python-PyGithub-2.3.0-1.fc42.src.rpm Finish: build phase for python-PyGithub-2.3.0-1.fc42.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1734884895.918692/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names ERROR: Exception(/var/lib/copr-rpmbuild/results/python-PyGithub-2.3.0-1.fc42.src.rpm) Config(fedora-rawhide-x86_64) 5 minutes 51 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 23e97930d5ec49e7b6b945243ad8f0ac -D /var/lib/mock/fedora-rawhide-x86_64-1734884895.918692/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.p1clvdft:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -ba --noprep --target x86_64 /builddir/build/originals/python-PyGithub.spec' Copr build error: Build failed