Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 849840 Details for
Bug 893194
[guru] dev-python/gazpacho-1.1 fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 158.96 KB, created by
Agostino Sarubbo
on 2023-02-04 08:30:23 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2023-02-04 08:30:23 UTC
Size:
158.96 KB
patch
obsolete
> * Package: dev-python/gazpacho-1.1:0 > * Repository: guru > * Maintainer: gasc@eurecom.fr > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo/gentoo/commit/694aab75e9aa8fe3107026c0ac691b0040ef2ffc (Fri Feb 3 21:25:16 UTC 2023) >@@@@@ END @@@@@ > > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9cb8e14fc833b0c01e7060825ac64501369d18e (Fri Feb 3 21:12:21 UTC 2023) >@@@@@ END @@@@@ > > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This ebuild was merged (directly or as a dependency) because of the following commit: >https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=74d6fc1b3f97f0facdadf6d1ce50f36289fa444e >@@@@@ END @@@@@ > > > >################## ># emerge --info: # >################## >Portage 3.0.44 (python 3.11.1-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.36-r7, 5.15.85-gentoo-dist x86_64) >================================================================= >System uname: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.36 >KiB Mem: 263532996 total, 32939348 free >KiB Swap: 0 total, 0 free >sh bash 5.2_p15-r1 >ld GNU ld (Gentoo 2.40 p1) 2.40 >app-misc/pax-utils: 1.3.7::gentoo >app-shells/bash: 5.2_p15-r1::gentoo >dev-lang/perl: 5.36.0-r2::gentoo >dev-lang/python: 3.9.16-r1::gentoo, 3.10.9-r1::gentoo, 3.11.1-r1::gentoo >dev-util/cmake: 3.25.2::gentoo >dev-util/meson: 1.0.0::gentoo >sys-apps/baselayout: 2.13-r1::gentoo >sys-apps/openrc: 0.46::gentoo >sys-apps/sandbox: 2.30-r1::gentoo >sys-devel/autoconf: 2.71-r5::gentoo >sys-devel/automake: 1.16.5::gentoo >sys-devel/binutils: 2.40::gentoo >sys-devel/binutils-config: 5.5::gentoo >sys-devel/gcc: 12.2.1_p20230121-r1::gentoo >sys-devel/gcc-config: 2.10::gentoo >sys-devel/libtool: 2.4.7-r1::gentoo >sys-devel/make: 4.4::gentoo >sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) >sys-libs/glibc: 2.36-r7::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > volatile: True > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > sync-rsync-verify-jobs: 1 > >guru > location: /opt/guru > masters: gentoo > priority: 0 > volatile: True > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* MIT" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >DISTDIR="/var/tmp/portage/dev-python/gazpacho-1.1/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" >FCFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org" >LANG="C.UTF8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >LEX="flex" >MAKEOPTS="-j54" >PKGDIR="/root/tbci/binpkg" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >SHELL="/bin/bash" >USE="acl amd64 bzip2 cli crypt debug dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test test-rust unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_9 python3_10 python3_11" USERLAND="GNU" >Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS > > > > > >############################## ># emerge history (qlop -mv): # >############################## >2023-02-03T23:38:24 >>> dev-python/pathspec-0.11.0 >2023-02-03T23:38:25 >>> dev-python/exceptiongroup-1.1.0 >2023-02-03T23:38:25 >>> dev-python/pluggy-1.0.0-r2 >2023-02-03T23:38:26 >>> dev-python/editables-0.3 >2023-02-03T23:38:27 >>> dev-python/zope-interface-5.5.2 >2023-02-03T23:38:28 >>> dev-python/flit_scm-1.7.0 >2023-02-03T23:38:34 >>> dev-python/iniconfig-2.0.0 >2023-02-03T23:38:34 >>> dev-python/hatchling-1.12.2 >2023-02-03T23:38:35 >>> dev-python/attrs-22.2.0 >2023-02-03T23:38:40 >>> dev-python/hatch-vcs-0.3.0 >2023-02-03T23:38:43 >>> dev-python/pytest-7.2.1 > > > > >####################################### ># installed packages (qlist -ICvUSS): # >####################################### >acct-group/audio-0-r1:0 >acct-group/cdrom-0-r1:0 >acct-group/dialout-0-r1:0 >acct-group/disk-0-r1:0 >acct-group/input-0-r1:0 >acct-group/kmem-0-r1:0 >acct-group/kvm-0-r1:0 >acct-group/lp-0-r1:0 >acct-group/man-0-r1:0 >acct-group/messagebus-0-r1:0 >acct-group/polkitd-0-r1:0 >acct-group/portage-0:0 >acct-group/render-0-r1:0 >acct-group/root-0:0 >acct-group/sgx-0:0 >acct-group/sshd-0-r1:0 >acct-group/tape-0-r1:0 >acct-group/tty-0-r1:0 >acct-group/video-0-r1:0 >acct-user/man-1-r1:0 >acct-user/messagebus-0-r1:0 >acct-user/polkitd-0-r1:0 >acct-user/portage-0:0 >acct-user/sshd-0-r1:0 >app-admin/eselect-1.4.20:0 -doc -emacs -vim-syntax >app-admin/perl-cleaner-2.30-r1:0 -pkgcore >app-alternatives/awk-4:0 -busybox gawk -mawk -nawk split-usr >app-alternatives/bc-0:0 -gh gnu >app-alternatives/bzip2-1:0 -lbzip2 -pbzip2 reference split-usr >app-alternatives/gzip-0:0 -pigz reference split-usr >app-alternatives/lex-0-r1:0 flex -reflex >app-alternatives/sh-0:0 bash -busybox -dash -ksh -lksh -mksh >app-alternatives/tar-0:0 gnu -libarchive split-usr >app-alternatives/yacc-1-r2:0 bison -byacc -reference >app-arch/bzip2-1.0.8-r4:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static -static-libs -verify-sig >app-arch/gzip-1.12-r4:0 -pic -static -verify-sig >app-arch/libarchive-3.6.1-r1:0/13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -blake2 bzip2 e2fsprogs -expat iconv -lz4 lzma -lzo -nettle -static-libs -verify-sig xattr -zstd >app-arch/tar-1.34-r2:0 acl -minimal nls -selinux -verify-sig xattr >app-arch/unzip-6.0_p27-r1:0 bzip2 -natspec unicode >app-arch/xz-utils-5.4.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 extra-filters nls split-usr -static-libs -verify-sig >app-arch/zstd-1.5.2-r3:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -lz4 split-usr -static-libs >app-crypt/gnupg-2.4.0:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -tpm -usb -user-socket -verify-sig -wks-server >app-crypt/gpgme-1.18.0-r2:1/11.6.15.1 -common-lisp cxx -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -qt5 -static-libs -test -verify-sig >app-crypt/libb2-0.98.1-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -native-cflags openmp -static-libs >app-crypt/pinentry-1.2.1-r1:0 -caps -efl -emacs -gnome-keyring -gtk ncurses -qt5 -verify-sig >app-crypt/rhash-1.4.3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug nls ssl -static-libs >app-editors/nano-7.2:0 -debug -justify -magic -minimal ncurses nls spell -static unicode >app-eselect/eselect-fontconfig-20220403:0 >app-eselect/eselect-iptables-20220320:0 >app-eselect/eselect-lib-bin-symlink-0.1.1-r1:0 >app-eselect/eselect-pinentry-0.7.2-r1:0 >app-i18n/man-pages-ja-20180315-r1:0 >app-i18n/man-pages-l10n-4.17.0:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi >app-i18n/man-pages-zh_CN-1.6.3.6:0 >app-misc/c_rehash-1.7-r1:0 >app-misc/ca-certificates-20211016.3.87:0 -cacert >app-misc/editor-wrapper-4-r1:0 >app-misc/mime-types-2.1.53:0 -nginx >app-misc/pax-utils-1.3.7:0 -caps -man -python python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 -seccomp -test >app-misc/tmux-3.3a-r1:0 debug -selinux -systemd -utempter -vim-syntax >app-portage/eix-0.36.6:0 debug -doc nls -sqlite >app-portage/elt-patches-20221210:0 >app-portage/gemato-18.0:0 gpg -pretty-log python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test -tools >app-portage/gentoolkit-0.6.1-r3:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >app-portage/portage-utils-0.94.4:0 openmp qmanifest qtegrity -static >app-shells/bash-5.2_p15-r1:0 -afs -bashlogger -examples -mem-scramble net nls -pgo -plugins readline -verify-sig >app-shells/bash-completion-2.11:0 eselect -test >app-shells/gentoo-bashcomp-20190211-r1:0 >app-shells/push-3.4:0 >app-shells/quoter-4.2:0 >app-text/ansifilter-2.18:0 -qt5 >app-text/build-docbook-catalog-2.3-r1:0 >app-text/docbook-xml-dtd-4.5-r2:4.5 >app-text/docbook-xml-dtd-4.4-r3:4.4 >app-text/docbook-xml-dtd-4.2-r3:4.2 >app-text/docbook-xml-dtd-4.1.2-r7:4.1.2 >app-text/docbook-xsl-stylesheets-1.79.1-r3:0 -ruby >app-text/manpager-1:0 >app-text/opensp-1.5.2-r10:0 -doc nls -static-libs -test >app-text/po4a-0.68:0 -test -test >app-text/sgml-common-0.6.3-r7:0 >app-text/xmlto-0.0.28-r10:0 -latex text >dev-db/sqlite-3.40.1:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools >dev-lang/duktape-2.7.0-r3:0/2.7.0 >dev-lang/perl-5.36.0-r2:0/5.36 -berkdb debug -doc gdbm ithreads -minimal -quadmath >dev-lang/python-3.11.1-r1:3.11 -bluetooth -build ensurepip -examples gdbm -hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig >dev-lang/python-3.10.9-r1:3.10 -bluetooth -build ensurepip -examples gdbm -hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig xml >dev-lang/python-3.9.16-r1:3.9 -bluetooth -build ensurepip -examples gdbm -hardened -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig xml >dev-lang/python-exec-2.4.10:2 native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-lang/python-exec-conf-2.4.6:2 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >dev-lang/tcl-8.6.13-r1:0/8.6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug threads >dev-libs/boehm-gc-8.2.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx large -static-libs threads >dev-libs/elfutils-0.188:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzma nls -static-libs -test utils -valgrind -verify-sig -zstd >dev-libs/expat-2.5.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples -static-libs unicode >dev-libs/glib-2.74.5:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -dbus debug elf -gtk-doc mime -selinux -static-libs -sysprof -systemtap -test -utils xattr >dev-libs/gmp-6.2.1-r5:0/10.4 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpudetection cxx -doc -pic -static-libs >dev-libs/gobject-introspection-1.74.0:0 -doctool -gtk-doc python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 -test >dev-libs/gobject-introspection-common-1.74.0:0 >dev-libs/isl-0.24-r2:0/23 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/jsoncpp-1.9.5:0/25 -doc -test >dev-libs/libassuan-2.5.5:0 >dev-libs/libatomic_ops-7.6.14:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >dev-libs/libevent-2.1.12:0/2.1-7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 clock-gettime debug -malloc-replacement ssl -static-libs -test threads -verbose-debug >dev-libs/libffi-3.4.4:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -exec-static-trampoline -pax-kernel -static-libs -test >dev-libs/libgcrypt-1.10.1-r3:0/20 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 -cpu_flags_x86_padlock -cpu_flags_x86_sha cpu_flags_x86_sse4_1 -doc getentropy -static-libs -verify-sig >dev-libs/libgpg-error-1.46-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -common-lisp nls -static-libs -test -verify-sig >dev-libs/libksba-1.6.3:0 -static-libs -verify-sig >dev-libs/libltdl-2.4.7-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/libpcre2-10.42-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 jit -libedit pcre16 pcre32 readline split-usr -static-libs unicode -verify-sig zlib >dev-libs/libpipeline-1.5.7:0 -test >dev-libs/libtasn1-4.19.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -valgrind -verify-sig >dev-libs/libunistring-1.1-r1:0/5 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs >dev-libs/libuv-1.44.2-r1:0/1 >dev-libs/libxml2-2.10.3-r1:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -examples ftp -icu -lzma python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 readline -static-libs -test >dev-libs/libxslt-1.1.37-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 crypt debug -examples -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -static-libs >dev-libs/lzo-2.10:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples split-usr -static-libs >dev-libs/mpc-1.3.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/mpfr-4.2.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig >dev-libs/nettle-3.8.1:0/8-6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec cpu_flags_x86_aes cpu_flags_x86_pclmul -cpu_flags_x86_sha -doc gmp -static-libs -verify-sig >dev-libs/npth-1.6-r1:0 -test >dev-libs/openssl-3.0.7-r2:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpu_flags_x86_sse2 -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -verify-sig -weak-ssl-ciphers >dev-libs/popt-1.19:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs >dev-perl/Clone-0.460.0:0 -test >dev-perl/Devel-CheckLib-1.160.0:0 -test >dev-perl/Encode-EUCJPASCII-0.30.0-r1:0 -test >dev-perl/Encode-HanExtra-0.230.0-r3:0 >dev-perl/Encode-Locale-1.50.0-r1:0 -test >dev-perl/ExtUtils-CChecker-0.110.0:0 -test >dev-perl/File-BaseDir-0.90.0:0 -test >dev-perl/File-DesktopEntry-0.220.0-r1:0 -test >dev-perl/File-Listing-6.150.0:0 -test -test >dev-perl/File-MimeInfo-0.300.0:0 -test >dev-perl/HTML-Parser-3.760.0:0 -test >dev-perl/HTML-Tagset-3.200.0-r2:0 >dev-perl/HTTP-Cookies-6.100.0:0 -test >dev-perl/HTTP-Date-6.50.0:0 >dev-perl/HTTP-Message-6.440.0:0 -test -test >dev-perl/HTTP-Negotiate-6.10.0-r2:0 -test >dev-perl/IO-HTML-1.4.0:0 -test >dev-perl/IO-Socket-INET6-2.720.0-r2:0 -test >dev-perl/IO-Socket-SSL-2.81.0:0 -examples -idn -test >dev-perl/IPC-System-Simple-1.300.0:0 -test >dev-perl/libwww-perl-6.600.0-r1:0 ssl -test >dev-perl/Locale-gettext-1.70.0-r1:0 -test >dev-perl/LWP-MediaTypes-6.40.0:0 -test >dev-perl/LWP-Protocol-https-6.100.0:0 -test >dev-perl/MIME-Charset-1.12.2-r1:0 l10n_ja l10n_zh -test >dev-perl/Module-Build-0.423.100:0 -test >dev-perl/Mozilla-CA-20999999-r1:0 -test >dev-perl/Net-HTTP-6.210.0:0 -minimal -test >dev-perl/Net-SSLeay-1.920.0:0 -examples -examples -minimal -test >dev-perl/Pod-Parser-1.630.0-r1:0 -test >dev-perl/SGMLSpm-1.1-r2:0 -test >dev-perl/Socket6-0.290.0:0 -test >dev-perl/Sub-Name-0.260.0:0 -suggested -test >dev-perl/Syntax-Keyword-Try-0.270.0:0 -test >dev-perl/TermReadKey-2.380.0-r1:0 -examples -test >dev-perl/Text-CharWidth-0.40.0-r2:0 -test >dev-perl/Text-WrapI18N-0.60.0-r2:0 -test >dev-perl/TimeDate-2.330.0-r1:0 -test >dev-perl/Try-Tiny-0.310.0:0 -minimal -test >dev-perl/Unicode-LineBreak-2019.1.0:0 >dev-perl/URI-5.110.0:0 -test >dev-perl/WWW-RobotRules-6.20.0-r2:0 -test >dev-perl/XML-Parser-2.460.0-r2:0 >dev-perl/XS-Parse-Keyword-0.250.0:0 -test >dev-perl/YAML-Tiny-1.730.0-r1:0 -minimal -test >dev-python/attrs-22.2.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/autocommand-2.2.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/certifi-3021.3.16-r3:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/charset_normalizer-3.0.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/cython-0.29.33:0 -doc -emacs python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/editables-0.3:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/ensurepip-pip-23.0:0 >dev-python/ensurepip-setuptools-67.1.0:0 >dev-python/ensurepip-wheels-100:0 >dev-python/exceptiongroup-1.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/flit_core-3.8.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/flit_scm-1.7.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >dev-python/gentoo-common-1:0 >dev-python/gpep517-13:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/hatch-vcs-0.3.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/hatchling-1.12.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/idna-3.4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/importlib_metadata-6.0.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/inflect-6.0.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/iniconfig-2.0.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/installer-0.6.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/jaraco-context-4.3.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/jaraco-functools-3.5.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/jaraco-text-3.11.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/jinja-3.1.2:0 -doc -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/markupsafe-2.1.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/more-itertools-9.0.0:0 -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/nspektr-0.4.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/ordered-set-4.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/packaging-23.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/pathspec-0.11.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/platformdirs-2.6.2-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/pluggy-1.0.0-r2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/pydantic-1.10.4:0 native-extensions python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/pyparsing-3.0.9:0 -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/pypy-7.3.11:0/73 bzip2 -full-stdlib gdbm jit ncurses -sqlite -tk >dev-python/pypy-exe-bin-7.3.11:7.3.11 >dev-python/pypy3-7.3.11-r1:0/pypy39-pp73-336 ensurepip gdbm jit ncurses sqlite -tk >dev-python/pypy3-exe-7.3.11:3.9-7.3.11 -cpu_flags_x86_sse2 jit -low-memory ncurses >dev-python/PySocks-1.7.1-r2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >dev-python/pytest-7.2.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/requests-2.28.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -socks5 -test test-rust >dev-python/setuptools-67.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/setuptools_scm-7.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/six-1.16.0-r1:0 -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/tomli-2.0.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/typing-extensions-4.4.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/urllib3-1.26.14:0 -brotli python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/wheel-0.38.4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/zipp-3.12.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/zope-interface-5.5.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-util/checkbashisms-2.22.2:0 >dev-util/cmake-3.25.2:0 -doc -emacs ncurses -qt5 -test -test -verify-sig >dev-util/desktop-file-utils-0.26-r2:0 -emacs >dev-util/glib-utils-2.74.5:0 python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 >dev-util/gperf-3.1-r1:0 >dev-util/gtk-doc-am-1.33.2:0 >dev-util/intltool-0.51.0-r3:0 >dev-util/meson-1.0.0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-util/meson-format-array-0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >dev-util/ninja-1.11.1-r2:0 -doc -emacs -test >dev-util/pkgconf-1.8.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -test >dev-util/re2c-2.2:0 debug -test >dev-vcs/git-2.39.1:0 blksha1 -cgi curl -cvs -doc -gnome-keyring gpg -highlight iconv -mediawiki -mediawiki-experimental nls pcre -perforce -perl python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 safe-directory -selinux -subversion -test -tk webdav -xinetd >media-fonts/liberation-fonts-2.1.5:0 -X -X -fontforge >media-gfx/graphite2-1.3.14_p20210810-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -perl -test >media-libs/fontconfig-2.14.2:1.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc nls -test >media-libs/freetype-2.12.1-r2:2 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adobe-cff -brotli bzip2 cleartype-hinting debug -doc -fontforge harfbuzz -infinality png -static-libs -svg -utils >media-libs/harfbuzz-6.0.0:0/6.0.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cairo debug -doc -experimental glib graphite -icu introspection -test truetype >media-libs/libpng-1.6.39:0/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -apng -cpu_flags_arm_neon cpu_flags_x86_sse -static-libs >net-dns/c-ares-1.19.0:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -verify-sig >net-dns/libidn2-2.3.4:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs -verify-sig >net-firewall/iptables-1.8.9:0/1.8.3 -conntrack -netlink -nftables -pcap split-usr -static-libs >net-libs/gnutls-3.7.8:0/30.30 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -brotli cxx -dane -doc -examples -guile idn nls openssl -pkcs11 seccomp -sslv2 -sslv3 -static-libs -test -test-full tls-heartbeat -tools -valgrind -verify-sig zlib -zstd >net-libs/libmnl-1.0.5:0/0.2.0 -examples -verify-sig >net-libs/libnsl-2.0.0-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >net-libs/libtirpc-1.3.3:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -kerberos split-usr -static-libs >net-libs/nghttp2-1.51.0:0/1.14 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx debug -hpack-tools -jemalloc -static-libs -test -utils -xml >net-misc/curl-7.87.0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adns -alt-svc -brotli -curl_ssl_gnutls -curl_ssl_mbedtls -curl_ssl_nss curl_ssl_openssl -curl_ssl_rustls ftp -gnutls -gopher -hsts http2 -idn imap ipv6 -kerberos -ldap -mbedtls -nghttp3 -nss openssl pop3 progress-meter -quiche -rtmp -rustls -samba smtp -ssh ssl -sslv3 -static-libs -telnet -test tftp -verify-sig -websockets -zstd >net-misc/dhcpcd-9.4.1:0 debug embedded ipv6 -privsep udev >net-misc/iputils-20221126:0 arping -caps -clockdiff -doc filecaps -idn nls -test -tracepath >net-misc/netifrc-0.7.3-r1:0 dhcp >net-misc/openssh-9.2_p1:0 -X -X509 -abi_mips_n32 -audit -debug -hpn -kerberos -ldns -libedit -livecd pam -pie -sctp -security-key -selinux ssl -static -test -verify-sig -xmss >net-misc/rsync-3.2.7-r2:0 acl -examples iconv -lz4 python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 -rrsync ssl -stunnel -system-zlib -verify-sig xattr -xxhash -zstd >net-misc/wget-1.21.3-r1:0 -cookie-check debug -gnutls -idn ipv6 -metalink nls -ntlm pcre ssl -static -test -uuid -verify-sig zlib >perl-core/Compress-Raw-Zlib-2.202.0:0 >perl-core/File-Temp-0.231.100:0 >sec-keys/openpgp-keys-gentoo-release-20220101:0 -test >sys-apps/acl-2.3.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls split-usr -static-libs >sys-apps/attr-2.5.1-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug nls split-usr -static-libs >sys-apps/baselayout-2.13-r1:0 -build split-usr >sys-apps/coreutils-9.1-r2:0 acl -caps -gmp -hostname -kill -multicall nls openssl -selinux split-usr -static -test -vanilla -verify-sig xattr >sys-apps/dbus-1.15.2:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -doc elogind -selinux -static-libs -systemd -test -test >sys-apps/debianutils-5.7:0 installkernel -static >sys-apps/diffutils-3.9:0 nls -static -verify-sig >sys-apps/file-5.44-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzip -lzma -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -seccomp -static-libs -verify-sig zlib -zstd >sys-apps/findutils-4.9.0-r2:0 nls -selinux -static -test -verify-sig >sys-apps/gawk-5.2.1:0 -mpfr nls -pma readline -verify-sig >sys-apps/gentoo-functions-0.17:0 >sys-apps/grep-3.8-r1:0 egrep-fgrep nls pcre -static -verify-sig >sys-apps/groff-1.22.4:0 -X -examples -uchardet >sys-apps/help2man-1.49.3:0 nls >sys-apps/install-xattr-0.8-r1:0 >sys-apps/iproute2-6.1.0:0 -atm -berkdb -bpf -caps -elf iptables -libbsd -minimal -nfs -selinux split-usr >sys-apps/kbd-2.5.1:0 nls pam -test >sys-apps/kmod-30-r1:0 debug -doc lzma -pkcs7 -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -static-libs tools zlib zstd >sys-apps/less-608-r1:0 pcre unicode >sys-apps/man-db-2.11.2:0 manpager nls seccomp -selinux -static-libs zlib >sys-apps/man-pages-6.02-r1:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_ja l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi l10n_zh-CN >sys-apps/miscfiles-1.5-r4:0 -minimal >sys-apps/net-tools-2.10:0 arp hostname ipv6 -nis nls -plipconfig -selinux -slattach -static >sys-apps/openrc-0.46:0 -audit -bash debug ncurses netifrc -newnet pam -selinux -sysv-utils unicode >sys-apps/portage-3.0.44:0 -apidoc -build -doc -gentoo-dev ipc native-extensions python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 rsync-verify -selinux -test xattr >sys-apps/sandbox-2.30-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 nnp >sys-apps/sed-4.9:0 acl nls -selinux -static -verify-sig >sys-apps/shadow-4.13-r1:0/4 acl -audit -bcrypt -cracklib nls pam -selinux -skey split-usr -su -verify-sig xattr >sys-apps/systemd-utils-252.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -boot kmod -selinux split-usr -split-usr -sysusers -test tmpfiles udev >sys-apps/sysvinit-3.06-r1:0 -ibm nls -selinux -static -verify-sig >sys-apps/texinfo-7.0.2:0 nls standalone -static >sys-apps/util-linux-2.38.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -build -caps cramfs -cryptsetup -fdformat hardlink -kill logger -magic ncurses nls pam -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 readline -rtas -selinux -slang split-usr -static-libs su suid -systemd -test -tty-helpers -udev unicode -verify-sig >sys-apps/which-2.21:0 >sys-auth/elogind-246.10-r2:0 acl -audit cgroup-hybrid debug -doc pam policykit -selinux -test >sys-auth/pambase-20220214:0 -caps -debug elogind -gnome-keyring -homed -minimal -mktemp nullok -pam_krb5 -pam_ssh passwdqc -pwhistory -pwquality -securetty -selinux sha512 -systemd -yescrypt >sys-auth/passwdqc-2.0.2-r1:0 >sys-auth/polkit-122:0 daemon duktape -examples -gtk introspection -kde pam -selinux -systemd -test >sys-devel/autoconf-2.71-r5:2.71 -emacs >sys-devel/autoconf-archive-2022.09.03:0 >sys-devel/autoconf-wrapper-20221207:0 >sys-devel/automake-1.16.5:1.16 -test >sys-devel/automake-wrapper-20221207:0 >sys-devel/bc-1.07.1-r6:0 -libedit readline -static >sys-devel/binutils-2.40:2.40 -cet -doc -gold -gprofng -multitarget nls -pgo plugins -static-libs -test -vanilla -zstd >sys-devel/binutils-config-5.5:0 native-symlinks >sys-devel/bison-3.8.2-r2:0 -examples nls -static -test -verify-sig >sys-devel/flex-2.6.4-r5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static -test >sys-devel/gcc-12.2.1_p20230121-r1:12 -ada -cet -custom-cflags cxx -d -debug -default-stack-clash-protection -default-znow -doc -fixed-point fortran -go graphite -hardened -ieee-long-double -jit -libssp lto multilib nls nptl -objc -objc++ -objc-gc openmp -pch -pgo pie sanitize -ssp -systemtap -test -valgrind -vanilla -vtv -zstd >sys-devel/gcc-config-2.10:0 cc-wrappers native-symlinks >sys-devel/gettext-0.21.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -cvs cxx -doc -emacs -git -java -java ncurses nls openmp -static-libs -verify-sig >sys-devel/gnuconfig-20221007:0 >sys-devel/libtool-2.4.7-r1:2 -vanilla >sys-devel/m4-1.4.19-r1:0 -examples nls -verify-sig >sys-devel/make-4.4:0 -guile nls -static -verify-sig >sys-devel/patch-2.7.6-r5:0 -static -test -verify-sig xattr >sys-fs/e2fsprogs-1.46.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cron -fuse nls split-usr -static-libs -test tools >sys-fs/udev-init-scripts-35:0 >sys-kernel/installkernel-gentoo-6:0 -grub >sys-kernel/linux-headers-6.1:0 -headers-only >sys-libs/gdbm-1.23:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 berkdb nls readline -static-libs -test -verify-sig >sys-libs/glibc-2.36-r7:2.2 -audit -caps -cet -compile-locales -crypt -custom-cflags -doc -gd -hash-sysv-compat -headers-only multiarch multilib -multilib-bootstrap -nscd -perl -profile -selinux -ssp stack-realign static-libs -suid -systemd -systemtap -test -vanilla >sys-libs/libcap-2.67:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 pam split-usr -static-libs -tools >sys-libs/libseccomp-2.5.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -experimental-loong -python python_targets_python3_10 python_targets_python3_9 -static-libs -test >sys-libs/libxcrypt-4.4.33:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 compat -headers-only split-usr -static-libs system -test >sys-libs/ncurses-6.4:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -ada cxx debug -doc -gpm -minimal -profile split-usr -split-usr stack-realign -static-libs -test tinfo -trace -verify-sig >sys-libs/pam-1.5.2-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -berkdb -debug filecaps -nis -selinux split-usr >sys-libs/readline-8.2_p1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static-libs unicode -utils -verify-sig >sys-libs/timezone-data-2022g:0 -leaps-timezone nls -zic-slim >sys-libs/zlib-1.2.13-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 minizip split-usr -static-libs -verify-sig >sys-process/procps-3.3.17-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 elogind kill -modern-top ncurses nls -selinux split-usr -static-libs -systemd -test unicode >sys-process/psmisc-23.6:0 -X -apparmor nls -selinux -test >virtual/acl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/dev-manager-0-r2:0 >virtual/editor-0-r4:0 >virtual/libc-1-r1:0 >virtual/libcrypt-2-r1:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/libelf-3-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libiconv-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libintl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libudev-232-r7:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -systemd >virtual/man-0-r4:0 >virtual/os-headers-0-r2:0 >virtual/package-manager-1:0 >virtual/pager-0-r1:0 >virtual/perl-Carp-1.520.0-r2:0 >virtual/perl-Compress-Raw-Bzip2-2.103.0-r3:0 >virtual/perl-Compress-Raw-Zlib-2.202.0:0 >virtual/perl-CPAN-2.330.0:0 >virtual/perl-CPAN-Meta-2.150.10-r6:0 >virtual/perl-CPAN-Meta-Requirements-2.140.0-r8:0 >virtual/perl-CPAN-Meta-YAML-0.18.0-r8:0 >virtual/perl-Data-Dumper-2.184.0:0 >virtual/perl-Digest-MD5-2.580.0-r1:0 >virtual/perl-Encode-3.170.0:0 >virtual/perl-Exporter-5.770.0:0 >virtual/perl-ExtUtils-CBuilder-0.280.236-r1:0 >virtual/perl-ExtUtils-Install-2.200.0-r1:0 >virtual/perl-ExtUtils-MakeMaker-7.640.0:0 >virtual/perl-ExtUtils-Manifest-1.730.0-r1:0 >virtual/perl-ExtUtils-ParseXS-3.450.0:0 >virtual/perl-File-Path-2.180.0-r1:0 >virtual/perl-File-Spec-3.840.0:0 >virtual/perl-File-Temp-0.231.100:0 >virtual/perl-Getopt-Long-2.520.0-r1:0 >virtual/perl-IO-1.500.0:0 >virtual/perl-IO-Compress-2.106.0:0 >virtual/perl-IO-Socket-IP-0.410.0-r1:0 >virtual/perl-JSON-PP-4.70.0:0 >virtual/perl-libnet-3.140.0:0 ssl >virtual/perl-MIME-Base64-3.160.0-r1:0 >virtual/perl-Module-Metadata-1.0.37-r2:0 >virtual/perl-parent-0.238.0-r2:0 >virtual/perl-Parse-CPAN-Meta-2.150.10-r6:0 >virtual/perl-Perl-OSType-1.10.0-r6:0 >virtual/perl-podlators-4.140.0-r3:0 >virtual/perl-Scalar-List-Utils-1.620.0:0 >virtual/perl-Test-Harness-3.440.0:0 >virtual/perl-Text-ParseWords-3.310.0:0 >virtual/perl-Time-Local-1.300.0-r1:0 >virtual/perl-version-0.992.900:0 >virtual/perl-XSLoader-0.310.0:0 >virtual/pkgconfig-2-r1:0 >virtual/service-manager-1-r1:0 >virtual/ssh-0-r1:0 -minimal >virtual/tmpfiles-0-r3:0 >virtual/ttf-fonts-1-r2:0 >virtual/udev-217-r5:0 >virtual/w3m-1:0 >www-client/pybugz-0.13-r2:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >www-client/w3m-0.5.3_p20230121:0 -X -fbcon -gdk-pixbuf -gpm -imlib l10n_ja -lynxkeymap nls -nntp ssl unicode -xface >x11-apps/xprop-1.2.6:0 >x11-apps/xset-1.2.5:0 >x11-base/xcb-proto-1.15.2:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >x11-base/xorg-proto-2022.2:0 -test >x11-libs/cairo-1.17.6-r1:0 X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -aqua -debug glib -gtk-doc -test >x11-libs/libICE-1.1.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >x11-libs/libSM-1.2.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc uuid >x11-libs/libX11-1.8.3-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test >x11-libs/libXau-1.0.11:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libxcb-1.15-r1:0/1.12 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -doc -selinux -test xkb >x11-libs/libXdmcp-1.1.4-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXext-1.3.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXmu-1.1.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXrender-0.9.11:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >x11-libs/libXt-1.2.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test >x11-libs/pixman-0.42.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_iwmmxt -cpu_flags_arm_iwmmxt2 -cpu_flags_arm_neon -cpu_flags_ppc_altivec cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3 -loongson2f -static-libs -test >x11-libs/xtrans-1.4.0:0 -doc >x11-misc/compose-tables-1.8.3:0 >x11-misc/shared-mime-info-2.2:0 -test >x11-misc/xdg-utils-1.1.3_p20210805-r1:0 -dbus -doc -gnome > > >####################### ># build.log # >####################### > >>>> Unpacking source... >>>> Unpacking v1.1.gh.tar.gz to /var/tmp/portage/dev-python/gazpacho-1.1/work >>>> Source unpacked in /var/tmp/portage/dev-python/gazpacho-1.1/work >>>> Preparing source in /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1 ... > * Build system packages: > * dev-python/gpep517 : 13 > * dev-python/installer : 0.6.0 > * dev-python/setuptools : 67.1.0 > * dev-python/setuptools_scm : 7.1.0 > * dev-python/wheel : 0.38.4 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1 ... > * python3_9: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for gazpacho-1.1 via setuptools.build_meta:__legacy__ >gpep517 build-wheel --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_9/wheel >2023-02-03 23:38:48,310 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >2023-02-03 23:38:48,339 root INFO running bdist_wheel >2023-02-03 23:38:48,389 root INFO running build >2023-02-03 23:38:48,389 root INFO running build_py >2023-02-03 23:38:48,394 root INFO creating build >2023-02-03 23:38:48,394 root INFO creating build/lib >2023-02-03 23:38:48,394 root INFO creating build/lib/gazpacho >2023-02-03 23:38:48,394 root INFO copying gazpacho/utils.py -> build/lib/gazpacho >2023-02-03 23:38:48,394 root INFO copying gazpacho/soup.py -> build/lib/gazpacho >2023-02-03 23:38:48,394 root INFO copying gazpacho/get.py -> build/lib/gazpacho >2023-02-03 23:38:48,394 root INFO copying gazpacho/__init__.py -> build/lib/gazpacho >2023-02-03 23:38:48,395 root INFO copying gazpacho/py.typed -> build/lib/gazpacho >2023-02-03 23:38:48,395 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2023-02-03 23:38:48,403 wheel INFO installing to build/bdist.linux-x86_64/wheel >2023-02-03 23:38:48,404 root INFO running install >2023-02-03 23:38:48,412 root INFO running install_lib >2023-02-03 23:38:48,416 root INFO creating build/bdist.linux-x86_64 >2023-02-03 23:38:48,416 root INFO creating build/bdist.linux-x86_64/wheel >2023-02-03 23:38:48,416 root INFO creating build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,416 root INFO copying build/lib/gazpacho/py.typed -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,416 root INFO copying build/lib/gazpacho/__init__.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,416 root INFO copying build/lib/gazpacho/get.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,417 root INFO copying build/lib/gazpacho/soup.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,417 root INFO copying build/lib/gazpacho/utils.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,417 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2023-02-03 23:38:48,417 root INFO running install_egg_info >2023-02-03 23:38:48,428 root INFO running egg_info >2023-02-03 23:38:48,428 root INFO creating gazpacho.egg-info >2023-02-03 23:38:48,432 root INFO writing gazpacho.egg-info/PKG-INFO >2023-02-03 23:38:48,432 root INFO writing dependency_links to gazpacho.egg-info/dependency_links.txt >2023-02-03 23:38:48,432 root INFO writing requirements to gazpacho.egg-info/requires.txt >2023-02-03 23:38:48,432 root INFO writing top-level names to gazpacho.egg-info/top_level.txt >2023-02-03 23:38:48,432 root INFO writing manifest file 'gazpacho.egg-info/SOURCES.txt' >2023-02-03 23:38:48,446 setuptools_scm.file_finder_git ERROR listing git files failed - pretending there aren't any >2023-02-03 23:38:48,448 root INFO reading manifest file 'gazpacho.egg-info/SOURCES.txt' >2023-02-03 23:38:48,448 root INFO adding license file 'LICENSE' >2023-02-03 23:38:48,449 root INFO writing manifest file 'gazpacho.egg-info/SOURCES.txt' >2023-02-03 23:38:48,449 root INFO Copying gazpacho.egg-info to build/bdist.linux-x86_64/wheel/gazpacho-1.1-py3.9.egg-info >2023-02-03 23:38:48,450 root INFO running install_scripts >2023-02-03 23:38:48,466 wheel INFO creating build/bdist.linux-x86_64/wheel/gazpacho-1.1.dist-info/WHEEL >2023-02-03 23:38:48,466 wheel INFO creating '/var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_9/wheel/.tmp-aswaibdb/gazpacho-1.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >2023-02-03 23:38:48,466 wheel INFO adding 'gazpacho/__init__.py' >2023-02-03 23:38:48,466 wheel INFO adding 'gazpacho/get.py' >2023-02-03 23:38:48,466 wheel INFO adding 'gazpacho/py.typed' >2023-02-03 23:38:48,467 wheel INFO adding 'gazpacho/soup.py' >2023-02-03 23:38:48,467 wheel INFO adding 'gazpacho/utils.py' >2023-02-03 23:38:48,467 wheel INFO adding 'gazpacho-1.1.dist-info/LICENSE' >2023-02-03 23:38:48,467 wheel INFO adding 'gazpacho-1.1.dist-info/METADATA' >2023-02-03 23:38:48,467 wheel INFO adding 'gazpacho-1.1.dist-info/WHEEL' >2023-02-03 23:38:48,467 wheel INFO adding 'gazpacho-1.1.dist-info/top_level.txt' >2023-02-03 23:38:48,468 wheel INFO adding 'gazpacho-1.1.dist-info/RECORD' >2023-02-03 23:38:48,468 wheel INFO removing build/bdist.linux-x86_64/wheel >2023-02-03 23:38:48,468 gpep517 INFO The backend produced /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_9/wheel/gazpacho-1.1-py3-none-any.whl > * Installing gazpacho-1.1-py3-none-any.whl to /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_9/install >gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_9/install --interpreter=/usr/bin/python3.9 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_9/wheel/gazpacho-1.1-py3-none-any.whl >2023-02-03 23:38:48,544 gpep517 INFO Installing /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_9/wheel/gazpacho-1.1-py3-none-any.whl into /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_9/install >2023-02-03 23:38:48,555 gpep517 INFO Installation complete > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for gazpacho-1.1 via setuptools.build_meta:__legacy__ >gpep517 build-wheel --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_10/wheel >2023-02-03 23:38:48,814 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >2023-02-03 23:38:48,842 root INFO running bdist_wheel >2023-02-03 23:38:48,892 root INFO running build >2023-02-03 23:38:48,892 root INFO running build_py >2023-02-03 23:38:48,897 root INFO creating build >2023-02-03 23:38:48,897 root INFO creating build/lib >2023-02-03 23:38:48,897 root INFO creating build/lib/gazpacho >2023-02-03 23:38:48,897 root INFO copying gazpacho/utils.py -> build/lib/gazpacho >2023-02-03 23:38:48,897 root INFO copying gazpacho/soup.py -> build/lib/gazpacho >2023-02-03 23:38:48,897 root INFO copying gazpacho/get.py -> build/lib/gazpacho >2023-02-03 23:38:48,898 root INFO copying gazpacho/__init__.py -> build/lib/gazpacho >2023-02-03 23:38:48,898 root INFO copying gazpacho/py.typed -> build/lib/gazpacho >2023-02-03 23:38:48,898 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2023-02-03 23:38:48,907 wheel INFO installing to build/bdist.linux-x86_64/wheel >2023-02-03 23:38:48,907 root INFO running install >2023-02-03 23:38:48,914 root INFO running install_lib >2023-02-03 23:38:48,918 root INFO creating build/bdist.linux-x86_64 >2023-02-03 23:38:48,919 root INFO creating build/bdist.linux-x86_64/wheel >2023-02-03 23:38:48,919 root INFO creating build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,919 root INFO copying build/lib/gazpacho/py.typed -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,919 root INFO copying build/lib/gazpacho/__init__.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,919 root INFO copying build/lib/gazpacho/get.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,919 root INFO copying build/lib/gazpacho/soup.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,919 root INFO copying build/lib/gazpacho/utils.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:48,920 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2023-02-03 23:38:48,920 root INFO running install_egg_info >2023-02-03 23:38:48,930 root INFO running egg_info >2023-02-03 23:38:48,934 root INFO writing gazpacho.egg-info/PKG-INFO >2023-02-03 23:38:48,934 root INFO writing dependency_links to gazpacho.egg-info/dependency_links.txt >2023-02-03 23:38:48,934 root INFO writing requirements to gazpacho.egg-info/requires.txt >2023-02-03 23:38:48,934 root INFO writing top-level names to gazpacho.egg-info/top_level.txt >2023-02-03 23:38:48,949 setuptools_scm.file_finder_git ERROR listing git files failed - pretending there aren't any >2023-02-03 23:38:48,951 root INFO reading manifest file 'gazpacho.egg-info/SOURCES.txt' >2023-02-03 23:38:48,952 root INFO adding license file 'LICENSE' >2023-02-03 23:38:48,952 root INFO writing manifest file 'gazpacho.egg-info/SOURCES.txt' >2023-02-03 23:38:48,952 root INFO Copying gazpacho.egg-info to build/bdist.linux-x86_64/wheel/gazpacho-1.1-py3.10.egg-info >2023-02-03 23:38:48,953 root INFO running install_scripts >2023-02-03 23:38:48,969 wheel INFO creating build/bdist.linux-x86_64/wheel/gazpacho-1.1.dist-info/WHEEL >2023-02-03 23:38:48,970 wheel INFO creating '/var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_10/wheel/.tmp-eyzntpzd/gazpacho-1.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >2023-02-03 23:38:48,970 wheel INFO adding 'gazpacho/__init__.py' >2023-02-03 23:38:48,970 wheel INFO adding 'gazpacho/get.py' >2023-02-03 23:38:48,970 wheel INFO adding 'gazpacho/py.typed' >2023-02-03 23:38:48,970 wheel INFO adding 'gazpacho/soup.py' >2023-02-03 23:38:48,971 wheel INFO adding 'gazpacho/utils.py' >2023-02-03 23:38:48,971 wheel INFO adding 'gazpacho-1.1.dist-info/LICENSE' >2023-02-03 23:38:48,971 wheel INFO adding 'gazpacho-1.1.dist-info/METADATA' >2023-02-03 23:38:48,971 wheel INFO adding 'gazpacho-1.1.dist-info/WHEEL' >2023-02-03 23:38:48,971 wheel INFO adding 'gazpacho-1.1.dist-info/top_level.txt' >2023-02-03 23:38:48,971 wheel INFO adding 'gazpacho-1.1.dist-info/RECORD' >2023-02-03 23:38:48,972 wheel INFO removing build/bdist.linux-x86_64/wheel >2023-02-03 23:38:48,972 gpep517 INFO The backend produced /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_10/wheel/gazpacho-1.1-py3-none-any.whl > * Installing gazpacho-1.1-py3-none-any.whl to /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_10/install >gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_10/install --interpreter=/usr/bin/python3.10 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_10/wheel/gazpacho-1.1-py3-none-any.whl >2023-02-03 23:38:49,049 gpep517 INFO Installing /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_10/wheel/gazpacho-1.1-py3-none-any.whl into /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_10/install >2023-02-03 23:38:49,060 gpep517 INFO Installation complete > * python3_11: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for gazpacho-1.1 via setuptools.build_meta:__legacy__ >gpep517 build-wheel --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_11/wheel >2023-02-03 23:38:49,321 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >2023-02-03 23:38:49,348 root INFO running bdist_wheel >2023-02-03 23:38:49,396 root INFO running build >2023-02-03 23:38:49,396 root INFO running build_py >2023-02-03 23:38:49,400 root INFO creating build >2023-02-03 23:38:49,400 root INFO creating build/lib >2023-02-03 23:38:49,400 root INFO creating build/lib/gazpacho >2023-02-03 23:38:49,400 root INFO copying gazpacho/utils.py -> build/lib/gazpacho >2023-02-03 23:38:49,400 root INFO copying gazpacho/soup.py -> build/lib/gazpacho >2023-02-03 23:38:49,400 root INFO copying gazpacho/get.py -> build/lib/gazpacho >2023-02-03 23:38:49,401 root INFO copying gazpacho/__init__.py -> build/lib/gazpacho >2023-02-03 23:38:49,401 root INFO copying gazpacho/py.typed -> build/lib/gazpacho >2023-02-03 23:38:49,401 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2023-02-03 23:38:49,409 wheel INFO installing to build/bdist.linux-x86_64/wheel >2023-02-03 23:38:49,409 root INFO running install >2023-02-03 23:38:49,417 root INFO running install_lib >2023-02-03 23:38:49,421 root INFO creating build/bdist.linux-x86_64 >2023-02-03 23:38:49,421 root INFO creating build/bdist.linux-x86_64/wheel >2023-02-03 23:38:49,421 root INFO creating build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:49,421 root INFO copying build/lib/gazpacho/py.typed -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:49,421 root INFO copying build/lib/gazpacho/__init__.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:49,421 root INFO copying build/lib/gazpacho/get.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:49,421 root INFO copying build/lib/gazpacho/soup.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:49,421 root INFO copying build/lib/gazpacho/utils.py -> build/bdist.linux-x86_64/wheel/gazpacho >2023-02-03 23:38:49,422 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2023-02-03 23:38:49,422 root INFO running install_egg_info >2023-02-03 23:38:49,432 root INFO running egg_info >2023-02-03 23:38:49,435 root INFO writing gazpacho.egg-info/PKG-INFO >2023-02-03 23:38:49,436 root INFO writing dependency_links to gazpacho.egg-info/dependency_links.txt >2023-02-03 23:38:49,436 root INFO writing requirements to gazpacho.egg-info/requires.txt >2023-02-03 23:38:49,436 root INFO writing top-level names to gazpacho.egg-info/top_level.txt >2023-02-03 23:38:49,450 setuptools_scm.file_finder_git ERROR listing git files failed - pretending there aren't any >2023-02-03 23:38:49,452 root INFO reading manifest file 'gazpacho.egg-info/SOURCES.txt' >2023-02-03 23:38:49,452 root INFO adding license file 'LICENSE' >2023-02-03 23:38:49,453 root INFO writing manifest file 'gazpacho.egg-info/SOURCES.txt' >2023-02-03 23:38:49,453 root INFO Copying gazpacho.egg-info to build/bdist.linux-x86_64/wheel/gazpacho-1.1-py3.11.egg-info >2023-02-03 23:38:49,454 root INFO running install_scripts >2023-02-03 23:38:49,469 wheel INFO creating build/bdist.linux-x86_64/wheel/gazpacho-1.1.dist-info/WHEEL >2023-02-03 23:38:49,470 wheel INFO creating '/var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_11/wheel/.tmp-mgj9m8q3/gazpacho-1.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >2023-02-03 23:38:49,470 wheel INFO adding 'gazpacho/__init__.py' >2023-02-03 23:38:49,470 wheel INFO adding 'gazpacho/get.py' >2023-02-03 23:38:49,470 wheel INFO adding 'gazpacho/py.typed' >2023-02-03 23:38:49,470 wheel INFO adding 'gazpacho/soup.py' >2023-02-03 23:38:49,470 wheel INFO adding 'gazpacho/utils.py' >2023-02-03 23:38:49,471 wheel INFO adding 'gazpacho-1.1.dist-info/LICENSE' >2023-02-03 23:38:49,471 wheel INFO adding 'gazpacho-1.1.dist-info/METADATA' >2023-02-03 23:38:49,471 wheel INFO adding 'gazpacho-1.1.dist-info/WHEEL' >2023-02-03 23:38:49,471 wheel INFO adding 'gazpacho-1.1.dist-info/top_level.txt' >2023-02-03 23:38:49,471 wheel INFO adding 'gazpacho-1.1.dist-info/RECORD' >2023-02-03 23:38:49,471 wheel INFO removing build/bdist.linux-x86_64/wheel >2023-02-03 23:38:49,472 gpep517 INFO The backend produced /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_11/wheel/gazpacho-1.1-py3-none-any.whl > * Installing gazpacho-1.1-py3-none-any.whl to /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_11/install >gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_11/install --interpreter=/usr/bin/python3.11 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_11/wheel/gazpacho-1.1-py3-none-any.whl >2023-02-03 23:38:49,549 gpep517 INFO Installing /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_11/wheel/gazpacho-1.1-py3-none-any.whl into /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_11/install >2023-02-03 23:38:49,560 gpep517 INFO Installation complete >>>> Source compiled. >>>> Test phase: dev-python/gazpacho-1.1 > * python3_9: running distutils-r1_run_phase python_test >python3.9 -m pytest -vv -ra -l -Wdefault --color=no -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:tavern >============================= test session starts ============================== >platform linux -- Python 3.9.16, pytest-7.2.1, pluggy-1.0.0 -- /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1-python3_9/install/usr/bin/python3.9 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1 >collecting ... collected 42 items > >tests/test_get.py::test_get FAILED [ 1/42] >tests/test_get.py::test_get_headers FAILED [ 2/42] >tests/test_get.py::test_get_params FAILED [ 3/42] >tests/test_get.py::test_HTTPError_404 FAILED [ 4/42] >tests/test_soup.py::test_find PASSED [ 5/42] >tests/test_soup.py::test_find_first PASSED [ 6/42] >tests/test_soup.py::test_find_with_attrs PASSED [ 7/42] >tests/test_soup.py::test_find_multiple PASSED [ 8/42] >tests/test_soup.py::test_find_text PASSED [ 9/42] >tests/test_soup.py::test_find_nested_groups PASSED [10/42] >tests/test_soup.py::test_find_partial_false PASSED [11/42] >tests/test_soup.py::test_find_nested_empty_tag PASSED [12/42] >tests/test_soup.py::test_find_mutliple_imgs PASSED [13/42] >tests/test_soup.py::test_strip PASSED [14/42] >tests/test_soup.py::test_strip_keep_whitespace PASSED [15/42] >tests/test_soup.py::test_find_no_match_first PASSED [16/42] >tests/test_soup.py::test_find_no_match_all PASSED [17/42] >tests/test_soup.py::test_find_no_match_auto PASSED [18/42] >tests/test_soup.py::test_malformed_void_tags PASSED [19/42] >tests/test_soup.py::test_remove_tags_warning PASSED [20/42] >tests/test_soup.py::test_find_strict PASSED [21/42] >tests/test_soup.py::test_soup_get_cls_method FAILED [22/42] >tests/test_soup.py::test_bad_mode_argument PASSED [23/42] >tests/test_soup.py::test_undocumented_random_mode PASSED [24/42] >tests/test_soup.py::test_undocumented_last_mode PASSED [25/42] >tests/test_soup.py::test_html_format_in_soup PASSED [26/42] >tests/test_soup.py::test_bad_html_not_formatted_in_soup PASSED [27/42] >tests/test_utils.py::test_attr_match PASSED [28/42] >tests/test_utils.py::test_attr_match_query_empty PASSED [29/42] >tests/test_utils.py::test_match_empty_empty PASSED [30/42] >tests/test_utils.py::test_match_empty_attrs_fail PASSED [31/42] >tests/test_utils.py::test_match_partial PASSED [32/42] >tests/test_utils.py::test_match_multiple PASSED [33/42] >tests/test_utils.py::test_match_multiple_fail PASSED [34/42] >tests/test_utils.py::test_match_query_too_much_fail PASSED [35/42] >tests/test_utils.py::test_match_multiple_partial PASSED [36/42] >tests/test_utils.py::test_multiple_partial_fail PASSED [37/42] >tests/test_utils.py::test_recover_html_and_attrs PASSED [38/42] >tests/test_utils.py::test_format PASSED [39/42] >tests/test_utils.py::test_format_fail PASSED [40/42] >tests/test_utils.py::test_sanitize_weird_characters PASSED [41/42] >tests/test_utils.py::test_sanitize_missing_protocol PASSED [42/42] > >=================================== FAILURES =================================== >___________________________________ test_get ___________________________________ > >self = <urllib.request.HTTPSHandler object at 0x7f1ae6f770a0> >http_class = <class 'http.client.HTTPSConnection'> >req = <urllib.request.Request object at 0x7f1ae707caf0> >http_conn_args = {'check_hostname': None, 'context': None} >host = 'en.wikipedia.org' >h = <http.client.HTTPSConnection object at 0x7f1ae6f77430> > > def do_open(self, http_class, req, **http_conn_args): > """Return an HTTPResponse object for the request, using http_class. > > http_class must implement the HTTPConnection API from http.client. > """ > host = req.host > if not host: > raise URLError('no host given') > > # will parse host:port > h = http_class(host, timeout=req.timeout, **http_conn_args) > h.set_debuglevel(self._debuglevel) > > headers = dict(req.unredirected_hdrs) > headers.update({k: v for k, v in req.headers.items() > if k not in headers}) > > # TODO(jhylton): Should this be redesigned to handle > # persistent connections? > > # We want to make an HTTP/1.1 request, but the addinfourl > # class isn't prepared to deal with a persistent connection. > # It will try to read all remaining data from the socket, > # which will block while the server waits for the next request. > # So make sure the connection gets closed after the (only) > # request. > headers["Connection"] = "close" > headers = {name.title(): val for name, val in headers.items()} > > if req._tunnel_host: > tunnel_headers = {} > proxy_auth_hdr = "Proxy-Authorization" > if proxy_auth_hdr in headers: > tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] > # Proxy-Authorization should not be sent to origin > # server. > del headers[proxy_auth_hdr] > h.set_tunnel(req._tunnel_host, headers=tunnel_headers) > > try: > try: >> h.request(req.get_method(), req.selector, req.data, headers, > encode_chunked=req.has_header('Transfer-encoding')) > >h = <http.client.HTTPSConnection object at 0x7f1ae6f77430> >headers = {'Connection': 'close', > 'Host': 'en.wikipedia.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >host = 'en.wikipedia.org' >http_class = <class 'http.client.HTTPSConnection'> >http_conn_args = {'check_hostname': None, 'context': None} >req = <urllib.request.Request object at 0x7f1ae707caf0> >self = <urllib.request.HTTPSHandler object at 0x7f1ae6f770a0> > >/usr/lib/python3.9/urllib/request.py:1346: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430>, method = 'GET' >url = '/wiki/Gazpacho', body = None >headers = {'Connection': 'close', 'Host': 'en.wikipedia.org', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0'} > > def request(self, method, url, body=None, headers={}, *, > encode_chunked=False): > """Send a complete request to the server.""" >> self._send_request(method, url, body, headers, encode_chunked) > >body = None >encode_chunked = False >headers = {'Connection': 'close', > 'Host': 'en.wikipedia.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >method = 'GET' >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> >url = '/wiki/Gazpacho' > >/usr/lib/python3.9/http/client.py:1285: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430>, method = 'GET' >url = '/wiki/Gazpacho', body = None >headers = {'Connection': 'close', 'Host': 'en.wikipedia.org', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0'} >encode_chunked = False > > def _send_request(self, method, url, body, headers, encode_chunked): > # Honor explicitly requested Host: and Accept-Encoding: headers. > header_names = frozenset(k.lower() for k in headers) > skips = {} > if 'host' in header_names: > skips['skip_host'] = 1 > if 'accept-encoding' in header_names: > skips['skip_accept_encoding'] = 1 > > self.putrequest(method, url, **skips) > > # chunked encoding will happen if HTTP/1.1 is used and either > # the caller passes encode_chunked=True or the following > # conditions hold: > # 1. content-length has not been explicitly set > # 2. the body is a file or iterable, but not a str or bytes-like > # 3. Transfer-Encoding has NOT been explicitly set by the caller > > if 'content-length' not in header_names: > # only chunk body if not explicitly set for backwards > # compatibility, assuming the client code is already handling the > # chunking > if 'transfer-encoding' not in header_names: > # if content-length cannot be automatically determined, fall > # back to chunked encoding > encode_chunked = False > content_length = self._get_content_length(body, method) > if content_length is None: > if body is not None: > if self.debuglevel > 0: > print('Unable to determine size of %r' % body) > encode_chunked = True > self.putheader('Transfer-Encoding', 'chunked') > else: > self.putheader('Content-Length', str(content_length)) > else: > encode_chunked = False > > for hdr, value in headers.items(): > self.putheader(hdr, value) > if isinstance(body, str): > # RFC 2616 Section 3.7.1 says that text default has a > # default charset of iso-8859-1. > body = _encode(body, 'body') >> self.endheaders(body, encode_chunked=encode_chunked) > >body = None >content_length = None >encode_chunked = False >hdr = 'Connection' >header_names = frozenset({'connection', 'host', 'user-agent'}) >headers = {'Connection': 'close', > 'Host': 'en.wikipedia.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >method = 'GET' >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> >skips = {'skip_host': 1} >url = '/wiki/Gazpacho' >value = 'close' > >/usr/lib/python3.9/http/client.py:1331: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> >message_body = None > > def endheaders(self, message_body=None, *, encode_chunked=False): > """Indicate that the last header line has been sent to the server. > > This method sends the request to the server. The optional message_body > argument can be used to pass a message body associated with the > request. > """ > if self.__state == _CS_REQ_STARTED: > self.__state = _CS_REQ_SENT > else: > raise CannotSendHeader() >> self._send_output(message_body, encode_chunked=encode_chunked) > >encode_chunked = False >message_body = None >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> > >/usr/lib/python3.9/http/client.py:1280: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> >message_body = None, encode_chunked = False > > def _send_output(self, message_body=None, encode_chunked=False): > """Send the currently buffered request and clear the buffer. > > Appends an extra \\r\\n to the buffer. > A message_body may be specified, to be appended to the request. > """ > self._buffer.extend((b"", b"")) > msg = b"\r\n".join(self._buffer) > del self._buffer[:] >> self.send(msg) > >encode_chunked = False >message_body = None >msg = (b'GET /wiki/Gazpacho HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: en.wikiped' > b'ia.org\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.' > b'0) Gecko/20100101 Firefox/80.0\r\nConnection: close\r\n\r\n') >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> > >/usr/lib/python3.9/http/client.py:1040: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> >data = b'GET /wiki/Gazpacho HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: en.wikipedia.org\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0\r\nConnection: close\r\n\r\n' > > def send(self, data): > """Send `data' to the server. > ``data`` can be a string object, a bytes object, an array object, a > file-like object that supports a .read() method, or an iterable object. > """ > > if self.sock is None: > if self.auto_open: >> self.connect() > >data = (b'GET /wiki/Gazpacho HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: en.wikiped' > b'ia.org\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.' > b'0) Gecko/20100101 Firefox/80.0\r\nConnection: close\r\n\r\n') >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> > >/usr/lib/python3.9/http/client.py:980: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> > > def connect(self): > "Connect to a host on a given (SSL) port." > >> super().connect() > >__class__ = <class 'http.client.HTTPSConnection'> >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> > >/usr/lib/python3.9/http/client.py:1447: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> > > def connect(self): > """Connect to the host and port specified in __init__.""" >> self.sock = self._create_connection( > (self.host,self.port), self.timeout, self.source_address) > >self = <http.client.HTTPSConnection object at 0x7f1ae6f77430> > >/usr/lib/python3.9/http/client.py:946: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >address = ('en.wikipedia.org', 443), timeout = <object object at 0x7f1ae7a8a7b0> >source_address = None > > def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, > source_address=None): > """Connect to *address* and return the socket object. > > Convenience function. Connect to *address* (a 2-tuple ``(host, > port)``) and return the socket object. Passing the optional > *timeout* parameter will set the timeout on the socket instance > before attempting to connect. If no *timeout* is supplied, the > global default timeout setting returned by :func:`getdefaulttimeout` > is used. If *source_address* is set it must be a tuple of (host, port) > for the socket to bind as a source address before making the connection. > A host of '' or port 0 tells the OS to use the default. > """ > > host, port = address > err = None >> for res in getaddrinfo(host, port, 0, SOCK_STREAM): > >address = ('en.wikipedia.org', 443) >err = None >host = 'en.wikipedia.org' >port = 443 >source_address = None >timeout = <object object at 0x7f1ae7a8a7b0> > >/usr/lib/python3.9/socket.py:823: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >host = 'en.wikipedia.org', port = 443, family = 0 >type = <SocketKind.SOCK_STREAM: 1>, proto = 0, flags = 0 > > def getaddrinfo(host, port, family=0, type=0, proto=0, flags=0): > """Resolve host and port into list of address info entries. > > Translate the host/port argument into a sequence of 5-tuples that contain > all the necessary arguments for creating a socket connected to that service. > host is a domain name, a string representation of an IPv4/v6 address or > None. port is a string service name such as 'http', a numeric port number or > None. By passing None as the value of host and port, you can pass NULL to > the underlying C API. > > The family, type and proto arguments can be optionally specified in order to > narrow the list of addresses returned. Passing zero as a value for each of > these arguments selects the full range of results. > """ > # We override this function since we want to translate the numeric family > # and socket type values to enum constants. > addrlist = [] >> for res in _socket.getaddrinfo(host, port, family, type, proto, flags): >E socket.gaierror: [Errno -3] Temporary failure in name resolution > >addrlist = [] >family = 0 >flags = 0 >host = 'en.wikipedia.org' >port = 443 >proto = 0 >type = <SocketKind.SOCK_STREAM: 1> > >/usr/lib/python3.9/socket.py:954: gaierror > >During handling of the above exception, another exception occurred: > > def test_get(): > url = "https://en.wikipedia.org/wiki/Gazpacho" >> content = get(url) > >url = 'https://en.wikipedia.org/wiki/Gazpacho' > >tests/test_get.py:8: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >gazpacho/get.py:40: in get > with opener.open(url) as response: > headers = None > opener = <urllib.request.OpenerDirector object at 0x7f1ae707c280> > params = None > ua = ('Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 ' > 'Firefox/80.0') > url = 'https://en.wikipedia.org/wiki/Gazpacho' >/usr/lib/python3.9/urllib/request.py:517: in open > response = self._open(req, data) > data = None > fullurl = 'https://en.wikipedia.org/wiki/Gazpacho' > meth = <bound method AbstractHTTPHandler.do_request_ of <urllib.request.HTTPSHandler object at 0x7f1ae6f770a0>> > meth_name = 'https_request' > processor = <urllib.request.HTTPSHandler object at 0x7f1ae6f770a0> > protocol = 'https' > req = <urllib.request.Request object at 0x7f1ae707caf0> > self = <urllib.request.OpenerDirector object at 0x7f1ae707c280> > timeout = <object object at 0x7f1ae7a8a7b0> >/usr/lib/python3.9/urllib/request.py:534: in _open > result = self._call_chain(self.handle_open, protocol, protocol + > data = None > protocol = 'https' > req = <urllib.request.Request object at 0x7f1ae707caf0> > result = None > self = <urllib.request.OpenerDirector object at 0x7f1ae707c280> >/usr/lib/python3.9/urllib/request.py:494: in _call_chain > result = func(*args) > args = (<urllib.request.Request object at 0x7f1ae707caf0>,) > chain = {'data': [<urllib.request.DataHandler object at 0x7f1ae707c6a0>], > 'file': [<urllib.request.FileHandler object at 0x7f1ae707cf70>], > 'ftp': [<urllib.request.FTPHandler object at 0x7f1ae707c940>], > 'http': [<urllib.request.HTTPHandler object at 0x7f1ae707c640>], > 'https': [<urllib.request.HTTPSHandler object at 0x7f1ae6f770a0>], > 'unknown': [<urllib.request.UnknownHandler object at 0x7f1ae707c6d0>]} > func = <bound method HTTPSHandler.https_open of <urllib.request.HTTPSHandler object at 0x7f1ae6f770a0>> > handler = <urllib.request.HTTPSHandler object at 0x7f1ae6f770a0> > handlers = [<urllib.request.HTTPSHandler object at 0x7f1ae6f770a0>] > kind = 'https' > meth_name = 'https_open' > self = <urllib.request.OpenerDirector object at 0x7f1ae707c280> >/usr/lib/python3.9/urllib/request.py:1389: in https_open > return self.do_open(http.client.HTTPSConnection, req, > req = <urllib.request.Request object at 0x7f1ae707caf0> > self = <urllib.request.HTTPSHandler object at 0x7f1ae6f770a0> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <urllib.request.HTTPSHandler object at 0x7f1ae6f770a0> >http_class = <class 'http.client.HTTPSConnection'> >req = <urllib.request.Request object at 0x7f1ae707caf0> >http_conn_args = {'check_hostname': None, 'context': None} >host = 'en.wikipedia.org' >h = <http.client.HTTPSConnection object at 0x7f1ae6f77430> > > def do_open(self, http_class, req, **http_conn_args): > """Return an HTTPResponse object for the request, using http_class. > > http_class must implement the HTTPConnection API from http.client. > """ > host = req.host > if not host: > raise URLError('no host given') > > # will parse host:port > h = http_class(host, timeout=req.timeout, **http_conn_args) > h.set_debuglevel(self._debuglevel) > > headers = dict(req.unredirected_hdrs) > headers.update({k: v for k, v in req.headers.items() > if k not in headers}) > > # TODO(jhylton): Should this be redesigned to handle > # persistent connections? > > # We want to make an HTTP/1.1 request, but the addinfourl > # class isn't prepared to deal with a persistent connection. > # It will try to read all remaining data from the socket, > # which will block while the server waits for the next request. > # So make sure the connection gets closed after the (only) > # request. > headers["Connection"] = "close" > headers = {name.title(): val for name, val in headers.items()} > > if req._tunnel_host: > tunnel_headers = {} > proxy_auth_hdr = "Proxy-Authorization" > if proxy_auth_hdr in headers: > tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] > # Proxy-Authorization should not be sent to origin > # server. > del headers[proxy_auth_hdr] > h.set_tunnel(req._tunnel_host, headers=tunnel_headers) > > try: > try: > h.request(req.get_method(), req.selector, req.data, headers, > encode_chunked=req.has_header('Transfer-encoding')) > except OSError as err: # timeout error >> raise URLError(err) >E urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> > >h = <http.client.HTTPSConnection object at 0x7f1ae6f77430> >headers = {'Connection': 'close', > 'Host': 'en.wikipedia.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >host = 'en.wikipedia.org' >http_class = <class 'http.client.HTTPSConnection'> >http_conn_args = {'check_hostname': None, 'context': None} >req = <urllib.request.Request object at 0x7f1ae707caf0> >self = <urllib.request.HTTPSHandler object at 0x7f1ae6f770a0> > >/usr/lib/python3.9/urllib/request.py:1349: URLError >_______________________________ test_get_headers _______________________________ > >self = <urllib.request.HTTPSHandler object at 0x7f1ae6dcf640> >http_class = <class 'http.client.HTTPSConnection'> >req = <urllib.request.Request object at 0x7f1ae6dcfa60> >http_conn_args = {'check_hostname': None, 'context': None}, host = 'httpbin.org' >h = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> > > def do_open(self, http_class, req, **http_conn_args): > """Return an HTTPResponse object for the request, using http_class. > > http_class must implement the HTTPConnection API from http.client. > """ > host = req.host > if not host: > raise URLError('no host given') > > # will parse host:port > h = http_class(host, timeout=req.timeout, **http_conn_args) > h.set_debuglevel(self._debuglevel) > > headers = dict(req.unredirected_hdrs) > headers.update({k: v for k, v in req.headers.items() > if k not in headers}) > > # TODO(jhylton): Should this be redesigned to handle > # persistent connections? > > # We want to make an HTTP/1.1 request, but the addinfourl > # class isn't prepared to deal with a persistent connection. > # It will try to read all remaining data from the socket, > # which will block while the server waits for the next request. > # So make sure the connection gets closed after the (only) > # request. > headers["Connection"] = "close" > headers = {name.title(): val for name, val in headers.items()} > > if req._tunnel_host: > tunnel_headers = {} > proxy_auth_hdr = "Proxy-Authorization" > if proxy_auth_hdr in headers: > tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] > # Proxy-Authorization should not be sent to origin > # server. > del headers[proxy_auth_hdr] > h.set_tunnel(req._tunnel_host, headers=tunnel_headers) > > try: > try: >> h.request(req.get_method(), req.selector, req.data, headers, > encode_chunked=req.has_header('Transfer-encoding')) > >h = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> >headers = {'Connection': 'close', > 'Host': 'httpbin.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) ' > 'Gecko/20100101 Firefox/69.0'} >host = 'httpbin.org' >http_class = <class 'http.client.HTTPSConnection'> >http_conn_args = {'check_hostname': None, 'context': None} >req = <urllib.request.Request object at 0x7f1ae6dcfa60> >self = <urllib.request.HTTPSHandler object at 0x7f1ae6dcf640> > >/usr/lib/python3.9/urllib/request.py:1346: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730>, method = 'GET' >url = '/headers', body = None >headers = {'Connection': 'close', 'Host': 'httpbin.org', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0'} > > def request(self, method, url, body=None, headers={}, *, > encode_chunked=False): > """Send a complete request to the server.""" >> self._send_request(method, url, body, headers, encode_chunked) > >body = None >encode_chunked = False >headers = {'Connection': 'close', > 'Host': 'httpbin.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) ' > 'Gecko/20100101 Firefox/69.0'} >method = 'GET' >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> >url = '/headers' > >/usr/lib/python3.9/http/client.py:1285: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730>, method = 'GET' >url = '/headers', body = None >headers = {'Connection': 'close', 'Host': 'httpbin.org', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0'} >encode_chunked = False > > def _send_request(self, method, url, body, headers, encode_chunked): > # Honor explicitly requested Host: and Accept-Encoding: headers. > header_names = frozenset(k.lower() for k in headers) > skips = {} > if 'host' in header_names: > skips['skip_host'] = 1 > if 'accept-encoding' in header_names: > skips['skip_accept_encoding'] = 1 > > self.putrequest(method, url, **skips) > > # chunked encoding will happen if HTTP/1.1 is used and either > # the caller passes encode_chunked=True or the following > # conditions hold: > # 1. content-length has not been explicitly set > # 2. the body is a file or iterable, but not a str or bytes-like > # 3. Transfer-Encoding has NOT been explicitly set by the caller > > if 'content-length' not in header_names: > # only chunk body if not explicitly set for backwards > # compatibility, assuming the client code is already handling the > # chunking > if 'transfer-encoding' not in header_names: > # if content-length cannot be automatically determined, fall > # back to chunked encoding > encode_chunked = False > content_length = self._get_content_length(body, method) > if content_length is None: > if body is not None: > if self.debuglevel > 0: > print('Unable to determine size of %r' % body) > encode_chunked = True > self.putheader('Transfer-Encoding', 'chunked') > else: > self.putheader('Content-Length', str(content_length)) > else: > encode_chunked = False > > for hdr, value in headers.items(): > self.putheader(hdr, value) > if isinstance(body, str): > # RFC 2616 Section 3.7.1 says that text default has a > # default charset of iso-8859-1. > body = _encode(body, 'body') >> self.endheaders(body, encode_chunked=encode_chunked) > >body = None >content_length = None >encode_chunked = False >hdr = 'Connection' >header_names = frozenset({'connection', 'host', 'user-agent'}) >headers = {'Connection': 'close', > 'Host': 'httpbin.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) ' > 'Gecko/20100101 Firefox/69.0'} >method = 'GET' >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> >skips = {'skip_host': 1} >url = '/headers' >value = 'close' > >/usr/lib/python3.9/http/client.py:1331: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> >message_body = None > > def endheaders(self, message_body=None, *, encode_chunked=False): > """Indicate that the last header line has been sent to the server. > > This method sends the request to the server. The optional message_body > argument can be used to pass a message body associated with the > request. > """ > if self.__state == _CS_REQ_STARTED: > self.__state = _CS_REQ_SENT > else: > raise CannotSendHeader() >> self._send_output(message_body, encode_chunked=encode_chunked) > >encode_chunked = False >message_body = None >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> > >/usr/lib/python3.9/http/client.py:1280: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> >message_body = None, encode_chunked = False > > def _send_output(self, message_body=None, encode_chunked=False): > """Send the currently buffered request and clear the buffer. > > Appends an extra \\r\\n to the buffer. > A message_body may be specified, to be appended to the request. > """ > self._buffer.extend((b"", b"")) > msg = b"\r\n".join(self._buffer) > del self._buffer[:] >> self.send(msg) > >encode_chunked = False >message_body = None >msg = (b'GET /headers HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: httpbin.org\r' > b'\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Geck' > b'o/20100101 Firefox/69.0\r\nConnection: close\r\n\r\n') >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> > >/usr/lib/python3.9/http/client.py:1040: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> >data = b'GET /headers HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: httpbin.org\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0\r\nConnection: close\r\n\r\n' > > def send(self, data): > """Send `data' to the server. > ``data`` can be a string object, a bytes object, an array object, a > file-like object that supports a .read() method, or an iterable object. > """ > > if self.sock is None: > if self.auto_open: >> self.connect() > >data = (b'GET /headers HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: httpbin.org\r' > b'\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Geck' > b'o/20100101 Firefox/69.0\r\nConnection: close\r\n\r\n') >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> > >/usr/lib/python3.9/http/client.py:980: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> > > def connect(self): > "Connect to a host on a given (SSL) port." > >> super().connect() > >__class__ = <class 'http.client.HTTPSConnection'> >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> > >/usr/lib/python3.9/http/client.py:1447: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> > > def connect(self): > """Connect to the host and port specified in __init__.""" >> self.sock = self._create_connection( > (self.host,self.port), self.timeout, self.source_address) > >self = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> > >/usr/lib/python3.9/http/client.py:946: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >address = ('httpbin.org', 443), timeout = <object object at 0x7f1ae7a8a7b0> >source_address = None > > def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, > source_address=None): > """Connect to *address* and return the socket object. > > Convenience function. Connect to *address* (a 2-tuple ``(host, > port)``) and return the socket object. Passing the optional > *timeout* parameter will set the timeout on the socket instance > before attempting to connect. If no *timeout* is supplied, the > global default timeout setting returned by :func:`getdefaulttimeout` > is used. If *source_address* is set it must be a tuple of (host, port) > for the socket to bind as a source address before making the connection. > A host of '' or port 0 tells the OS to use the default. > """ > > host, port = address > err = None >> for res in getaddrinfo(host, port, 0, SOCK_STREAM): > >address = ('httpbin.org', 443) >err = None >host = 'httpbin.org' >port = 443 >source_address = None >timeout = <object object at 0x7f1ae7a8a7b0> > >/usr/lib/python3.9/socket.py:823: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >host = 'httpbin.org', port = 443, family = 0, type = <SocketKind.SOCK_STREAM: 1> >proto = 0, flags = 0 > > def getaddrinfo(host, port, family=0, type=0, proto=0, flags=0): > """Resolve host and port into list of address info entries. > > Translate the host/port argument into a sequence of 5-tuples that contain > all the necessary arguments for creating a socket connected to that service. > host is a domain name, a string representation of an IPv4/v6 address or > None. port is a string service name such as 'http', a numeric port number or > None. By passing None as the value of host and port, you can pass NULL to > the underlying C API. > > The family, type and proto arguments can be optionally specified in order to > narrow the list of addresses returned. Passing zero as a value for each of > these arguments selects the full range of results. > """ > # We override this function since we want to translate the numeric family > # and socket type values to enum constants. > addrlist = [] >> for res in _socket.getaddrinfo(host, port, family, type, proto, flags): >E socket.gaierror: [Errno -3] Temporary failure in name resolution > >addrlist = [] >family = 0 >flags = 0 >host = 'httpbin.org' >port = 443 >proto = 0 >type = <SocketKind.SOCK_STREAM: 1> > >/usr/lib/python3.9/socket.py:954: gaierror > >During handling of the above exception, another exception occurred: > > def test_get_headers(): > url = "https://httpbin.org/headers" > UA = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0" > headers = {"User-Agent": UA} >> content = get(url, headers=headers) > >UA = ('Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 ' > 'Firefox/69.0') >headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) ' > 'Gecko/20100101 Firefox/69.0'} >url = 'https://httpbin.org/headers' > >tests/test_get.py:16: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >gazpacho/get.py:40: in get > with opener.open(url) as response: > h = ('User-Agent', > 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 ' > 'Firefox/69.0') > headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) ' > 'Gecko/20100101 Firefox/69.0'} > opener = <urllib.request.OpenerDirector object at 0x7f1ae6dcfa90> > params = None > url = 'https://httpbin.org/headers' >/usr/lib/python3.9/urllib/request.py:517: in open > response = self._open(req, data) > data = None > fullurl = 'https://httpbin.org/headers' > meth = <bound method AbstractHTTPHandler.do_request_ of <urllib.request.HTTPSHandler object at 0x7f1ae6dcf640>> > meth_name = 'https_request' > processor = <urllib.request.HTTPSHandler object at 0x7f1ae6dcf640> > protocol = 'https' > req = <urllib.request.Request object at 0x7f1ae6dcfa60> > self = <urllib.request.OpenerDirector object at 0x7f1ae6dcfa90> > timeout = <object object at 0x7f1ae7a8a7b0> >/usr/lib/python3.9/urllib/request.py:534: in _open > result = self._call_chain(self.handle_open, protocol, protocol + > data = None > protocol = 'https' > req = <urllib.request.Request object at 0x7f1ae6dcfa60> > result = None > self = <urllib.request.OpenerDirector object at 0x7f1ae6dcfa90> >/usr/lib/python3.9/urllib/request.py:494: in _call_chain > result = func(*args) > args = (<urllib.request.Request object at 0x7f1ae6dcfa60>,) > chain = {'data': [<urllib.request.DataHandler object at 0x7f1ae6dcf670>], > 'file': [<urllib.request.FileHandler object at 0x7f1ae6dcf8b0>], > 'ftp': [<urllib.request.FTPHandler object at 0x7f1ae6dcf880>], > 'http': [<urllib.request.HTTPHandler object at 0x7f1ae6dcf9a0>], > 'https': [<urllib.request.HTTPSHandler object at 0x7f1ae6dcf640>], > 'unknown': [<urllib.request.UnknownHandler object at 0x7f1ae6dcfa00>]} > func = <bound method HTTPSHandler.https_open of <urllib.request.HTTPSHandler object at 0x7f1ae6dcf640>> > handler = <urllib.request.HTTPSHandler object at 0x7f1ae6dcf640> > handlers = [<urllib.request.HTTPSHandler object at 0x7f1ae6dcf640>] > kind = 'https' > meth_name = 'https_open' > self = <urllib.request.OpenerDirector object at 0x7f1ae6dcfa90> >/usr/lib/python3.9/urllib/request.py:1389: in https_open > return self.do_open(http.client.HTTPSConnection, req, > req = <urllib.request.Request object at 0x7f1ae6dcfa60> > self = <urllib.request.HTTPSHandler object at 0x7f1ae6dcf640> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <urllib.request.HTTPSHandler object at 0x7f1ae6dcf640> >http_class = <class 'http.client.HTTPSConnection'> >req = <urllib.request.Request object at 0x7f1ae6dcfa60> >http_conn_args = {'check_hostname': None, 'context': None}, host = 'httpbin.org' >h = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> > > def do_open(self, http_class, req, **http_conn_args): > """Return an HTTPResponse object for the request, using http_class. > > http_class must implement the HTTPConnection API from http.client. > """ > host = req.host > if not host: > raise URLError('no host given') > > # will parse host:port > h = http_class(host, timeout=req.timeout, **http_conn_args) > h.set_debuglevel(self._debuglevel) > > headers = dict(req.unredirected_hdrs) > headers.update({k: v for k, v in req.headers.items() > if k not in headers}) > > # TODO(jhylton): Should this be redesigned to handle > # persistent connections? > > # We want to make an HTTP/1.1 request, but the addinfourl > # class isn't prepared to deal with a persistent connection. > # It will try to read all remaining data from the socket, > # which will block while the server waits for the next request. > # So make sure the connection gets closed after the (only) > # request. > headers["Connection"] = "close" > headers = {name.title(): val for name, val in headers.items()} > > if req._tunnel_host: > tunnel_headers = {} > proxy_auth_hdr = "Proxy-Authorization" > if proxy_auth_hdr in headers: > tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] > # Proxy-Authorization should not be sent to origin > # server. > del headers[proxy_auth_hdr] > h.set_tunnel(req._tunnel_host, headers=tunnel_headers) > > try: > try: > h.request(req.get_method(), req.selector, req.data, headers, > encode_chunked=req.has_header('Transfer-encoding')) > except OSError as err: # timeout error >> raise URLError(err) >E urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> > >h = <http.client.HTTPSConnection object at 0x7f1ae6dcf730> >headers = {'Connection': 'close', > 'Host': 'httpbin.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) ' > 'Gecko/20100101 Firefox/69.0'} >host = 'httpbin.org' >http_class = <class 'http.client.HTTPSConnection'> >http_conn_args = {'check_hostname': None, 'context': None} >req = <urllib.request.Request object at 0x7f1ae6dcfa60> >self = <urllib.request.HTTPSHandler object at 0x7f1ae6dcf640> > >/usr/lib/python3.9/urllib/request.py:1349: URLError >_______________________________ test_get_params ________________________________ > >self = <urllib.request.HTTPSHandler object at 0x7f1ae6edc430> >http_class = <class 'http.client.HTTPSConnection'> >req = <urllib.request.Request object at 0x7f1ae6edb5b0> >http_conn_args = {'check_hostname': None, 'context': None}, host = 'httpbin.org' >h = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> > > def do_open(self, http_class, req, **http_conn_args): > """Return an HTTPResponse object for the request, using http_class. > > http_class must implement the HTTPConnection API from http.client. > """ > host = req.host > if not host: > raise URLError('no host given') > > # will parse host:port > h = http_class(host, timeout=req.timeout, **http_conn_args) > h.set_debuglevel(self._debuglevel) > > headers = dict(req.unredirected_hdrs) > headers.update({k: v for k, v in req.headers.items() > if k not in headers}) > > # TODO(jhylton): Should this be redesigned to handle > # persistent connections? > > # We want to make an HTTP/1.1 request, but the addinfourl > # class isn't prepared to deal with a persistent connection. > # It will try to read all remaining data from the socket, > # which will block while the server waits for the next request. > # So make sure the connection gets closed after the (only) > # request. > headers["Connection"] = "close" > headers = {name.title(): val for name, val in headers.items()} > > if req._tunnel_host: > tunnel_headers = {} > proxy_auth_hdr = "Proxy-Authorization" > if proxy_auth_hdr in headers: > tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] > # Proxy-Authorization should not be sent to origin > # server. > del headers[proxy_auth_hdr] > h.set_tunnel(req._tunnel_host, headers=tunnel_headers) > > try: > try: >> h.request(req.get_method(), req.selector, req.data, headers, > encode_chunked=req.has_header('Transfer-encoding')) > >h = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> >headers = {'Connection': 'close', > 'Host': 'httpbin.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >host = 'httpbin.org' >http_class = <class 'http.client.HTTPSConnection'> >http_conn_args = {'check_hostname': None, 'context': None} >req = <urllib.request.Request object at 0x7f1ae6edb5b0> >self = <urllib.request.HTTPSHandler object at 0x7f1ae6edc430> > >/usr/lib/python3.9/urllib/request.py:1346: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0>, method = 'GET' >url = '/anything?foo=bar&bar=baz', body = None >headers = {'Connection': 'close', 'Host': 'httpbin.org', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0'} > > def request(self, method, url, body=None, headers={}, *, > encode_chunked=False): > """Send a complete request to the server.""" >> self._send_request(method, url, body, headers, encode_chunked) > >body = None >encode_chunked = False >headers = {'Connection': 'close', > 'Host': 'httpbin.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >method = 'GET' >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> >url = '/anything?foo=bar&bar=baz' > >/usr/lib/python3.9/http/client.py:1285: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0>, method = 'GET' >url = '/anything?foo=bar&bar=baz', body = None >headers = {'Connection': 'close', 'Host': 'httpbin.org', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0'} >encode_chunked = False > > def _send_request(self, method, url, body, headers, encode_chunked): > # Honor explicitly requested Host: and Accept-Encoding: headers. > header_names = frozenset(k.lower() for k in headers) > skips = {} > if 'host' in header_names: > skips['skip_host'] = 1 > if 'accept-encoding' in header_names: > skips['skip_accept_encoding'] = 1 > > self.putrequest(method, url, **skips) > > # chunked encoding will happen if HTTP/1.1 is used and either > # the caller passes encode_chunked=True or the following > # conditions hold: > # 1. content-length has not been explicitly set > # 2. the body is a file or iterable, but not a str or bytes-like > # 3. Transfer-Encoding has NOT been explicitly set by the caller > > if 'content-length' not in header_names: > # only chunk body if not explicitly set for backwards > # compatibility, assuming the client code is already handling the > # chunking > if 'transfer-encoding' not in header_names: > # if content-length cannot be automatically determined, fall > # back to chunked encoding > encode_chunked = False > content_length = self._get_content_length(body, method) > if content_length is None: > if body is not None: > if self.debuglevel > 0: > print('Unable to determine size of %r' % body) > encode_chunked = True > self.putheader('Transfer-Encoding', 'chunked') > else: > self.putheader('Content-Length', str(content_length)) > else: > encode_chunked = False > > for hdr, value in headers.items(): > self.putheader(hdr, value) > if isinstance(body, str): > # RFC 2616 Section 3.7.1 says that text default has a > # default charset of iso-8859-1. > body = _encode(body, 'body') >> self.endheaders(body, encode_chunked=encode_chunked) > >body = None >content_length = None >encode_chunked = False >hdr = 'Connection' >header_names = frozenset({'connection', 'host', 'user-agent'}) >headers = {'Connection': 'close', > 'Host': 'httpbin.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >method = 'GET' >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> >skips = {'skip_host': 1} >url = '/anything?foo=bar&bar=baz' >value = 'close' > >/usr/lib/python3.9/http/client.py:1331: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> >message_body = None > > def endheaders(self, message_body=None, *, encode_chunked=False): > """Indicate that the last header line has been sent to the server. > > This method sends the request to the server. The optional message_body > argument can be used to pass a message body associated with the > request. > """ > if self.__state == _CS_REQ_STARTED: > self.__state = _CS_REQ_SENT > else: > raise CannotSendHeader() >> self._send_output(message_body, encode_chunked=encode_chunked) > >encode_chunked = False >message_body = None >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> > >/usr/lib/python3.9/http/client.py:1280: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> >message_body = None, encode_chunked = False > > def _send_output(self, message_body=None, encode_chunked=False): > """Send the currently buffered request and clear the buffer. > > Appends an extra \\r\\n to the buffer. > A message_body may be specified, to be appended to the request. > """ > self._buffer.extend((b"", b"")) > msg = b"\r\n".join(self._buffer) > del self._buffer[:] >> self.send(msg) > >encode_chunked = False >message_body = None >msg = (b'GET /anything?foo=bar&bar=baz HTTP/1.1\r\nAccept-Encoding: identity\r\nHost:' > b' httpbin.org\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; ' > b'rv:80.0) Gecko/20100101 Firefox/80.0\r\nConnection: close\r\n\r\n') >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> > >/usr/lib/python3.9/http/client.py:1040: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> >data = b'GET /anything?foo=bar&bar=baz HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: httpbin.org\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0\r\nConnection: close\r\n\r\n' > > def send(self, data): > """Send `data' to the server. > ``data`` can be a string object, a bytes object, an array object, a > file-like object that supports a .read() method, or an iterable object. > """ > > if self.sock is None: > if self.auto_open: >> self.connect() > >data = (b'GET /anything?foo=bar&bar=baz HTTP/1.1\r\nAccept-Encoding: identity\r\nHost:' > b' httpbin.org\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; ' > b'rv:80.0) Gecko/20100101 Firefox/80.0\r\nConnection: close\r\n\r\n') >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> > >/usr/lib/python3.9/http/client.py:980: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> > > def connect(self): > "Connect to a host on a given (SSL) port." > >> super().connect() > >__class__ = <class 'http.client.HTTPSConnection'> >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> > >/usr/lib/python3.9/http/client.py:1447: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> > > def connect(self): > """Connect to the host and port specified in __init__.""" >> self.sock = self._create_connection( > (self.host,self.port), self.timeout, self.source_address) > >self = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> > >/usr/lib/python3.9/http/client.py:946: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >address = ('httpbin.org', 443), timeout = <object object at 0x7f1ae7a8a7b0> >source_address = None > > def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, > source_address=None): > """Connect to *address* and return the socket object. > > Convenience function. Connect to *address* (a 2-tuple ``(host, > port)``) and return the socket object. Passing the optional > *timeout* parameter will set the timeout on the socket instance > before attempting to connect. If no *timeout* is supplied, the > global default timeout setting returned by :func:`getdefaulttimeout` > is used. If *source_address* is set it must be a tuple of (host, port) > for the socket to bind as a source address before making the connection. > A host of '' or port 0 tells the OS to use the default. > """ > > host, port = address > err = None >> for res in getaddrinfo(host, port, 0, SOCK_STREAM): > >address = ('httpbin.org', 443) >err = None >host = 'httpbin.org' >port = 443 >source_address = None >timeout = <object object at 0x7f1ae7a8a7b0> > >/usr/lib/python3.9/socket.py:823: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >host = 'httpbin.org', port = 443, family = 0, type = <SocketKind.SOCK_STREAM: 1> >proto = 0, flags = 0 > > def getaddrinfo(host, port, family=0, type=0, proto=0, flags=0): > """Resolve host and port into list of address info entries. > > Translate the host/port argument into a sequence of 5-tuples that contain > all the necessary arguments for creating a socket connected to that service. > host is a domain name, a string representation of an IPv4/v6 address or > None. port is a string service name such as 'http', a numeric port number or > None. By passing None as the value of host and port, you can pass NULL to > the underlying C API. > > The family, type and proto arguments can be optionally specified in order to > narrow the list of addresses returned. Passing zero as a value for each of > these arguments selects the full range of results. > """ > # We override this function since we want to translate the numeric family > # and socket type values to enum constants. > addrlist = [] >> for res in _socket.getaddrinfo(host, port, family, type, proto, flags): >E socket.gaierror: [Errno -3] Temporary failure in name resolution > >addrlist = [] >family = 0 >flags = 0 >host = 'httpbin.org' >port = 443 >proto = 0 >type = <SocketKind.SOCK_STREAM: 1> > >/usr/lib/python3.9/socket.py:954: gaierror > >During handling of the above exception, another exception occurred: > > def test_get_params(): > url = "https://httpbin.org/anything" > params = {"foo": "bar", "bar": "baz"} >> content = get(url, params) > >params = {'bar': 'baz', 'foo': 'bar'} >url = 'https://httpbin.org/anything' > >tests/test_get.py:23: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >gazpacho/get.py:40: in get > with opener.open(url) as response: > headers = None > opener = <urllib.request.OpenerDirector object at 0x7f1ae6edb5e0> > params = {'bar': 'baz', 'foo': 'bar'} > ua = ('Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 ' > 'Firefox/80.0') > url = 'https://httpbin.org/anything?foo=bar&bar=baz' >/usr/lib/python3.9/urllib/request.py:517: in open > response = self._open(req, data) > data = None > fullurl = 'https://httpbin.org/anything?foo=bar&bar=baz' > meth = <bound method AbstractHTTPHandler.do_request_ of <urllib.request.HTTPSHandler object at 0x7f1ae6edc430>> > meth_name = 'https_request' > processor = <urllib.request.HTTPSHandler object at 0x7f1ae6edc430> > protocol = 'https' > req = <urllib.request.Request object at 0x7f1ae6edb5b0> > self = <urllib.request.OpenerDirector object at 0x7f1ae6edb5e0> > timeout = <object object at 0x7f1ae7a8a7b0> >/usr/lib/python3.9/urllib/request.py:534: in _open > result = self._call_chain(self.handle_open, protocol, protocol + > data = None > protocol = 'https' > req = <urllib.request.Request object at 0x7f1ae6edb5b0> > result = None > self = <urllib.request.OpenerDirector object at 0x7f1ae6edb5e0> >/usr/lib/python3.9/urllib/request.py:494: in _call_chain > result = func(*args) > args = (<urllib.request.Request object at 0x7f1ae6edb5b0>,) > chain = {'data': [<urllib.request.DataHandler object at 0x7f1ae6edc670>], > 'file': [<urllib.request.FileHandler object at 0x7f1ae6edc5e0>], > 'ftp': [<urllib.request.FTPHandler object at 0x7f1ae6edbdc0>], > 'http': [<urllib.request.HTTPHandler object at 0x7f1ae6edbcd0>], > 'https': [<urllib.request.HTTPSHandler object at 0x7f1ae6edc430>], > 'unknown': [<urllib.request.UnknownHandler object at 0x7f1ae6edba00>]} > func = <bound method HTTPSHandler.https_open of <urllib.request.HTTPSHandler object at 0x7f1ae6edc430>> > handler = <urllib.request.HTTPSHandler object at 0x7f1ae6edc430> > handlers = [<urllib.request.HTTPSHandler object at 0x7f1ae6edc430>] > kind = 'https' > meth_name = 'https_open' > self = <urllib.request.OpenerDirector object at 0x7f1ae6edb5e0> >/usr/lib/python3.9/urllib/request.py:1389: in https_open > return self.do_open(http.client.HTTPSConnection, req, > req = <urllib.request.Request object at 0x7f1ae6edb5b0> > self = <urllib.request.HTTPSHandler object at 0x7f1ae6edc430> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <urllib.request.HTTPSHandler object at 0x7f1ae6edc430> >http_class = <class 'http.client.HTTPSConnection'> >req = <urllib.request.Request object at 0x7f1ae6edb5b0> >http_conn_args = {'check_hostname': None, 'context': None}, host = 'httpbin.org' >h = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> > > def do_open(self, http_class, req, **http_conn_args): > """Return an HTTPResponse object for the request, using http_class. > > http_class must implement the HTTPConnection API from http.client. > """ > host = req.host > if not host: > raise URLError('no host given') > > # will parse host:port > h = http_class(host, timeout=req.timeout, **http_conn_args) > h.set_debuglevel(self._debuglevel) > > headers = dict(req.unredirected_hdrs) > headers.update({k: v for k, v in req.headers.items() > if k not in headers}) > > # TODO(jhylton): Should this be redesigned to handle > # persistent connections? > > # We want to make an HTTP/1.1 request, but the addinfourl > # class isn't prepared to deal with a persistent connection. > # It will try to read all remaining data from the socket, > # which will block while the server waits for the next request. > # So make sure the connection gets closed after the (only) > # request. > headers["Connection"] = "close" > headers = {name.title(): val for name, val in headers.items()} > > if req._tunnel_host: > tunnel_headers = {} > proxy_auth_hdr = "Proxy-Authorization" > if proxy_auth_hdr in headers: > tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] > # Proxy-Authorization should not be sent to origin > # server. > del headers[proxy_auth_hdr] > h.set_tunnel(req._tunnel_host, headers=tunnel_headers) > > try: > try: > h.request(req.get_method(), req.selector, req.data, headers, > encode_chunked=req.has_header('Transfer-encoding')) > except OSError as err: # timeout error >> raise URLError(err) >E urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> > >h = <http.client.HTTPSConnection object at 0x7f1ae6edc6d0> >headers = {'Connection': 'close', > 'Host': 'httpbin.org', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >host = 'httpbin.org' >http_class = <class 'http.client.HTTPSConnection'> >http_conn_args = {'check_hostname': None, 'context': None} >req = <urllib.request.Request object at 0x7f1ae6edb5b0> >self = <urllib.request.HTTPSHandler object at 0x7f1ae6edc430> > >/usr/lib/python3.9/urllib/request.py:1349: URLError >______________________________ test_HTTPError_404 ______________________________ > >self = <urllib.request.HTTPSHandler object at 0x7f1ae6fd7760> >http_class = <class 'http.client.HTTPSConnection'> >req = <urllib.request.Request object at 0x7f1ae6ecb580> >http_conn_args = {'check_hostname': None, 'context': None}, host = 'httpstat.us' >h = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> > > def do_open(self, http_class, req, **http_conn_args): > """Return an HTTPResponse object for the request, using http_class. > > http_class must implement the HTTPConnection API from http.client. > """ > host = req.host > if not host: > raise URLError('no host given') > > # will parse host:port > h = http_class(host, timeout=req.timeout, **http_conn_args) > h.set_debuglevel(self._debuglevel) > > headers = dict(req.unredirected_hdrs) > headers.update({k: v for k, v in req.headers.items() > if k not in headers}) > > # TODO(jhylton): Should this be redesigned to handle > # persistent connections? > > # We want to make an HTTP/1.1 request, but the addinfourl > # class isn't prepared to deal with a persistent connection. > # It will try to read all remaining data from the socket, > # which will block while the server waits for the next request. > # So make sure the connection gets closed after the (only) > # request. > headers["Connection"] = "close" > headers = {name.title(): val for name, val in headers.items()} > > if req._tunnel_host: > tunnel_headers = {} > proxy_auth_hdr = "Proxy-Authorization" > if proxy_auth_hdr in headers: > tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] > # Proxy-Authorization should not be sent to origin > # server. > del headers[proxy_auth_hdr] > h.set_tunnel(req._tunnel_host, headers=tunnel_headers) > > try: > try: >> h.request(req.get_method(), req.selector, req.data, headers, > encode_chunked=req.has_header('Transfer-encoding')) > >h = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> >headers = {'Connection': 'close', > 'Host': 'httpstat.us', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >host = 'httpstat.us' >http_class = <class 'http.client.HTTPSConnection'> >http_conn_args = {'check_hostname': None, 'context': None} >req = <urllib.request.Request object at 0x7f1ae6ecb580> >self = <urllib.request.HTTPSHandler object at 0x7f1ae6fd7760> > >/usr/lib/python3.9/urllib/request.py:1346: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0>, method = 'GET' >url = '/404', body = None >headers = {'Connection': 'close', 'Host': 'httpstat.us', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0'} > > def request(self, method, url, body=None, headers={}, *, > encode_chunked=False): > """Send a complete request to the server.""" >> self._send_request(method, url, body, headers, encode_chunked) > >body = None >encode_chunked = False >headers = {'Connection': 'close', > 'Host': 'httpstat.us', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >method = 'GET' >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> >url = '/404' > >/usr/lib/python3.9/http/client.py:1285: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0>, method = 'GET' >url = '/404', body = None >headers = {'Connection': 'close', 'Host': 'httpstat.us', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0'} >encode_chunked = False > > def _send_request(self, method, url, body, headers, encode_chunked): > # Honor explicitly requested Host: and Accept-Encoding: headers. > header_names = frozenset(k.lower() for k in headers) > skips = {} > if 'host' in header_names: > skips['skip_host'] = 1 > if 'accept-encoding' in header_names: > skips['skip_accept_encoding'] = 1 > > self.putrequest(method, url, **skips) > > # chunked encoding will happen if HTTP/1.1 is used and either > # the caller passes encode_chunked=True or the following > # conditions hold: > # 1. content-length has not been explicitly set > # 2. the body is a file or iterable, but not a str or bytes-like > # 3. Transfer-Encoding has NOT been explicitly set by the caller > > if 'content-length' not in header_names: > # only chunk body if not explicitly set for backwards > # compatibility, assuming the client code is already handling the > # chunking > if 'transfer-encoding' not in header_names: > # if content-length cannot be automatically determined, fall > # back to chunked encoding > encode_chunked = False > content_length = self._get_content_length(body, method) > if content_length is None: > if body is not None: > if self.debuglevel > 0: > print('Unable to determine size of %r' % body) > encode_chunked = True > self.putheader('Transfer-Encoding', 'chunked') > else: > self.putheader('Content-Length', str(content_length)) > else: > encode_chunked = False > > for hdr, value in headers.items(): > self.putheader(hdr, value) > if isinstance(body, str): > # RFC 2616 Section 3.7.1 says that text default has a > # default charset of iso-8859-1. > body = _encode(body, 'body') >> self.endheaders(body, encode_chunked=encode_chunked) > >body = None >content_length = None >encode_chunked = False >hdr = 'Connection' >header_names = frozenset({'connection', 'host', 'user-agent'}) >headers = {'Connection': 'close', > 'Host': 'httpstat.us', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >method = 'GET' >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> >skips = {'skip_host': 1} >url = '/404' >value = 'close' > >/usr/lib/python3.9/http/client.py:1331: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> >message_body = None > > def endheaders(self, message_body=None, *, encode_chunked=False): > """Indicate that the last header line has been sent to the server. > > This method sends the request to the server. The optional message_body > argument can be used to pass a message body associated with the > request. > """ > if self.__state == _CS_REQ_STARTED: > self.__state = _CS_REQ_SENT > else: > raise CannotSendHeader() >> self._send_output(message_body, encode_chunked=encode_chunked) > >encode_chunked = False >message_body = None >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> > >/usr/lib/python3.9/http/client.py:1280: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> >message_body = None, encode_chunked = False > > def _send_output(self, message_body=None, encode_chunked=False): > """Send the currently buffered request and clear the buffer. > > Appends an extra \\r\\n to the buffer. > A message_body may be specified, to be appended to the request. > """ > self._buffer.extend((b"", b"")) > msg = b"\r\n".join(self._buffer) > del self._buffer[:] >> self.send(msg) > >encode_chunked = False >message_body = None >msg = (b'GET /404 HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: httpstat.us\r\nUse' > b'r-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/201001' > b'01 Firefox/80.0\r\nConnection: close\r\n\r\n') >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> > >/usr/lib/python3.9/http/client.py:1040: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> >data = b'GET /404 HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: httpstat.us\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0\r\nConnection: close\r\n\r\n' > > def send(self, data): > """Send `data' to the server. > ``data`` can be a string object, a bytes object, an array object, a > file-like object that supports a .read() method, or an iterable object. > """ > > if self.sock is None: > if self.auto_open: >> self.connect() > >data = (b'GET /404 HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: httpstat.us\r\nUse' > b'r-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/201001' > b'01 Firefox/80.0\r\nConnection: close\r\n\r\n') >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> > >/usr/lib/python3.9/http/client.py:980: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> > > def connect(self): > "Connect to a host on a given (SSL) port." > >> super().connect() > >__class__ = <class 'http.client.HTTPSConnection'> >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> > >/usr/lib/python3.9/http/client.py:1447: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> > > def connect(self): > """Connect to the host and port specified in __init__.""" >> self.sock = self._create_connection( > (self.host,self.port), self.timeout, self.source_address) > >self = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> > >/usr/lib/python3.9/http/client.py:946: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >address = ('httpstat.us', 443), timeout = <object object at 0x7f1ae7a8a7b0> >source_address = None > > def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, > source_address=None): > """Connect to *address* and return the socket object. > > Convenience function. Connect to *address* (a 2-tuple ``(host, > port)``) and return the socket object. Passing the optional > *timeout* parameter will set the timeout on the socket instance > before attempting to connect. If no *timeout* is supplied, the > global default timeout setting returned by :func:`getdefaulttimeout` > is used. If *source_address* is set it must be a tuple of (host, port) > for the socket to bind as a source address before making the connection. > A host of '' or port 0 tells the OS to use the default. > """ > > host, port = address > err = None >> for res in getaddrinfo(host, port, 0, SOCK_STREAM): > >address = ('httpstat.us', 443) >err = None >host = 'httpstat.us' >port = 443 >source_address = None >timeout = <object object at 0x7f1ae7a8a7b0> > >/usr/lib/python3.9/socket.py:823: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >host = 'httpstat.us', port = 443, family = 0, type = <SocketKind.SOCK_STREAM: 1> >proto = 0, flags = 0 > > def getaddrinfo(host, port, family=0, type=0, proto=0, flags=0): > """Resolve host and port into list of address info entries. > > Translate the host/port argument into a sequence of 5-tuples that contain > all the necessary arguments for creating a socket connected to that service. > host is a domain name, a string representation of an IPv4/v6 address or > None. port is a string service name such as 'http', a numeric port number or > None. By passing None as the value of host and port, you can pass NULL to > the underlying C API. > > The family, type and proto arguments can be optionally specified in order to > narrow the list of addresses returned. Passing zero as a value for each of > these arguments selects the full range of results. > """ > # We override this function since we want to translate the numeric family > # and socket type values to enum constants. > addrlist = [] >> for res in _socket.getaddrinfo(host, port, family, type, proto, flags): >E socket.gaierror: [Errno -3] Temporary failure in name resolution > >addrlist = [] >family = 0 >flags = 0 >host = 'httpstat.us' >port = 443 >proto = 0 >type = <SocketKind.SOCK_STREAM: 1> > >/usr/lib/python3.9/socket.py:954: gaierror > >During handling of the above exception, another exception occurred: > > def test_HTTPError_404(): > url = "https://httpstat.us/404" > with pytest.raises(HTTPError): >> get(url) > >url = 'https://httpstat.us/404' > >tests/test_get.py:30: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >gazpacho/get.py:40: in get > with opener.open(url) as response: > headers = None > opener = <urllib.request.OpenerDirector object at 0x7f1ae6ecb520> > params = None > ua = ('Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 ' > 'Firefox/80.0') > url = 'https://httpstat.us/404' >/usr/lib/python3.9/urllib/request.py:517: in open > response = self._open(req, data) > data = None > fullurl = 'https://httpstat.us/404' > meth = <bound method AbstractHTTPHandler.do_request_ of <urllib.request.HTTPSHandler object at 0x7f1ae6fd7760>> > meth_name = 'https_request' > processor = <urllib.request.HTTPSHandler object at 0x7f1ae6fd7760> > protocol = 'https' > req = <urllib.request.Request object at 0x7f1ae6ecb580> > self = <urllib.request.OpenerDirector object at 0x7f1ae6ecb520> > timeout = <object object at 0x7f1ae7a8a7b0> >/usr/lib/python3.9/urllib/request.py:534: in _open > result = self._call_chain(self.handle_open, protocol, protocol + > data = None > protocol = 'https' > req = <urllib.request.Request object at 0x7f1ae6ecb580> > result = None > self = <urllib.request.OpenerDirector object at 0x7f1ae6ecb520> >/usr/lib/python3.9/urllib/request.py:494: in _call_chain > result = func(*args) > args = (<urllib.request.Request object at 0x7f1ae6ecb580>,) > chain = {'data': [<urllib.request.DataHandler object at 0x7f1ae6fd7310>], > 'file': [<urllib.request.FileHandler object at 0x7f1ae6fd7790>], > 'ftp': [<urllib.request.FTPHandler object at 0x7f1ae6fd7460>], > 'http': [<urllib.request.HTTPHandler object at 0x7f1ae6ecb940>], > 'https': [<urllib.request.HTTPSHandler object at 0x7f1ae6fd7760>], > 'unknown': [<urllib.request.UnknownHandler object at 0x7f1ae6ecb4f0>]} > func = <bound method HTTPSHandler.https_open of <urllib.request.HTTPSHandler object at 0x7f1ae6fd7760>> > handler = <urllib.request.HTTPSHandler object at 0x7f1ae6fd7760> > handlers = [<urllib.request.HTTPSHandler object at 0x7f1ae6fd7760>] > kind = 'https' > meth_name = 'https_open' > self = <urllib.request.OpenerDirector object at 0x7f1ae6ecb520> >/usr/lib/python3.9/urllib/request.py:1389: in https_open > return self.do_open(http.client.HTTPSConnection, req, > req = <urllib.request.Request object at 0x7f1ae6ecb580> > self = <urllib.request.HTTPSHandler object at 0x7f1ae6fd7760> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <urllib.request.HTTPSHandler object at 0x7f1ae6fd7760> >http_class = <class 'http.client.HTTPSConnection'> >req = <urllib.request.Request object at 0x7f1ae6ecb580> >http_conn_args = {'check_hostname': None, 'context': None}, host = 'httpstat.us' >h = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> > > def do_open(self, http_class, req, **http_conn_args): > """Return an HTTPResponse object for the request, using http_class. > > http_class must implement the HTTPConnection API from http.client. > """ > host = req.host > if not host: > raise URLError('no host given') > > # will parse host:port > h = http_class(host, timeout=req.timeout, **http_conn_args) > h.set_debuglevel(self._debuglevel) > > headers = dict(req.unredirected_hdrs) > headers.update({k: v for k, v in req.headers.items() > if k not in headers}) > > # TODO(jhylton): Should this be redesigned to handle > # persistent connections? > > # We want to make an HTTP/1.1 request, but the addinfourl > # class isn't prepared to deal with a persistent connection. > # It will try to read all remaining data from the socket, > # which will block while the server waits for the next request. > # So make sure the connection gets closed after the (only) > # request. > headers["Connection"] = "close" > headers = {name.title(): val for name, val in headers.items()} > > if req._tunnel_host: > tunnel_headers = {} > proxy_auth_hdr = "Proxy-Authorization" > if proxy_auth_hdr in headers: > tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] > # Proxy-Authorization should not be sent to origin > # server. > del headers[proxy_auth_hdr] > h.set_tunnel(req._tunnel_host, headers=tunnel_headers) > > try: > try: > h.request(req.get_method(), req.selector, req.data, headers, > encode_chunked=req.has_header('Transfer-encoding')) > except OSError as err: # timeout error >> raise URLError(err) >E urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> > >h = <http.client.HTTPSConnection object at 0x7f1ae6fd73d0> >headers = {'Connection': 'close', > 'Host': 'httpstat.us', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >host = 'httpstat.us' >http_class = <class 'http.client.HTTPSConnection'> >http_conn_args = {'check_hostname': None, 'context': None} >req = <urllib.request.Request object at 0x7f1ae6ecb580> >self = <urllib.request.HTTPSHandler object at 0x7f1ae6fd7760> > >/usr/lib/python3.9/urllib/request.py:1349: URLError >___________________________ test_soup_get_cls_method ___________________________ > >self = <urllib.request.HTTPHandler object at 0x7f1ae6e40100> >http_class = <class 'http.client.HTTPConnection'> >req = <urllib.request.Request object at 0x7f1ae77a0280>, http_conn_args = {} >host = 'www.google.com' >h = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> > > def do_open(self, http_class, req, **http_conn_args): > """Return an HTTPResponse object for the request, using http_class. > > http_class must implement the HTTPConnection API from http.client. > """ > host = req.host > if not host: > raise URLError('no host given') > > # will parse host:port > h = http_class(host, timeout=req.timeout, **http_conn_args) > h.set_debuglevel(self._debuglevel) > > headers = dict(req.unredirected_hdrs) > headers.update({k: v for k, v in req.headers.items() > if k not in headers}) > > # TODO(jhylton): Should this be redesigned to handle > # persistent connections? > > # We want to make an HTTP/1.1 request, but the addinfourl > # class isn't prepared to deal with a persistent connection. > # It will try to read all remaining data from the socket, > # which will block while the server waits for the next request. > # So make sure the connection gets closed after the (only) > # request. > headers["Connection"] = "close" > headers = {name.title(): val for name, val in headers.items()} > > if req._tunnel_host: > tunnel_headers = {} > proxy_auth_hdr = "Proxy-Authorization" > if proxy_auth_hdr in headers: > tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] > # Proxy-Authorization should not be sent to origin > # server. > del headers[proxy_auth_hdr] > h.set_tunnel(req._tunnel_host, headers=tunnel_headers) > > try: > try: >> h.request(req.get_method(), req.selector, req.data, headers, > encode_chunked=req.has_header('Transfer-encoding')) > >h = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> >headers = {'Connection': 'close', > 'Host': 'www.google.com', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >host = 'www.google.com' >http_class = <class 'http.client.HTTPConnection'> >http_conn_args = {} >req = <urllib.request.Request object at 0x7f1ae77a0280> >self = <urllib.request.HTTPHandler object at 0x7f1ae6e40100> > >/usr/lib/python3.9/urllib/request.py:1346: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0>, method = 'GET' >url = '', body = None >headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0'} > > def request(self, method, url, body=None, headers={}, *, > encode_chunked=False): > """Send a complete request to the server.""" >> self._send_request(method, url, body, headers, encode_chunked) > >body = None >encode_chunked = False >headers = {'Connection': 'close', > 'Host': 'www.google.com', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >method = 'GET' >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> >url = '' > >/usr/lib/python3.9/http/client.py:1285: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0>, method = 'GET' >url = '', body = None >headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0'} >encode_chunked = False > > def _send_request(self, method, url, body, headers, encode_chunked): > # Honor explicitly requested Host: and Accept-Encoding: headers. > header_names = frozenset(k.lower() for k in headers) > skips = {} > if 'host' in header_names: > skips['skip_host'] = 1 > if 'accept-encoding' in header_names: > skips['skip_accept_encoding'] = 1 > > self.putrequest(method, url, **skips) > > # chunked encoding will happen if HTTP/1.1 is used and either > # the caller passes encode_chunked=True or the following > # conditions hold: > # 1. content-length has not been explicitly set > # 2. the body is a file or iterable, but not a str or bytes-like > # 3. Transfer-Encoding has NOT been explicitly set by the caller > > if 'content-length' not in header_names: > # only chunk body if not explicitly set for backwards > # compatibility, assuming the client code is already handling the > # chunking > if 'transfer-encoding' not in header_names: > # if content-length cannot be automatically determined, fall > # back to chunked encoding > encode_chunked = False > content_length = self._get_content_length(body, method) > if content_length is None: > if body is not None: > if self.debuglevel > 0: > print('Unable to determine size of %r' % body) > encode_chunked = True > self.putheader('Transfer-Encoding', 'chunked') > else: > self.putheader('Content-Length', str(content_length)) > else: > encode_chunked = False > > for hdr, value in headers.items(): > self.putheader(hdr, value) > if isinstance(body, str): > # RFC 2616 Section 3.7.1 says that text default has a > # default charset of iso-8859-1. > body = _encode(body, 'body') >> self.endheaders(body, encode_chunked=encode_chunked) > >body = None >content_length = None >encode_chunked = False >hdr = 'Connection' >header_names = frozenset({'connection', 'host', 'user-agent'}) >headers = {'Connection': 'close', > 'Host': 'www.google.com', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >method = 'GET' >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> >skips = {'skip_host': 1} >url = '' >value = 'close' > >/usr/lib/python3.9/http/client.py:1331: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> >message_body = None > > def endheaders(self, message_body=None, *, encode_chunked=False): > """Indicate that the last header line has been sent to the server. > > This method sends the request to the server. The optional message_body > argument can be used to pass a message body associated with the > request. > """ > if self.__state == _CS_REQ_STARTED: > self.__state = _CS_REQ_SENT > else: > raise CannotSendHeader() >> self._send_output(message_body, encode_chunked=encode_chunked) > >encode_chunked = False >message_body = None >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> > >/usr/lib/python3.9/http/client.py:1280: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> >message_body = None, encode_chunked = False > > def _send_output(self, message_body=None, encode_chunked=False): > """Send the currently buffered request and clear the buffer. > > Appends an extra \\r\\n to the buffer. > A message_body may be specified, to be appended to the request. > """ > self._buffer.extend((b"", b"")) > msg = b"\r\n".join(self._buffer) > del self._buffer[:] >> self.send(msg) > >encode_chunked = False >message_body = None >msg = (b'GET / HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: www.google.com\r\nUse' > b'r-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/201001' > b'01 Firefox/80.0\r\nConnection: close\r\n\r\n') >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> > >/usr/lib/python3.9/http/client.py:1040: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> >data = b'GET / HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: www.google.com\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0\r\nConnection: close\r\n\r\n' > > def send(self, data): > """Send `data' to the server. > ``data`` can be a string object, a bytes object, an array object, a > file-like object that supports a .read() method, or an iterable object. > """ > > if self.sock is None: > if self.auto_open: >> self.connect() > >data = (b'GET / HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: www.google.com\r\nUse' > b'r-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/201001' > b'01 Firefox/80.0\r\nConnection: close\r\n\r\n') >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> > >/usr/lib/python3.9/http/client.py:980: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> > > def connect(self): > """Connect to the host and port specified in __init__.""" >> self.sock = self._create_connection( > (self.host,self.port), self.timeout, self.source_address) > >self = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> > >/usr/lib/python3.9/http/client.py:946: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >address = ('www.google.com', 80), timeout = <object object at 0x7f1ae7a8a7b0> >source_address = None > > def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, > source_address=None): > """Connect to *address* and return the socket object. > > Convenience function. Connect to *address* (a 2-tuple ``(host, > port)``) and return the socket object. Passing the optional > *timeout* parameter will set the timeout on the socket instance > before attempting to connect. If no *timeout* is supplied, the > global default timeout setting returned by :func:`getdefaulttimeout` > is used. If *source_address* is set it must be a tuple of (host, port) > for the socket to bind as a source address before making the connection. > A host of '' or port 0 tells the OS to use the default. > """ > > host, port = address > err = None >> for res in getaddrinfo(host, port, 0, SOCK_STREAM): > >address = ('www.google.com', 80) >err = None >host = 'www.google.com' >port = 80 >source_address = None >timeout = <object object at 0x7f1ae7a8a7b0> > >/usr/lib/python3.9/socket.py:823: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >host = 'www.google.com', port = 80, family = 0 >type = <SocketKind.SOCK_STREAM: 1>, proto = 0, flags = 0 > > def getaddrinfo(host, port, family=0, type=0, proto=0, flags=0): > """Resolve host and port into list of address info entries. > > Translate the host/port argument into a sequence of 5-tuples that contain > all the necessary arguments for creating a socket connected to that service. > host is a domain name, a string representation of an IPv4/v6 address or > None. port is a string service name such as 'http', a numeric port number or > None. By passing None as the value of host and port, you can pass NULL to > the underlying C API. > > The family, type and proto arguments can be optionally specified in order to > narrow the list of addresses returned. Passing zero as a value for each of > these arguments selects the full range of results. > """ > # We override this function since we want to translate the numeric family > # and socket type values to enum constants. > addrlist = [] >> for res in _socket.getaddrinfo(host, port, family, type, proto, flags): >E socket.gaierror: [Errno -3] Temporary failure in name resolution > >addrlist = [] >family = 0 >flags = 0 >host = 'www.google.com' >port = 80 >proto = 0 >type = <SocketKind.SOCK_STREAM: 1> > >/usr/lib/python3.9/socket.py:954: gaierror > >During handling of the above exception, another exception occurred: > > def test_soup_get_cls_method(): >> soup = Soup.get("www.google.com") > > >tests/test_soup.py:212: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >gazpacho/soup.py:79: in get > html = get(url, params, headers) > cls = <class 'gazpacho.soup.Soup'> > headers = None > params = None > url = 'www.google.com' >gazpacho/get.py:40: in get > with opener.open(url) as response: > headers = None > opener = <urllib.request.OpenerDirector object at 0x7f1ae77a0ee0> > params = None > ua = ('Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) Gecko/20100101 ' > 'Firefox/80.0') > url = 'http://www.google.com' >/usr/lib/python3.9/urllib/request.py:517: in open > response = self._open(req, data) > data = None > fullurl = 'http://www.google.com' > meth = <bound method AbstractHTTPHandler.do_request_ of <urllib.request.HTTPHandler object at 0x7f1ae6e40100>> > meth_name = 'http_request' > processor = <urllib.request.HTTPHandler object at 0x7f1ae6e40100> > protocol = 'http' > req = <urllib.request.Request object at 0x7f1ae77a0280> > self = <urllib.request.OpenerDirector object at 0x7f1ae77a0ee0> > timeout = <object object at 0x7f1ae7a8a7b0> >/usr/lib/python3.9/urllib/request.py:534: in _open > result = self._call_chain(self.handle_open, protocol, protocol + > data = None > protocol = 'http' > req = <urllib.request.Request object at 0x7f1ae77a0280> > result = None > self = <urllib.request.OpenerDirector object at 0x7f1ae77a0ee0> >/usr/lib/python3.9/urllib/request.py:494: in _call_chain > result = func(*args) > args = (<urllib.request.Request object at 0x7f1ae77a0280>,) > chain = {'data': [<urllib.request.DataHandler object at 0x7f1ae6e40910>], > 'file': [<urllib.request.FileHandler object at 0x7f1ae6e40490>], > 'ftp': [<urllib.request.FTPHandler object at 0x7f1ae6e408e0>], > 'http': [<urllib.request.HTTPHandler object at 0x7f1ae6e40100>], > 'https': [<urllib.request.HTTPSHandler object at 0x7f1ae6e409d0>], > 'unknown': [<urllib.request.UnknownHandler object at 0x7f1ae77a0d90>]} > func = <bound method HTTPHandler.http_open of <urllib.request.HTTPHandler object at 0x7f1ae6e40100>> > handler = <urllib.request.HTTPHandler object at 0x7f1ae6e40100> > handlers = [<urllib.request.HTTPHandler object at 0x7f1ae6e40100>] > kind = 'http' > meth_name = 'http_open' > self = <urllib.request.OpenerDirector object at 0x7f1ae77a0ee0> >/usr/lib/python3.9/urllib/request.py:1375: in http_open > return self.do_open(http.client.HTTPConnection, req) > req = <urllib.request.Request object at 0x7f1ae77a0280> > self = <urllib.request.HTTPHandler object at 0x7f1ae6e40100> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <urllib.request.HTTPHandler object at 0x7f1ae6e40100> >http_class = <class 'http.client.HTTPConnection'> >req = <urllib.request.Request object at 0x7f1ae77a0280>, http_conn_args = {} >host = 'www.google.com' >h = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> > > def do_open(self, http_class, req, **http_conn_args): > """Return an HTTPResponse object for the request, using http_class. > > http_class must implement the HTTPConnection API from http.client. > """ > host = req.host > if not host: > raise URLError('no host given') > > # will parse host:port > h = http_class(host, timeout=req.timeout, **http_conn_args) > h.set_debuglevel(self._debuglevel) > > headers = dict(req.unredirected_hdrs) > headers.update({k: v for k, v in req.headers.items() > if k not in headers}) > > # TODO(jhylton): Should this be redesigned to handle > # persistent connections? > > # We want to make an HTTP/1.1 request, but the addinfourl > # class isn't prepared to deal with a persistent connection. > # It will try to read all remaining data from the socket, > # which will block while the server waits for the next request. > # So make sure the connection gets closed after the (only) > # request. > headers["Connection"] = "close" > headers = {name.title(): val for name, val in headers.items()} > > if req._tunnel_host: > tunnel_headers = {} > proxy_auth_hdr = "Proxy-Authorization" > if proxy_auth_hdr in headers: > tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] > # Proxy-Authorization should not be sent to origin > # server. > del headers[proxy_auth_hdr] > h.set_tunnel(req._tunnel_host, headers=tunnel_headers) > > try: > try: > h.request(req.get_method(), req.selector, req.data, headers, > encode_chunked=req.has_header('Transfer-encoding')) > except OSError as err: # timeout error >> raise URLError(err) >E urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> > >h = <http.client.HTTPConnection object at 0x7f1ae6e40bb0> >headers = {'Connection': 'close', > 'Host': 'www.google.com', > 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:80.0) ' > 'Gecko/20100101 Firefox/80.0'} >host = 'www.google.com' >http_class = <class 'http.client.HTTPConnection'> >http_conn_args = {} >req = <urllib.request.Request object at 0x7f1ae77a0280> >self = <urllib.request.HTTPHandler object at 0x7f1ae6e40100> > >/usr/lib/python3.9/urllib/request.py:1349: URLError >=========================== short test summary info ============================ >FAILED tests/test_get.py::test_get - urllib.error.URLError: <urlopen error [E... >FAILED tests/test_get.py::test_get_headers - urllib.error.URLError: <urlopen ... >FAILED tests/test_get.py::test_get_params - urllib.error.URLError: <urlopen e... >FAILED tests/test_get.py::test_HTTPError_404 - urllib.error.URLError: <urlope... >FAILED tests/test_soup.py::test_soup_get_cls_method - urllib.error.URLError: ... >========================= 5 failed, 37 passed in 1.04s ========================= > * ERROR: dev-python/gazpacho-1.1::guru failed (test phase): > * pytest failed with python3.9 > * > * Call stack: > * ebuild.sh, line 136: Called src_test > * environment, line 3486: Called distutils-r1_src_test > * environment, line 1608: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 721: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3171: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2606: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2604: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1038: Called distutils-r1_run_phase 'python_test' > * environment, line 1531: Called python_test > * environment, line 3453: Called distutils-r1_python_test > * environment, line 1481: Called epytest > * environment, line 2111: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/gazpacho-1.1::guru'`, > * the complete build log and the output of `emerge -pqv '=dev-python/gazpacho-1.1::guru'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/gazpacho-1.1:20230203-223845.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/gazpacho-1.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/gazpacho-1.1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1' > * S: '/var/tmp/portage/dev-python/gazpacho-1.1/work/gazpacho-1.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 893194
: 849840