Warning: Permanently added '54.172.163.206' (ED25519) to the list of known hosts. Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-la0vc1_z/python-gql/python-gql.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-la0vc1_z/python-gql --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1748437976.950145 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.1 starting (python version = 3.13.0, NVR = mock-6.1-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-la0vc1_z/python-gql/python-gql.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-la0vc1_z/python-gql --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1748437976.950145 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-la0vc1_z/python-gql/python-gql.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.1 INFO: Mock Version: 6.1 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1748437976.950145/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Tagging container image as mock-bootstrap-f833d438-dfe7-477c-a721-6d5ed22f6521 INFO: Checking that 15d08b8587d237ac5162867223c37b51dc20254429b3e7a3b72e8a422100d3f1 image matches host's architecture INFO: Copy content of container 15d08b8587d237ac5162867223c37b51dc20254429b3e7a3b72e8a422100d3f1 to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1748437976.950145/root INFO: mounting 15d08b8587d237ac5162867223c37b51dc20254429b3e7a3b72e8a422100d3f1 with podman image mount INFO: image 15d08b8587d237ac5162867223c37b51dc20254429b3e7a3b72e8a422100d3f1 as /var/lib/containers/storage/overlay/0f8dda24b95468405258d5176b7ee6c3d0a63d0f5a96f5f6c46c5f95438e640f/merged INFO: umounting image 15d08b8587d237ac5162867223c37b51dc20254429b3e7a3b72e8a422100d3f1 (/var/lib/containers/storage/overlay/0f8dda24b95468405258d5176b7ee6c3d0a63d0f5a96f5f6c46c5f95438e640f/merged) with podman image umount INFO: Removing image mock-bootstrap-f833d438-dfe7-477c-a721-6d5ed22f6521 INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1748437976.950145/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-5.99.90-5.fc43.x86_64 rpm-sequoia-1.8.0-1.fc43.x86_64 dnf5-5.2.13.1-2.fc43.x86_64 dnf5-plugins-5.2.13.1-2.fc43.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 687.6 KiB/s | 24.1 KiB | 00m00s Copr repository 100% | 63.3 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 153.2 KiB/s | 3.8 KiB | 00m00s Copr repository 100% | 383.2 KiB/s | 11.1 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.2.37-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.2 MiB bzip2 x86_64 1.0.8-20.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 99.3 KiB coreutils x86_64 9.7-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 5.4 MiB cpio x86_64 2.15-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB diffutils x86_64 3.12-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB fedora-release-common noarch 43-0.16 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.4 KiB findutils x86_64 1:4.10.0-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB gawk x86_64 5.3.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB glibc-minimal-langpack x86_64 2.41.9000-14.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B grep x86_64 3.12-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB gzip x86_64 1.13-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 392.9 KiB info x86_64 7.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 357.9 KiB patch x86_64 2.8-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 226.8 KiB redhat-rpm-config noarch 343-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 181.5 KiB rpm-build x86_64 5.99.90-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 281.7 KiB sed x86_64 4.9-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 857.3 KiB shadow-utils x86_64 2:4.17.4-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.0 MiB tar x86_64 2:1.35-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB unzip x86_64 6.0-66.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 390.3 KiB util-linux x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.4 MiB which x86_64 2.23-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 83.4 KiB xz x86_64 1:5.8.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 MiB Installing dependencies: add-determinism x86_64 0.6.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.5 MiB alternatives x86_64 1.33-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 62.2 KiB ansible-srpm-macros noarch 1-17.1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 35.7 KiB audit-libs x86_64 4.0.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 351.3 KiB binutils x86_64 2.44-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 25.9 MiB build-reproducibility-srpm-macros noarch 0.6.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 735.0 B bzip2-libs x86_64 1.0.8-20.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 84.6 KiB ca-certificates noarch 2024.2.69_v8.0.401-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.6 MiB coreutils-common x86_64 9.7-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.3 MiB crypto-policies noarch 20250402-2.git86c0178.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 141.5 KiB curl x86_64 8.14.0~rc1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 473.2 KiB cyrus-sasl-lib x86_64 2.1.28-30.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.3 MiB debugedit x86_64 5.1-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 192.7 KiB dwz x86_64 0.15-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 291.0 KiB ed x86_64 1.21-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 146.5 KiB efi-srpm-macros noarch 6-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 40.1 KiB elfutils x86_64 0.193-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.9 MiB elfutils-debuginfod-client x86_64 0.193-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 83.9 KiB elfutils-default-yama-scope noarch 0.193-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 KiB elfutils-libelf x86_64 0.193-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB elfutils-libs x86_64 0.193-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 683.4 KiB fedora-gpg-keys noarch 43-0.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 129.0 KiB fedora-release noarch 43-0.16 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B fedora-release-identity-basic noarch 43-0.16 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 664.0 B fedora-repos noarch 43-0.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.9 KiB fedora-repos-rawhide noarch 43-0.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 KiB file x86_64 5.46-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 100.2 KiB file-libs x86_64 5.46-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.9 MiB filesystem x86_64 3.18-44.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 112.0 B filesystem-srpm-macros noarch 3.18-44.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 38.2 KiB fonts-srpm-macros noarch 1:2.0.5-22.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 55.8 KiB forge-srpm-macros noarch 0.4.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 38.9 KiB fpc-srpm-macros noarch 1.3-14.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 144.0 B gdb-minimal x86_64 16.3-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 13.2 MiB gdbm-libs x86_64 1:1.23-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 129.9 KiB ghc-srpm-macros noarch 1.9.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 779.0 B glibc x86_64 2.41.9000-14.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.7 MiB glibc-common x86_64 2.41.9000-14.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB glibc-gconv-extra x86_64 2.41.9000-14.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 7.2 MiB gmp x86_64 1:6.3.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 819.2 KiB gnat-srpm-macros noarch 6-7.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 KiB gnupg2 x86_64 2.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.5 MiB gnupg2-dirmngr x86_64 2.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 618.4 KiB gnupg2-gpg-agent x86_64 2.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 671.4 KiB gnupg2-gpgconf x86_64 2.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 250.0 KiB gnupg2-keyboxd x86_64 2.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 201.4 KiB gnupg2-verify x86_64 2.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 348.5 KiB gnutls x86_64 3.8.9-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.6 MiB go-srpm-macros noarch 3.6.0-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 60.8 KiB gpgverify noarch 2.1-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.7 KiB ima-evm-utils-libs x86_64 1.6.2-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 60.7 KiB jansson x86_64 2.14-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 93.1 KiB json-c x86_64 0.18-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 86.7 KiB kernel-srpm-macros noarch 1.0-25.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB keyutils-libs x86_64 1.6.3-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 58.3 KiB krb5-libs x86_64 1.21.3-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.3 MiB libacl x86_64 2.3.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 38.3 KiB libarchive x86_64 3.7.7-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 930.6 KiB libassuan x86_64 2.5.7-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 167.8 KiB libattr x86_64 2.5.2-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 27.1 KiB libblkid x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 262.4 KiB libbrotli x86_64 1.1.0-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 841.3 KiB libcap x86_64 2.76-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 209.2 KiB libcap-ng x86_64 0.8.5-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 72.9 KiB libcom_err x86_64 1.47.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 67.1 KiB libcurl x86_64 8.14.0~rc1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 891.0 KiB libeconf x86_64 0.7.6-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 64.6 KiB libevent x86_64 2.1.12-15.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 903.1 KiB libfdisk x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 372.3 KiB libffi x86_64 3.4.8-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 83.0 KiB libfsverity x86_64 1.6-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 32.5 KiB libgcc x86_64 15.1.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 266.6 KiB libgcrypt x86_64 1.11.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB libgomp x86_64 15.1.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 539.1 KiB libgpg-error x86_64 1.55-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 915.3 KiB libidn2 x86_64 2.3.8-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 552.5 KiB libksba x86_64 1.6.7-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 402.5 KiB libmount x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 356.2 KiB libnghttp2 x86_64 1.65.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 162.2 KiB libpkgconf x86_64 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 78.1 KiB libpsl x86_64 0.21.5-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 76.4 KiB libselinux x86_64 3.8-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 193.1 KiB libsemanage x86_64 3.8-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 308.4 KiB libsepol x86_64 3.8-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 826.0 KiB libsmartcols x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 180.4 KiB libssh x86_64 0.11.1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 565.5 KiB libssh-config noarch 0.11.1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 277.0 B libstdc++ x86_64 15.1.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.8 MiB libtasn1 x86_64 4.20.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 176.3 KiB libtool-ltdl x86_64 2.5.4-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 70.1 KiB libunistring x86_64 1.1-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.7 MiB libusb1 x86_64 1.0.28-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 171.0 KiB libuuid x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 37.3 KiB libverto x86_64 0.3.2-10.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 25.4 KiB libxcrypt x86_64 4.4.38-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 284.5 KiB libxml2 x86_64 2.12.10-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.7 MiB libzstd x86_64 1.5.7-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 807.8 KiB lua-libs x86_64 5.4.7-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 276.9 KiB lua-srpm-macros noarch 1-15.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 KiB lz4-libs x86_64 1.10.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 157.4 KiB mpfr x86_64 4.2.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 828.8 KiB ncurses-base noarch 6.5-5.20250125.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 326.8 KiB ncurses-libs x86_64 6.5-5.20250125.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 946.3 KiB nettle x86_64 3.10.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 790.5 KiB npth x86_64 1.8-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 49.6 KiB ocaml-srpm-macros noarch 10-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB openblas-srpm-macros noarch 2-19.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 112.0 B openldap x86_64 2.6.9-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 655.1 KiB openssl-libs x86_64 1:3.5.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.9 MiB p11-kit x86_64 0.25.5-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 MiB p11-kit-trust x86_64 0.25.5-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 395.5 KiB package-notes-srpm-macros noarch 0.5-13.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 KiB pam-libs x86_64 1.7.0-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 126.7 KiB pcre2 x86_64 10.45-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 697.7 KiB pcre2-syntax noarch 10.45-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 273.9 KiB perl-srpm-macros noarch 1-57.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 861.0 B pkgconf x86_64 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 88.5 KiB pkgconf-m4 noarch 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 14.4 KiB pkgconf-pkg-config x86_64 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 989.0 B popt x86_64 1.19-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 132.8 KiB publicsuffix-list-dafsa noarch 20250116-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 68.5 KiB pyproject-srpm-macros noarch 1.18.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB python-srpm-macros noarch 3.13-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 51.7 KiB qt5-srpm-macros noarch 5.15.17-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 500.0 B qt6-srpm-macros noarch 6.9.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 464.0 B readline x86_64 8.2-13.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 485.0 KiB rpm x86_64 5.99.90-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.1 MiB rpm-build-libs x86_64 5.99.90-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 264.4 KiB rpm-libs x86_64 5.99.90-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 929.8 KiB rpm-sequoia x86_64 1.8.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.5 MiB rpm-sign-libs x86_64 5.99.90-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 39.7 KiB rust-srpm-macros noarch 26.3-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.8 KiB setup noarch 2.15.0-25.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 725.0 KiB sqlite-libs x86_64 3.49.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.5 MiB systemd-libs x86_64 257.5-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 MiB systemd-standalone-sysusers x86_64 257.5-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 277.3 KiB tpm2-tss x86_64 4.1.3-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB tree-sitter-srpm-macros noarch 0.2.4-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 7.5 KiB util-linux-core x86_64 2.40.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.4 MiB xxhash-libs x86_64 0.8.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 90.2 KiB xz-libs x86_64 1:5.8.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 217.8 KiB zig-srpm-macros noarch 1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 KiB zip x86_64 3.0-43.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 698.5 KiB zlib-ng-compat x86_64 2.2.4-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 137.6 KiB zstd x86_64 1.5.7-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 167 packages Total size of inbound packages is 58 MiB. Need to download 0 B. After this operation, 197 MiB extra will be used (install 197 MiB, remove 0 B). [ 1/167] tar-2:1.35-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/167] bzip2-0:1.0.8-20.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/167] redhat-rpm-config-0:343-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/167] rpm-build-0:5.99.90-5.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/167] unzip-0:6.0-66.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/167] cpio-0:2.15-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/167] which-0:2.23-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/167] bash-0:5.2.37-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/167] coreutils-0:9.7-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/167] grep-0:3.12-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/167] patch-0:2.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/167] sed-0:4.9-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/167] shadow-utils-2:4.17.4-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/167] util-linux-0:2.40.4-7.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/167] diffutils-0:3.12-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/167] fedora-release-common-0:43-0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/167] findutils-1:4.10.0-5.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/167] gawk-0:5.3.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/167] glibc-minimal-langpack-0:2.41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/167] gzip-0:1.13-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/167] info-0:7.2-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/167] xz-1:5.8.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/167] coreutils-common-0:9.7-3.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/167] glibc-0:2.41.9000-14.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/167] xz-libs-1:5.8.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/167] audit-libs-0:4.0.3-2.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/167] filesystem-0:3.18-44.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/167] libblkid-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/167] libcap-ng-0:0.8.5-4.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/167] libfdisk-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/167] libmount-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/167] libselinux-0:3.8-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/167] libsmartcols-0:2.40.4-7.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/167] libuuid-0:2.40.4-7.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/167] ncurses-libs-0:6.5-5.20250125 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/167] pam-libs-0:1.7.0-4.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/167] readline-0:8.2-13.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/167] systemd-libs-0:257.5-5.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/167] util-linux-core-0:2.40.4-7.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/167] zlib-ng-compat-0:2.2.4-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/167] bzip2-libs-0:1.0.8-20.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/167] libacl-0:2.3.2-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/167] libcap-0:2.76-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/167] libgcc-0:15.1.1-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/167] libeconf-0:0.7.6-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/167] libsemanage-0:3.8-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/167] libxcrypt-0:4.4.38-7.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/167] setup-0:2.15.0-25.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/167] binutils-0:2.44-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/167] debugedit-0:5.1-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/167] elfutils-0:0.193-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/167] elfutils-libelf-0:0.193-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/167] file-0:5.46-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/167] libarchive-0:3.7.7-4.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/167] libstdc++-0:15.1.1-2.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/167] pkgconf-pkg-config-0:2.3.0-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/167] popt-0:1.19-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/167] rpm-0:5.99.90-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/167] rpm-build-libs-0:5.99.90-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/167] rpm-libs-0:5.99.90-5.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/167] zstd-0:1.5.7-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/167] curl-0:8.14.0~rc1-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/167] glibc-gconv-extra-0:2.41.9000 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/167] ansible-srpm-macros-0:1-17.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/167] build-reproducibility-srpm-ma 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/167] dwz-0:0.15-9.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/167] efi-srpm-macros-0:6-3.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/167] filesystem-srpm-macros-0:3.18 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/167] fonts-srpm-macros-1:2.0.5-22. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/167] forge-srpm-macros-0:0.4.0-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/167] fpc-srpm-macros-0:1.3-14.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/167] ghc-srpm-macros-0:1.9.2-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/167] gnat-srpm-macros-0:6-7.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/167] go-srpm-macros-0:3.6.0-7.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/167] kernel-srpm-macros-0:1.0-25.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/167] lua-srpm-macros-0:1-15.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/167] ocaml-srpm-macros-0:10-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/167] openblas-srpm-macros-0:2-19.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/167] package-notes-srpm-macros-0:0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/167] perl-srpm-macros-0:1-57.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/167] pyproject-srpm-macros-0:1.18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/167] python-srpm-macros-0:3.13-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/167] qt5-srpm-macros-0:5.15.17-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/167] qt6-srpm-macros-0:6.9.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/167] rust-srpm-macros-0:26.3-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/167] tree-sitter-srpm-macros-0:0.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/167] zig-srpm-macros-0:1-4.fc42.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/167] zip-0:3.0-43.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/167] pkgconf-0:2.3.0-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/167] pkgconf-m4-0:2.3.0-2.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/167] libpkgconf-0:2.3.0-2.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/167] ed-0:1.21-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/167] libattr-0:2.5.2-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/167] ncurses-base-0:6.5-5.20250125 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/167] libsepol-0:3.8-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/167] pcre2-0:10.45-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/167] libxml2-0:2.12.10-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/167] libzstd-0:1.5.7-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/167] lz4-libs-0:1.10.0-2.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/167] openssl-libs-1:3.5.0-3.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/167] glibc-common-0:2.41.9000-14.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/167] gmp-1:6.3.0-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/167] mpfr-0:4.2.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/167] file-libs-0:5.46-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/167] fedora-repos-0:43-0.2.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/167] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/167] elfutils-libs-0:0.193-2.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/167] add-determinism-0:0.6.0-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/167] alternatives-0:1.33-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/167] jansson-0:2.14-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/167] lua-libs-0:5.4.7-3.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/167] rpm-sequoia-0:1.8.0-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/167] sqlite-libs-0:3.49.2-1.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/167] libgomp-0:15.1.1-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/167] rpm-sign-libs-0:5.99.90-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/167] pcre2-syntax-0:10.45-1.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/167] ca-certificates-0:2024.2.69_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/167] crypto-policies-0:20250402-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/167] fedora-gpg-keys-0:43-0.2.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/167] fedora-repos-rawhide-0:43-0.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/167] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/167] json-c-0:0.18-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/167] libffi-0:3.4.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/167] p11-kit-0:0.25.5-8.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/167] p11-kit-trust-0:0.25.5-8.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/167] gnupg2-0:2.4.8-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/167] ima-evm-utils-libs-0:1.6.2-5. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/167] libfsverity-0:1.6-2.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/167] gpgverify-0:2.1-3.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/167] libtasn1-0:4.20.0-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/167] tpm2-tss-0:4.1.3-7.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/167] gnupg2-dirmngr-0:2.4.8-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/167] gnupg2-gpg-agent-0:2.4.8-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/167] gnupg2-gpgconf-0:2.4.8-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/167] gnupg2-keyboxd-0:2.4.8-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/167] gnupg2-verify-0:2.4.8-2.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/167] libassuan-0:2.5.7-3.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/167] libgcrypt-0:1.11.1-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/167] libgpg-error-0:1.55-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/167] npth-0:1.8-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/167] libusb1-0:1.0.28-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/167] libksba-0:1.6.7-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/167] gnutls-0:3.8.9-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/167] openldap-0:2.6.9-5.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/167] cyrus-sasl-lib-0:2.1.28-30.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/167] libevent-0:2.1.12-15.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/167] libtool-ltdl-0:2.5.4-4.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/167] libidn2-0:2.3.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/167] libunistring-0:1.1-9.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/167] nettle-0:3.10.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/167] gdbm-libs-1:1.23-9.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/167] fedora-release-0:43-0.16.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/167] systemd-standalone-sysusers-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/167] gdb-minimal-0:16.3-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/167] xxhash-libs-0:0.8.3-2.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/167] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/167] libcurl-0:8.14.0~rc1-1.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/167] krb5-libs-0:1.21.3-5.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/167] libbrotli-0:1.1.0-6.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/167] libnghttp2-0:1.65.0-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/167] libpsl-0:0.21.5-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [162/167] libssh-0:0.11.1-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [163/167] keyutils-libs-0:1.6.3-5.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [164/167] libcom_err-0:1.47.2-3.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [165/167] libverto-0:0.3.2-10.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [166/167] libssh-config-0:0.11.1-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [167/167] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [167/167] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/169] Verify package files 100% | 1.7 KiB/s | 167.0 B | 00m00s [ 2/169] Prepare transaction 100% | 4.0 KiB/s | 167.0 B | 00m00s [ 3/169] Installing libgcc-0:15.1.1-2. 100% | 262.0 MiB/s | 268.3 KiB | 00m00s [ 4/169] Installing publicsuffix-list- 100% | 0.0 B/s | 69.2 KiB | 00m00s [ 5/169] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 6/169] Installing fedora-release-ide 100% | 0.0 B/s | 920.0 B | 00m00s [ 7/169] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 8/169] Installing fedora-gpg-keys-0: 100% | 42.9 MiB/s | 175.9 KiB | 00m00s [ 9/169] Installing fedora-repos-0:43- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/169] Installing fedora-release-com 100% | 24.1 MiB/s | 24.7 KiB | 00m00s [ 11/169] Installing fedora-release-0:4 100% | 20.2 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.0-25.fc43.noarch >>> Finished sysusers scriptlet: setup-0:2.15.0-25.fc43.noarch >>> Scriptlet output: >>> Creating group 'adm' with GID 4. >>> Creating group 'audio' with GID 63. >>> Creating group 'cdrom' with GID 11. >>> Creating group 'clock' with GID 103. >>> Creating group 'dialout' with GID 18. >>> Creating group 'disk' with GID 6. >>> Creating group 'floppy' with GID 19. >>> Creating group 'ftp' with GID 50. >>> Creating group 'games' with GID 20. >>> Creating group 'input' with GID 104. >>> Creating group 'kmem' with GID 9. >>> Creating group 'kvm' with GID 36. >>> Creating group 'lock' with GID 54. >>> Creating group 'lp' with GID 7. >>> Creating group 'mail' with GID 12. >>> Creating group 'man' with GID 15. >>> Creating group 'mem' with GID 8. >>> Creating group 'nobody' with GID 65534. >>> Creating group 'render' with GID 105. >>> Creating group 'root' with GID 0. >>> Creating group 'sgx' with GID 106. >>> Creating group 'sys' with GID 3. >>> Creating group 'tape' with GID 33. >>> Creating group 'tty' with GID 5. >>> Creating group 'users' with GID 100. >>> Creating group 'utmp' with GID 22. >>> Creating group 'video' with GID 39. >>> Creating group 'wheel' with GID 10. >>> Creating user 'adm' (adm) with UID 3 and GID 4. >>> Creating group 'bin' with GID 1. >>> Creating user 'bin' (bin) with UID 1 and GID 1. >>> Creating group 'daemon' with GID 2. >>> Creating user 'daemon' (daemon) with UID 2 and GID 2. >>> Creating user 'ftp' (FTP User) with UID 14 and GID 50. >>> Creating user 'games' (games) with UID 12 and GID 100. >>> Creating user 'halt' (halt) with UID 7 and GID 0. >>> Creating user 'lp' (lp) with UID 4 and GID 7. >>> Creating user 'mail' (mail) with UID 8 and GID 12. >>> Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. >>> Creating user 'operator' (operator) with UID 11 and GID 0. >>> Creating user 'root' (Super User) with UID 0 and GID 0. >>> Creating user 'shutdown' (shutdown) with UID 6 and GID 0. >>> Creating user 'sync' (sync) with UID 5 and GID 0. >>> [ 12/169] Installing setup-0:2.15.0-25. 100% | 51.0 MiB/s | 730.6 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/169] Installing filesystem-0:3.18- 100% | 2.7 MiB/s | 212.5 KiB | 00m00s [ 14/169] Installing pcre2-syntax-0:10. 100% | 269.9 MiB/s | 276.4 KiB | 00m00s [ 15/169] Installing ncurses-base-0:6.5 100% | 86.0 MiB/s | 352.2 KiB | 00m00s [ 16/169] Installing bash-0:5.2.37-3.fc 100% | 255.6 MiB/s | 8.2 MiB | 00m00s [ 17/169] Installing glibc-common-0:2.4 100% | 63.8 MiB/s | 1.0 MiB | 00m00s [ 18/169] Installing glibc-gconv-extra- 100% | 270.8 MiB/s | 7.3 MiB | 00m00s [ 19/169] Installing glibc-0:2.41.9000- 100% | 180.6 MiB/s | 6.7 MiB | 00m00s [ 20/169] Installing ncurses-libs-0:6.5 100% | 310.1 MiB/s | 952.8 KiB | 00m00s [ 21/169] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 22/169] Installing zlib-ng-compat-0:2 100% | 135.2 MiB/s | 138.4 KiB | 00m00s [ 23/169] Installing bzip2-libs-0:1.0.8 100% | 83.7 MiB/s | 85.7 KiB | 00m00s [ 24/169] Installing libgpg-error-0:1.5 100% | 64.3 MiB/s | 921.1 KiB | 00m00s [ 25/169] Installing libstdc++-0:15.1.1 100% | 405.2 MiB/s | 2.8 MiB | 00m00s [ 26/169] Installing xz-libs-1:5.8.1-1. 100% | 213.8 MiB/s | 218.9 KiB | 00m00s [ 27/169] Installing libassuan-0:2.5.7- 100% | 165.6 MiB/s | 169.6 KiB | 00m00s [ 28/169] Installing libgcrypt-0:1.11.1 100% | 393.8 MiB/s | 1.6 MiB | 00m00s [ 29/169] Installing readline-0:8.2-13. 100% | 237.8 MiB/s | 487.1 KiB | 00m00s [ 30/169] Installing libuuid-0:2.40.4-7 100% | 0.0 B/s | 38.4 KiB | 00m00s [ 31/169] Installing gmp-1:6.3.0-3.fc43 100% | 401.1 MiB/s | 821.5 KiB | 00m00s [ 32/169] Installing popt-0:1.19-8.fc42 100% | 68.1 MiB/s | 139.4 KiB | 00m00s [ 33/169] Installing npth-0:1.8-2.fc42. 100% | 0.0 B/s | 50.7 KiB | 00m00s [ 34/169] Installing libblkid-0:2.40.4- 100% | 257.2 MiB/s | 263.4 KiB | 00m00s [ 35/169] Installing libxcrypt-0:4.4.38 100% | 280.4 MiB/s | 287.2 KiB | 00m00s [ 36/169] Installing libzstd-0:1.5.7-1. 100% | 395.1 MiB/s | 809.1 KiB | 00m00s [ 37/169] Installing elfutils-libelf-0: 100% | 388.8 MiB/s | 1.2 MiB | 00m00s [ 38/169] Installing gnupg2-gpgconf-0:2 100% | 20.5 MiB/s | 252.1 KiB | 00m00s [ 39/169] Installing libattr-0:2.5.2-5. 100% | 27.4 MiB/s | 28.1 KiB | 00m00s [ 40/169] Installing libacl-0:2.3.2-3.f 100% | 0.0 B/s | 39.2 KiB | 00m00s [ 41/169] Installing sqlite-libs-0:3.49 100% | 378.1 MiB/s | 1.5 MiB | 00m00s [ 42/169] Installing libtasn1-0:4.20.0- 100% | 173.9 MiB/s | 178.1 KiB | 00m00s [ 43/169] Installing libunistring-0:1.1 100% | 345.3 MiB/s | 1.7 MiB | 00m00s [ 44/169] Installing libidn2-0:2.3.8-1. 100% | 68.2 MiB/s | 558.7 KiB | 00m00s [ 45/169] Installing crypto-policies-0: 100% | 32.5 MiB/s | 166.6 KiB | 00m00s [ 46/169] Installing dwz-0:0.15-9.fc42. 100% | 22.0 MiB/s | 292.4 KiB | 00m00s [ 47/169] Installing mpfr-0:4.2.2-1.fc4 100% | 270.3 MiB/s | 830.4 KiB | 00m00s [ 48/169] Installing gawk-0:5.3.2-1.fc4 100% | 106.8 MiB/s | 1.8 MiB | 00m00s [ 49/169] Installing libksba-0:1.6.7-3. 100% | 197.8 MiB/s | 405.1 KiB | 00m00s [ 50/169] Installing unzip-0:6.0-66.fc4 100% | 32.0 MiB/s | 393.8 KiB | 00m00s [ 51/169] Installing file-libs-0:5.46-1 100% | 658.7 MiB/s | 11.9 MiB | 00m00s [ 52/169] Installing file-0:5.46-1.fc42 100% | 8.3 MiB/s | 101.7 KiB | 00m00s [ 53/169] Installing libcap-ng-0:0.8.5- 100% | 73.1 MiB/s | 74.8 KiB | 00m00s [ 54/169] Installing audit-libs-0:4.0.3 100% | 345.1 MiB/s | 353.4 KiB | 00m00s [ 55/169] Installing libsmartcols-0:2.4 100% | 177.3 MiB/s | 181.5 KiB | 00m00s [ 56/169] Installing libeconf-0:0.7.6-1 100% | 64.7 MiB/s | 66.2 KiB | 00m00s [ 57/169] Installing pam-libs-0:1.7.0-4 100% | 126.1 MiB/s | 129.1 KiB | 00m00s [ 58/169] Installing libcap-0:2.76-1.fc 100% | 17.4 MiB/s | 214.3 KiB | 00m00s [ 59/169] Installing systemd-libs-0:257 100% | 372.0 MiB/s | 2.2 MiB | 00m00s [ 60/169] Installing libsepol-0:3.8-1.f 100% | 403.8 MiB/s | 827.0 KiB | 00m00s [ 61/169] Installing pcre2-0:10.45-1.fc 100% | 341.4 MiB/s | 699.1 KiB | 00m00s [ 62/169] Installing libselinux-0:3.8-1 100% | 189.8 MiB/s | 194.3 KiB | 00m00s [ 63/169] Installing grep-0:3.12-1.fc43 100% | 66.8 MiB/s | 1.0 MiB | 00m00s [ 64/169] Installing sed-0:4.9-4.fc42.x 100% | 56.3 MiB/s | 865.5 KiB | 00m00s [ 65/169] Installing findutils-1:4.10.0 100% | 110.2 MiB/s | 1.9 MiB | 00m00s [ 66/169] Installing xz-1:5.8.1-1.fc43. 100% | 78.3 MiB/s | 1.3 MiB | 00m00s [ 67/169] Installing libmount-0:2.40.4- 100% | 349.0 MiB/s | 357.4 KiB | 00m00s [ 68/169] Installing lz4-libs-0:1.10.0- 100% | 154.7 MiB/s | 158.5 KiB | 00m00s [ 69/169] Installing alternatives-0:1.3 100% | 5.7 MiB/s | 63.8 KiB | 00m00s [ 70/169] Installing lua-libs-0:5.4.7-3 100% | 271.5 MiB/s | 278.1 KiB | 00m00s [ 71/169] Installing json-c-0:0.18-2.fc 100% | 85.9 MiB/s | 88.0 KiB | 00m00s [ 72/169] Installing libffi-0:3.4.8-1.f 100% | 82.4 MiB/s | 84.3 KiB | 00m00s [ 73/169] Installing p11-kit-0:0.25.5-8 100% | 115.0 MiB/s | 2.2 MiB | 00m00s [ 74/169] Installing p11-kit-trust-0:0. 100% | 19.4 MiB/s | 397.1 KiB | 00m00s [ 75/169] Installing zstd-0:1.5.7-1.fc4 100% | 106.9 MiB/s | 1.7 MiB | 00m00s [ 76/169] Installing util-linux-core-0: 100% | 83.9 MiB/s | 1.4 MiB | 00m00s [ 77/169] Installing tar-2:1.35-5.fc42. 100% | 148.1 MiB/s | 3.0 MiB | 00m00s [ 78/169] Installing libsemanage-0:3.8- 100% | 151.5 MiB/s | 310.2 KiB | 00m00s [ 79/169] Installing systemd-standalone 100% | 22.6 MiB/s | 277.8 KiB | 00m00s [ 80/169] Installing libusb1-0:1.0.28-2 100% | 168.7 MiB/s | 172.7 KiB | 00m00s [ 81/169] Installing zip-0:3.0-43.fc42. 100% | 52.8 MiB/s | 702.4 KiB | 00m00s [ 82/169] Installing gnupg2-keyboxd-0:2 100% | 33.0 MiB/s | 202.7 KiB | 00m00s [ 83/169] Installing libpsl-0:0.21.5-5. 100% | 75.7 MiB/s | 77.5 KiB | 00m00s [ 84/169] Installing libfdisk-0:2.40.4- 100% | 182.4 MiB/s | 373.5 KiB | 00m00s [ 85/169] Installing gnupg2-verify-0:2. 100% | 24.4 MiB/s | 349.9 KiB | 00m00s [ 86/169] Installing nettle-0:3.10.1-1. 100% | 258.3 MiB/s | 793.6 KiB | 00m00s [ 87/169] Installing gnutls-0:3.8.9-5.f 100% | 357.4 MiB/s | 3.6 MiB | 00m00s [ 88/169] Installing libxml2-0:2.12.10- 100% | 99.8 MiB/s | 1.7 MiB | 00m00s [ 89/169] Installing bzip2-0:1.0.8-20.f 100% | 8.5 MiB/s | 103.8 KiB | 00m00s [ 90/169] Installing add-determinism-0: 100% | 137.0 MiB/s | 2.5 MiB | 00m00s [ 91/169] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 92/169] Installing cpio-0:2.15-2.fc41 100% | 73.3 MiB/s | 1.1 MiB | 00m00s [ 93/169] Installing diffutils-0:3.12-2 100% | 97.6 MiB/s | 1.6 MiB | 00m00s [ 94/169] Installing libpkgconf-0:2.3.0 100% | 77.4 MiB/s | 79.2 KiB | 00m00s [ 95/169] Installing pkgconf-0:2.3.0-2. 100% | 7.4 MiB/s | 91.0 KiB | 00m00s [ 96/169] Installing ed-0:1.21-2.fc42.x 100% | 12.1 MiB/s | 148.8 KiB | 00m00s [ 97/169] Installing patch-0:2.8-1.fc43 100% | 18.6 MiB/s | 228.3 KiB | 00m00s [ 98/169] Installing jansson-0:2.14-2.f 100% | 92.2 MiB/s | 94.4 KiB | 00m00s [ 99/169] Installing libgomp-0:15.1.1-2 100% | 263.9 MiB/s | 540.5 KiB | 00m00s [100/169] Installing libtool-ltdl-0:2.5 100% | 0.0 B/s | 71.2 KiB | 00m00s [101/169] Installing gdbm-libs-1:1.23-9 100% | 128.5 MiB/s | 131.6 KiB | 00m00s [102/169] Installing cyrus-sasl-lib-0:2 100% | 135.5 MiB/s | 2.3 MiB | 00m00s [103/169] Installing xxhash-libs-0:0.8. 100% | 89.4 MiB/s | 91.6 KiB | 00m00s [104/169] Installing libbrotli-0:1.1.0- 100% | 274.6 MiB/s | 843.6 KiB | 00m00s [105/169] Installing libnghttp2-0:1.65. 100% | 159.5 MiB/s | 163.3 KiB | 00m00s [106/169] Installing keyutils-libs-0:1. 100% | 58.3 MiB/s | 59.7 KiB | 00m00s [107/169] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 68.2 KiB | 00m00s [108/169] Installing libverto-0:0.3.2-1 100% | 0.0 B/s | 27.2 KiB | 00m00s [109/169] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [110/169] Installing elfutils-default-y 100% | 408.6 KiB/s | 2.0 KiB | 00m00s [111/169] Installing elfutils-libs-0:0. 100% | 223.1 MiB/s | 685.2 KiB | 00m00s [112/169] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [113/169] Installing pkgconf-pkg-config 100% | 136.4 KiB/s | 1.8 KiB | 00m00s [114/169] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [115/169] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 740.0 B | 00m00s [116/169] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [117/169] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [118/169] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [119/169] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [120/169] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [121/169] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [122/169] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [123/169] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [124/169] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [125/169] Installing ansible-srpm-macro 100% | 35.4 MiB/s | 36.2 KiB | 00m00s [126/169] Installing coreutils-common-0 100% | 376.4 MiB/s | 11.3 MiB | 00m00s [127/169] Installing openssl-libs-1:3.5 100% | 386.5 MiB/s | 8.9 MiB | 00m00s [128/169] Installing coreutils-0:9.7-3. 100% | 165.0 MiB/s | 5.4 MiB | 00m00s [129/169] Installing ca-certificates-0: 100% | 1.9 MiB/s | 2.4 MiB | 00m01s [130/169] Installing libarchive-0:3.7.7 100% | 227.7 MiB/s | 932.6 KiB | 00m00s [131/169] Installing krb5-libs-0:1.21.3 100% | 164.3 MiB/s | 2.3 MiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.1.3-7.fc43.x86_64 >>> Finished sysusers scriptlet: tpm2-tss-0:4.1.3-7.fc43.x86_64 >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [132/169] Installing tpm2-tss-0:4.1.3-7 100% | 261.3 MiB/s | 1.6 MiB | 00m00s [133/169] Installing ima-evm-utils-libs 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [134/169] Installing gnupg2-gpg-agent-0 100% | 31.4 MiB/s | 675.4 KiB | 00m00s [135/169] Installing libssh-0:0.11.1-4. 100% | 277.1 MiB/s | 567.5 KiB | 00m00s [136/169] Installing gzip-0:1.13-3.fc42 100% | 29.9 MiB/s | 398.4 KiB | 00m00s [137/169] Installing rpm-sequoia-0:1.8. 100% | 357.7 MiB/s | 2.5 MiB | 00m00s [138/169] Installing rpm-libs-0:5.99.90 100% | 303.2 MiB/s | 931.3 KiB | 00m00s [139/169] Installing libfsverity-0:1.6- 100% | 0.0 B/s | 33.5 KiB | 00m00s [140/169] Installing libevent-0:2.1.12- 100% | 295.2 MiB/s | 906.9 KiB | 00m00s [141/169] Installing openldap-0:2.6.9-5 100% | 321.7 MiB/s | 658.9 KiB | 00m00s [142/169] Installing libcurl-0:8.14.0~r 100% | 290.4 MiB/s | 892.1 KiB | 00m00s [143/169] Installing elfutils-debuginfo 100% | 6.5 MiB/s | 86.2 KiB | 00m00s [144/169] Installing binutils-0:2.44-3. 100% | 319.8 MiB/s | 25.9 MiB | 00m00s [145/169] Installing elfutils-0:0.193-2 100% | 153.8 MiB/s | 2.9 MiB | 00m00s [146/169] Installing gdb-minimal-0:16.3 100% | 281.9 MiB/s | 13.2 MiB | 00m00s [147/169] Installing debugedit-0:5.1-6. 100% | 15.9 MiB/s | 195.4 KiB | 00m00s [148/169] Installing curl-0:8.14.0~rc1- 100% | 22.1 MiB/s | 476.0 KiB | 00m00s [149/169] Installing rpm-0:5.99.90-5.fc 100% | 78.4 MiB/s | 2.5 MiB | 00m00s [150/169] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.1 KiB | 00m00s [151/169] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [152/169] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 8.6 KiB | 00m00s [153/169] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [154/169] Installing gnupg2-dirmngr-0:2 100% | 30.3 MiB/s | 621.1 KiB | 00m00s [155/169] Installing gnupg2-0:2.4.8-2.f 100% | 218.4 MiB/s | 6.6 MiB | 00m00s [156/169] Installing rpm-sign-libs-0:5. 100% | 39.6 MiB/s | 40.5 KiB | 00m00s [157/169] Installing rpm-build-libs-0:5 100% | 259.0 MiB/s | 265.2 KiB | 00m00s [158/169] Installing gpgverify-0:2.1-3. 100% | 0.0 B/s | 9.4 KiB | 00m00s [159/169] Installing rpm-build-0:5.99.9 100% | 20.3 MiB/s | 290.3 KiB | 00m00s [160/169] Installing pyproject-srpm-mac 100% | 0.0 B/s | 2.5 KiB | 00m00s [161/169] Installing redhat-rpm-config- 100% | 91.8 MiB/s | 188.0 KiB | 00m00s [162/169] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [163/169] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [164/169] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 62.0 KiB | 00m00s [165/169] Installing python-srpm-macros 100% | 0.0 B/s | 53.0 KiB | 00m00s [166/169] Installing which-0:2.23-1.fc4 100% | 7.0 MiB/s | 85.6 KiB | 00m00s [167/169] Installing util-linux-0:2.40. 100% | 101.8 MiB/s | 3.5 MiB | 00m00s [168/169] Installing shadow-utils-2:4.1 100% | 135.1 MiB/s | 4.1 MiB | 00m00s [169/169] Installing info-0:7.2-3.fc42. 100% | 215.4 KiB/s | 358.3 KiB | 00m02s Warning: skipped OpenPGP checks for 167 packages from repository: http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.6.0-1.fc43.x86_64 alternatives-1.33-1.fc43.x86_64 ansible-srpm-macros-1-17.1.fc42.noarch audit-libs-4.0.3-2.fc42.x86_64 bash-5.2.37-3.fc43.x86_64 binutils-2.44-3.fc43.x86_64 build-reproducibility-srpm-macros-0.6.0-1.fc43.noarch bzip2-1.0.8-20.fc42.x86_64 bzip2-libs-1.0.8-20.fc42.x86_64 ca-certificates-2024.2.69_v8.0.401-5.fc42.noarch coreutils-9.7-3.fc43.x86_64 coreutils-common-9.7-3.fc43.x86_64 cpio-2.15-2.fc41.x86_64 crypto-policies-20250402-2.git86c0178.fc43.noarch curl-8.14.0~rc1-1.fc43.x86_64 cyrus-sasl-lib-2.1.28-30.fc42.x86_64 debugedit-5.1-6.fc43.x86_64 diffutils-3.12-2.fc43.x86_64 dwz-0.15-9.fc42.x86_64 ed-1.21-2.fc42.x86_64 efi-srpm-macros-6-3.fc43.noarch elfutils-0.193-2.fc43.x86_64 elfutils-debuginfod-client-0.193-2.fc43.x86_64 elfutils-default-yama-scope-0.193-2.fc43.noarch elfutils-libelf-0.193-2.fc43.x86_64 elfutils-libs-0.193-2.fc43.x86_64 fedora-gpg-keys-43-0.2.noarch fedora-release-43-0.16.noarch fedora-release-common-43-0.16.noarch fedora-release-identity-basic-43-0.16.noarch fedora-repos-43-0.2.noarch fedora-repos-rawhide-43-0.2.noarch file-5.46-1.fc42.x86_64 file-libs-5.46-1.fc42.x86_64 filesystem-3.18-44.fc43.x86_64 filesystem-srpm-macros-3.18-44.fc43.noarch findutils-4.10.0-5.fc42.x86_64 fonts-srpm-macros-2.0.5-22.fc43.noarch forge-srpm-macros-0.4.0-2.fc42.noarch fpc-srpm-macros-1.3-14.fc42.noarch gawk-5.3.2-1.fc43.x86_64 gdb-minimal-16.3-1.fc43.x86_64 gdbm-libs-1.23-9.fc42.x86_64 ghc-srpm-macros-1.9.2-2.fc42.noarch glibc-2.41.9000-14.fc43.x86_64 glibc-common-2.41.9000-14.fc43.x86_64 glibc-gconv-extra-2.41.9000-14.fc43.x86_64 glibc-minimal-langpack-2.41.9000-14.fc43.x86_64 gmp-6.3.0-3.fc43.x86_64 gnat-srpm-macros-6-7.fc42.noarch gnupg2-2.4.8-2.fc43.x86_64 gnupg2-dirmngr-2.4.8-2.fc43.x86_64 gnupg2-gpg-agent-2.4.8-2.fc43.x86_64 gnupg2-gpgconf-2.4.8-2.fc43.x86_64 gnupg2-keyboxd-2.4.8-2.fc43.x86_64 gnupg2-verify-2.4.8-2.fc43.x86_64 gnutls-3.8.9-5.fc43.x86_64 go-srpm-macros-3.6.0-7.fc43.noarch gpgverify-2.1-3.fc43.noarch grep-3.12-1.fc43.x86_64 gzip-1.13-3.fc42.x86_64 ima-evm-utils-libs-1.6.2-5.fc43.x86_64 info-7.2-3.fc42.x86_64 jansson-2.14-2.fc42.x86_64 json-c-0.18-2.fc42.x86_64 kernel-srpm-macros-1.0-25.fc42.noarch keyutils-libs-1.6.3-5.fc42.x86_64 krb5-libs-1.21.3-5.fc42.x86_64 libacl-2.3.2-3.fc42.x86_64 libarchive-3.7.7-4.fc43.x86_64 libassuan-2.5.7-3.fc42.x86_64 libattr-2.5.2-5.fc42.x86_64 libblkid-2.40.4-7.fc43.x86_64 libbrotli-1.1.0-6.fc42.x86_64 libcap-2.76-1.fc43.x86_64 libcap-ng-0.8.5-4.fc42.x86_64 libcom_err-1.47.2-3.fc42.x86_64 libcurl-8.14.0~rc1-1.fc43.x86_64 libeconf-0.7.6-1.fc43.x86_64 libevent-2.1.12-15.fc42.x86_64 libfdisk-2.40.4-7.fc43.x86_64 libffi-3.4.8-1.fc43.x86_64 libfsverity-1.6-2.fc42.x86_64 libgcc-15.1.1-2.fc43.x86_64 libgcrypt-1.11.1-1.fc43.x86_64 libgomp-15.1.1-2.fc43.x86_64 libgpg-error-1.55-1.fc43.x86_64 libidn2-2.3.8-1.fc43.x86_64 libksba-1.6.7-3.fc42.x86_64 libmount-2.40.4-7.fc43.x86_64 libnghttp2-1.65.0-1.fc43.x86_64 libpkgconf-2.3.0-2.fc42.x86_64 libpsl-0.21.5-5.fc42.x86_64 libselinux-3.8-1.fc42.x86_64 libsemanage-3.8-1.fc42.x86_64 libsepol-3.8-1.fc42.x86_64 libsmartcols-2.40.4-7.fc43.x86_64 libssh-0.11.1-4.fc42.x86_64 libssh-config-0.11.1-4.fc42.noarch libstdc++-15.1.1-2.fc43.x86_64 libtasn1-4.20.0-1.fc43.x86_64 libtool-ltdl-2.5.4-4.fc42.x86_64 libunistring-1.1-9.fc42.x86_64 libusb1-1.0.28-2.fc43.x86_64 libuuid-2.40.4-7.fc43.x86_64 libverto-0.3.2-10.fc42.x86_64 libxcrypt-4.4.38-7.fc43.x86_64 libxml2-2.12.10-1.fc43.x86_64 libzstd-1.5.7-1.fc43.x86_64 lua-libs-5.4.7-3.fc43.x86_64 lua-srpm-macros-1-15.fc42.noarch lz4-libs-1.10.0-2.fc42.x86_64 mpfr-4.2.2-1.fc43.x86_64 ncurses-base-6.5-5.20250125.fc42.noarch ncurses-libs-6.5-5.20250125.fc42.x86_64 nettle-3.10.1-1.fc43.x86_64 npth-1.8-2.fc42.x86_64 ocaml-srpm-macros-10-4.fc42.noarch openblas-srpm-macros-2-19.fc42.noarch openldap-2.6.9-5.fc43.x86_64 openssl-libs-3.5.0-3.fc43.x86_64 p11-kit-0.25.5-8.fc43.x86_64 p11-kit-trust-0.25.5-8.fc43.x86_64 package-notes-srpm-macros-0.5-13.fc42.noarch pam-libs-1.7.0-4.fc42.x86_64 patch-2.8-1.fc43.x86_64 pcre2-10.45-1.fc43.x86_64 pcre2-syntax-10.45-1.fc43.noarch perl-srpm-macros-1-57.fc42.noarch pkgconf-2.3.0-2.fc42.x86_64 pkgconf-m4-2.3.0-2.fc42.noarch pkgconf-pkg-config-2.3.0-2.fc42.x86_64 popt-1.19-8.fc42.x86_64 publicsuffix-list-dafsa-20250116-1.fc42.noarch pyproject-srpm-macros-1.18.1-1.fc43.noarch python-srpm-macros-3.13-5.fc43.noarch qt5-srpm-macros-5.15.17-1.fc43.noarch qt6-srpm-macros-6.9.0-2.fc43.noarch readline-8.2-13.fc43.x86_64 redhat-rpm-config-343-5.fc43.noarch rpm-5.99.90-5.fc43.x86_64 rpm-build-5.99.90-5.fc43.x86_64 rpm-build-libs-5.99.90-5.fc43.x86_64 rpm-libs-5.99.90-5.fc43.x86_64 rpm-sequoia-1.8.0-1.fc43.x86_64 rpm-sign-libs-5.99.90-5.fc43.x86_64 rust-srpm-macros-26.3-4.fc42.noarch sed-4.9-4.fc42.x86_64 setup-2.15.0-25.fc43.noarch shadow-utils-4.17.4-1.fc43.x86_64 sqlite-libs-3.49.2-1.fc43.x86_64 systemd-libs-257.5-5.fc43.x86_64 systemd-standalone-sysusers-257.5-5.fc43.x86_64 tar-1.35-5.fc42.x86_64 tpm2-tss-4.1.3-7.fc43.x86_64 tree-sitter-srpm-macros-0.2.4-1.fc43.noarch unzip-6.0-66.fc42.x86_64 util-linux-2.40.4-7.fc43.x86_64 util-linux-core-2.40.4-7.fc43.x86_64 which-2.23-1.fc42.x86_64 xxhash-libs-0.8.3-2.fc42.x86_64 xz-5.8.1-1.fc43.x86_64 xz-libs-5.8.1-1.fc43.x86_64 zig-srpm-macros-1-4.fc42.noarch zip-3.0-43.fc42.x86_64 zlib-ng-compat-2.2.4-2.fc43.x86_64 zstd-1.5.7-1.fc43.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1744934400 Wrote: /builddir/build/SRPMS/python-gql-3.5.2-3.fc43.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1748437976.950145/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-la0vc1_z/python-gql/python-gql.spec) Config(child) 0 minutes 10 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/python-gql-3.5.2-3.fc43.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1748437976.950145/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1748437976.950145/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1748437976.950145/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-5.99.90-5.fc43.x86_64 rpm-sequoia-1.8.0-1.fc43.x86_64 dnf5-5.2.13.1-2.fc43.x86_64 dnf5-plugins-5.2.13.1-2.fc43.x86_64 Finish: chroot init Start: build phase for python-gql-3.5.2-3.fc43.src.rpm Start: build setup for python-gql-3.5.2-3.fc43.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1744934400 Wrote: /builddir/build/SRPMS/python-gql-3.5.2-3.fc43.src.rpm Updating and loading repositories: fedora 100% | 348.8 KiB/s | 24.1 KiB | 00m00s Copr repository 100% | 95.0 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 136.8 KiB/s | 3.8 KiB | 00m00s Copr repository 100% | 154.2 KiB/s | 12.2 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-devel x86_64 3.13.3-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB Installing dependencies: expat x86_64 2.7.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 294.2 KiB libb2 x86_64 0.98.1-13.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 46.1 KiB mpdecimal x86_64 4.0.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 217.2 KiB pyproject-rpm-macros noarch 1.18.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 114.5 KiB python-pip-wheel noarch 25.1.1-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB python-rpm-macros noarch 3.13-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 22.1 KiB python3 x86_64 3.13.3-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 28.7 KiB python3-libs x86_64 3.13.3-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 39.9 MiB python3-packaging noarch 25.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 563.4 KiB python3-rpm-generators noarch 14-12.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 81.7 KiB python3-rpm-macros noarch 3.13-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.4 KiB tzdata noarch 2025b-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB Transaction Summary: Installing: 13 packages Total size of inbound packages is 11 MiB. Need to download 0 B. After this operation, 46 MiB extra will be used (install 46 MiB, remove 0 B). [ 1/13] python3-devel-0:3.13.3-3.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/13] python3-0:3.13.3-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/13] python3-libs-0:3.13.3-3.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/13] expat-0:2.7.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/13] libb2-0:0.98.1-13.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/13] mpdecimal-0:4.0.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/13] python-pip-wheel-0:25.1.1-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/13] tzdata-0:2025b-1.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/13] pyproject-rpm-macros-0:1.18.1-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/13] python-rpm-macros-0:3.13-5.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/13] python3-rpm-generators-0:14-12. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/13] python3-rpm-macros-0:3.13-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/13] python3-packaging-0:25.0-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [13/13] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/15] Verify package files 100% | 812.0 B/s | 13.0 B | 00m00s [ 2/15] Prepare transaction 100% | 541.0 B/s | 13.0 B | 00m00s [ 3/15] Installing python-rpm-macros-0: 100% | 22.3 MiB/s | 22.8 KiB | 00m00s [ 4/15] Installing python3-rpm-macros-0 100% | 0.0 B/s | 6.7 KiB | 00m00s [ 5/15] Installing pyproject-rpm-macros 100% | 37.9 MiB/s | 116.4 KiB | 00m00s [ 6/15] Installing tzdata-0:2025b-1.fc4 100% | 57.3 MiB/s | 1.9 MiB | 00m00s [ 7/15] Installing python-pip-wheel-0:2 100% | 622.5 MiB/s | 1.2 MiB | 00m00s [ 8/15] Installing mpdecimal-0:4.0.1-1. 100% | 213.7 MiB/s | 218.8 KiB | 00m00s [ 9/15] Installing libb2-0:0.98.1-13.fc 100% | 0.0 B/s | 47.2 KiB | 00m00s [10/15] Installing expat-0:2.7.1-1.fc43 100% | 17.0 MiB/s | 296.3 KiB | 00m00s [11/15] Installing python3-libs-0:3.13. 100% | 303.0 MiB/s | 40.3 MiB | 00m00s [12/15] Installing python3-0:3.13.3-3.f 100% | 2.5 MiB/s | 30.4 KiB | 00m00s [13/15] Installing python3-packaging-0: 100% | 187.5 MiB/s | 575.9 KiB | 00m00s [14/15] Installing python3-rpm-generato 100% | 81.0 MiB/s | 82.9 KiB | 00m00s [15/15] Installing python3-devel-0:3.13 100% | 52.1 MiB/s | 1.8 MiB | 00m00s Warning: skipped OpenPGP checks for 13 packages from repository: http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Finish: build setup for python-gql-3.5.2-3.fc43.src.rpm Start: rpmbuild python-gql-3.5.2-3.fc43.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1744934400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.rLi4sN Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.278Gep + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.2-build + cd /builddir/build/BUILD/python-gql-3.5.2-build + rm -rf gql-3.5.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gql-3.5.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gql-3.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/b066e8944b0da0a4bbac6c31f43e5c3c7772cd51.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's/"mock==.*",//' setup.py + sed -i 's/import mock/from unittest import mock/' tests/test_client.py + sed -i 's/^deps = .*$/deps =/' tox.ini + sed -i 's/pip install -U setuptools//' tox.ini + sed -i 's/"websockets>=.*",/"websockets",/' setup.py + sed -i 's/"pytest==.*",/"pytest",/' setup.py + sed -i 's/"pytest-asyncio==.*",/"pytest-asyncio",/' setup.py + sed -i 's/"pytest-console-scripts==.*",/"pytest-console-scripts",/' setup.py + sed -i 's/"pytest-cov==.*",/"pytest-cov",/' setup.py + sed -i 's/"parse==.*",/"parse",/' setup.py + sed -i 's/"vcrpy==.*",/"vcrpy",/' setup.py + sed -i 's/"graphql-core>=3.2,<3.2.5"/"graphql-core>=3.2,<3.2.7"/' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.qi0F30 + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.2-build + cd gql-3.5.2 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/pyproject-wheeldir --output /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-buildrequires -t -x test Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-gql-3.5.2-3.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 69.2 KiB/s | 24.1 KiB | 00m00s Copr repository 100% | 80.0 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 141.9 KiB/s | 3.8 KiB | 00m00s Copr repository 100% | 285.0 KiB/s | 14.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.18.1-1.fc43.noarch" is already installed. Package "python3-devel-3.13.3-3.fc43.x86_64" is already installed. Package "python3-packaging-25.0-1.fc43.noarch" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 25.1.1-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.6 MiB python3-setuptools noarch 78.1.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.6 MiB Transaction Summary: Installing: 2 packages Total size of inbound packages is 4 MiB. Need to download 0 B. After this operation, 20 MiB extra will be used (install 20 MiB, remove 0 B). [1/2] python3-pip-0:25.1.1-3.fc43.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/2] python3-setuptools-0:78.1.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/4] Verify package files 100% | 333.0 B/s | 2.0 B | 00m00s [2/4] Prepare transaction 100% | 111.0 B/s | 2.0 B | 00m00s [3/4] Installing python3-setuptools-0:7 100% | 194.8 MiB/s | 8.8 MiB | 00m00s [4/4] Installing python3-pip-0:25.1.1-3 100% | 144.2 MiB/s | 11.8 MiB | 00m00s Warning: skipped OpenPGP checks for 2 packages from repository: http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1744934400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.N2qAtr + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.2-build + cd gql-3.5.2 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/pyproject-wheeldir --output /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-buildrequires -t -x test Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 78.1.1) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running egg_info writing gql.egg-info/PKG-INFO writing dependency_links to gql.egg-info/dependency_links.txt writing entry points to gql.egg-info/entry_points.txt writing requirements to gql.egg-info/requires.txt writing top-level names to gql.egg-info/top_level.txt reading manifest file 'gql.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'dev_requirements.txt' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'gql-checker' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'gql.egg-info/SOURCES.txt' Handling tox-current-env >= 0.0.16 from tox itself Requirement not satisfied: tox-current-env >= 0.0.16 Exiting dependency generation pass: tox itself + cat /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-gql-3.5.2-3.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 687.6 KiB/s | 24.1 KiB | 00m00s Copr repository 100% | 43.4 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 141.9 KiB/s | 3.8 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.18.1-1.fc43.noarch" is already installed. Package "python3-devel-3.13.3-3.fc43.x86_64" is already installed. Package "python3-packaging-25.0-1.fc43.noarch" is already installed. Package "python3-pip-25.1.1-3.fc43.noarch" is already installed. Package "python3-setuptools-78.1.1-1.fc43.noarch" is already installed. Package Arch Version Repository Size Installing: python3-tox-current-env noarch 0.0.16-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 77.5 KiB Installing dependencies: python-setuptools-wheel noarch 78.1.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB python3-cachetools noarch 5.5.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 133.9 KiB python3-chardet noarch 5.2.0-18.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.1 MiB python3-colorama noarch 0.4.6-10.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 187.6 KiB python3-distlib noarch 0.3.9-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB python3-filelock noarch 3.15.4-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 89.6 KiB python3-platformdirs noarch 4.2.2-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 162.0 KiB python3-pluggy noarch 1.5.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 192.7 KiB python3-pyproject-api noarch 1.9.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 79.2 KiB python3-virtualenv noarch 20.31.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 663.3 KiB tox noarch 4.26.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB Transaction Summary: Installing: 12 packages Total size of inbound packages is 3 MiB. Need to download 2 MiB. After this operation, 7 MiB extra will be used (install 7 MiB, remove 0 B). [ 1/12] python3-pluggy-0:1.5.0-2.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/12] python3-tox-current-env-0:0.0.1 100% | 1.1 MiB/s | 31.2 KiB | 00m00s [ 3/12] python3-cachetools-0:5.5.2-1.fc 100% | 1.3 MiB/s | 38.9 KiB | 00m00s [ 4/12] python3-colorama-0:0.4.6-10.fc4 100% | 7.7 MiB/s | 63.1 KiB | 00m00s [ 5/12] python3-chardet-0:5.2.0-18.fc43 100% | 26.6 MiB/s | 272.1 KiB | 00m00s [ 6/12] python3-filelock-0:3.15.4-5.fc4 100% | 6.1 MiB/s | 37.7 KiB | 00m00s [ 7/12] python3-platformdirs-0:4.2.2-4. 100% | 8.0 MiB/s | 41.2 KiB | 00m00s [ 8/12] tox-0:4.26.0-1.fc43.noarch 100% | 8.1 MiB/s | 380.9 KiB | 00m00s [ 9/12] python3-pyproject-api-0:1.9.1-1 100% | 7.2 MiB/s | 36.9 KiB | 00m00s [10/12] python3-virtualenv-0:20.31.2-1. 100% | 40.5 MiB/s | 249.1 KiB | 00m00s [11/12] python3-distlib-0:0.3.9-2.fc42. 100% | 19.5 MiB/s | 259.1 KiB | 00m00s [12/12] python-setuptools-wheel-0:78.1. 100% | 31.0 MiB/s | 1.1 MiB | 00m00s -------------------------------------------------------------------------------- [12/12] Total 100% | 30.0 MiB/s | 2.5 MiB | 00m00s Running transaction [ 1/14] Verify package files 100% | 2.9 KiB/s | 12.0 B | 00m00s [ 2/14] Prepare transaction 100% | 1.1 KiB/s | 12.0 B | 00m00s [ 3/14] Installing python3-platformdirs 100% | 82.2 MiB/s | 168.4 KiB | 00m00s [ 4/14] Installing python3-filelock-0:3 100% | 94.1 MiB/s | 96.4 KiB | 00m00s [ 5/14] Installing python3-distlib-0:0. 100% | 390.8 MiB/s | 1.2 MiB | 00m00s [ 6/14] Installing python-setuptools-wh 100% | 573.9 MiB/s | 1.1 MiB | 00m00s [ 7/14] Installing python3-virtualenv-0 100% | 32.5 MiB/s | 733.0 KiB | 00m00s [ 8/14] Installing python3-pyproject-ap 100% | 83.3 MiB/s | 85.3 KiB | 00m00s [ 9/14] Installing python3-pluggy-0:1.5 100% | 97.2 MiB/s | 199.0 KiB | 00m00s [10/14] Installing python3-colorama-0:0 100% | 96.4 MiB/s | 197.5 KiB | 00m00s [11/14] Installing python3-chardet-0:5. 100% | 110.2 MiB/s | 2.1 MiB | 00m00s [12/14] Installing python3-cachetools-0 100% | 67.4 MiB/s | 138.1 KiB | 00m00s [13/14] Installing tox-0:4.26.0-1.fc43. 100% | 59.8 MiB/s | 1.3 MiB | 00m00s [14/14] Installing python3-tox-current- 100% | 7.3 MiB/s | 81.8 KiB | 00m00s Warning: skipped OpenPGP checks for 12 packages from repository: http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1744934400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.JoJnvw + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.2-build + cd gql-3.5.2 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/pyproject-wheeldir --output /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-buildrequires -t -x test Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 78.1.1) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running egg_info writing gql.egg-info/PKG-INFO writing dependency_links to gql.egg-info/dependency_links.txt writing entry points to gql.egg-info/entry_points.txt writing requirements to gql.egg-info/requires.txt writing top-level names to gql.egg-info/top_level.txt reading manifest file 'gql.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'dev_requirements.txt' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'gql-checker' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'gql.egg-info/SOURCES.txt' Handling tox-current-env >= 0.0.16 from tox itself Requirement satisfied: tox-current-env >= 0.0.16 (installed: tox-current-env 0.0.16) py313: OK (0.00 seconds) congratulations :) (0.06 seconds) Handling tox from tox --print-deps-only: py313 Requirement satisfied: tox (installed: tox 4.26.0) py313: OK (0.00 seconds) congratulations :) (0.06 seconds) running dist_info writing gql.egg-info/PKG-INFO writing dependency_links to gql.egg-info/dependency_links.txt writing entry points to gql.egg-info/entry_points.txt writing requirements to gql.egg-info/requires.txt writing top-level names to gql.egg-info/top_level.txt reading manifest file 'gql.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'dev_requirements.txt' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'gql-checker' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'gql.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/gql-3.5.2.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() Handling graphql-core<3.2.7,>=3.2 from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: graphql-core<3.2.7,>=3.2 Handling yarl<2.0,>=1.6 from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: yarl<2.0,>=1.6 Handling backoff<3.0,>=1.11.1 from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: backoff<3.0,>=1.11.1 Handling anyio<5,>=3.0 from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: anyio<5,>=3.0 Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "all" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "all" Handling requests<3,>=2.26; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests<3,>=2.26; extra == "all" Handling requests_toolbelt<2,>=1.0.0; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests_toolbelt<2,>=1.0.0; extra == "all" Handling httpx<1,>=0.23.1; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: httpx<1,>=0.23.1; extra == "all" Handling websockets; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: websockets; extra == "all" Handling botocore<2,>=1.21; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: botocore<2,>=1.21; extra == "all" Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "test" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "test" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "test" Handling requests<3,>=2.26; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: requests<3,>=2.26; extra == "test" Handling requests_toolbelt<2,>=1.0.0; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: requests_toolbelt<2,>=1.0.0; extra == "test" Handling httpx<1,>=0.23.1; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: httpx<1,>=0.23.1; extra == "test" Handling websockets; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: websockets; extra == "test" Handling botocore<2,>=1.21; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: botocore<2,>=1.21; extra == "test" Handling parse; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: parse; extra == "test" Handling pytest; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: pytest; extra == "test" Handling pytest-asyncio; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: pytest-asyncio; extra == "test" Handling pytest-console-scripts; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: pytest-console-scripts; extra == "test" Handling pytest-cov; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: pytest-cov; extra == "test" Handling vcrpy; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: vcrpy; extra == "test" Handling vcrpy; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: vcrpy; extra == "test" Handling aiofiles; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement not satisfied: aiofiles; extra == "test" Handling parse; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: parse; extra == "test-no-transport" Handling pytest; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest; extra == "test-no-transport" Handling pytest-asyncio; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-asyncio; extra == "test-no-transport" Handling pytest-console-scripts; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-console-scripts; extra == "test-no-transport" Handling pytest-cov; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-cov; extra == "test-no-transport" Handling vcrpy; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "test-no-transport" Handling vcrpy; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "test-no-transport" Handling aiofiles; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiofiles; extra == "test-no-transport" Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "dev" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "dev" Handling requests<3,>=2.26; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests<3,>=2.26; extra == "dev" Handling requests_toolbelt<2,>=1.0.0; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests_toolbelt<2,>=1.0.0; extra == "dev" Handling httpx<1,>=0.23.1; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: httpx<1,>=0.23.1; extra == "dev" Handling websockets; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: websockets; extra == "dev" Handling botocore<2,>=1.21; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: botocore<2,>=1.21; extra == "dev" Handling black==22.3.0; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: black==22.3.0; extra == "dev" Handling check-manifest<1,>=0.42; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: check-manifest<1,>=0.42; extra == "dev" Handling flake8==3.8.1; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: flake8==3.8.1; extra == "dev" Handling isort==4.3.21; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: isort==4.3.21; extra == "dev" Handling mypy==0.910; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: mypy==0.910; extra == "dev" Handling sphinx<6,>=5.3.0; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: sphinx<6,>=5.3.0; extra == "dev" Handling sphinx_rtd_theme<1,>=0.4; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: sphinx_rtd_theme<1,>=0.4; extra == "dev" Handling sphinx-argparse==0.2.5; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: sphinx-argparse==0.2.5; extra == "dev" Handling types-aiofiles; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: types-aiofiles; extra == "dev" Handling types-mock; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: types-mock; extra == "dev" Handling types-requests; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: types-requests; extra == "dev" Handling parse; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: parse; extra == "dev" Handling pytest; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest; extra == "dev" Handling pytest-asyncio; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-asyncio; extra == "dev" Handling pytest-console-scripts; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-console-scripts; extra == "dev" Handling pytest-cov; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-cov; extra == "dev" Handling vcrpy; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "dev" Handling vcrpy; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "dev" Handling aiofiles; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiofiles; extra == "dev" Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "aiohttp" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "aiohttp" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "aiohttp" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "aiohttp" Handling requests<3,>=2.26; extra == "requests" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests<3,>=2.26; extra == "requests" Handling requests_toolbelt<2,>=1.0.0; extra == "requests" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests_toolbelt<2,>=1.0.0; extra == "requests" Handling httpx<1,>=0.23.1; extra == "httpx" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: httpx<1,>=0.23.1; extra == "httpx" Handling websockets; extra == "websockets" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: websockets; extra == "websockets" Handling botocore<2,>=1.21; extra == "botocore" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: botocore<2,>=1.21; extra == "botocore" + cat /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-buildrequires + rm -rfv gql-3.5.2.dist-info/ removed 'gql-3.5.2.dist-info/entry_points.txt' removed 'gql-3.5.2.dist-info/top_level.txt' removed 'gql-3.5.2.dist-info/METADATA' removed 'gql-3.5.2.dist-info/licenses/LICENSE' removed directory 'gql-3.5.2.dist-info/licenses' removed directory 'gql-3.5.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-gql-3.5.2-3.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 633.3 KiB/s | 24.1 KiB | 00m00s Copr repository 100% | 43.4 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 112.6 KiB/s | 3.8 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.18.1-1.fc43.noarch" is already installed. Package "python3-devel-3.13.3-3.fc43.x86_64" is already installed. Package "python3-packaging-25.0-1.fc43.noarch" is already installed. Package "python3-pip-25.1.1-3.fc43.noarch" is already installed. Package "python3-setuptools-78.1.1-1.fc43.noarch" is already installed. Package "tox-4.26.0-1.fc43.noarch" is already installed. Package "python3-tox-current-env-0.0.16-1.fc43.noarch" is already installed. Package Arch Version Repository Size Installing: python3-aiofiles noarch 24.1.0-4.fc43 copr_base 86.6 KiB python3-aiohttp x86_64 3.11.16-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.5 MiB python3-anyio noarch 4.8.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB python3-backoff noarch 2.2.1-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 103.7 KiB python3-botocore noarch 1.38.23-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 101.4 MiB python3-graphql-core noarch 3.2.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.5 MiB python3-httpx noarch 0.28.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 898.0 KiB python3-parse noarch 1.20.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 116.1 KiB python3-pytest noarch 8.3.5-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 21.0 MiB python3-pytest-asyncio noarch 1.0.0-1.fc43 copr_base 128.8 KiB python3-pytest-console-scripts noarch 1.4.1-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 75.0 KiB python3-pytest-cov noarch 5.0.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 163.6 KiB python3-requests noarch 2.32.3-12.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 483.4 KiB python3-requests-toolbelt noarch 1.0.0-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 298.2 KiB python3-vcrpy noarch 7.0.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 305.4 KiB python3-websockets x86_64 14.1-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.5 MiB python3-yarl x86_64 1.18.3-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 511.8 KiB Installing dependencies: libyaml x86_64 0.2.5-16.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 134.7 KiB llhttp x86_64 9.3.0-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 92.6 KiB python3-aiohappyeyeballs noarch 2.6.1-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 97.8 KiB python3-aiosignal noarch 1.3.2-6.fc43 copr_base 22.4 KiB python3-attrs noarch 25.3.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 402.5 KiB python3-certifi noarch 2024.08.30-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.8 KiB python3-charset-normalizer noarch 3.4.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 330.1 KiB python3-coverage x86_64 7.3.2-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.7 MiB python3-coverage+toml x86_64 7.3.2-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 17.1 KiB python3-dateutil noarch 1:2.9.0.post0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 859.4 KiB python3-frozenlist x86_64 1.6.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 147.1 KiB python3-h11 noarch 0.16.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 248.2 KiB python3-httpcore noarch 1.0.9-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 779.0 KiB python3-idna noarch 3.10-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 628.0 KiB python3-iniconfig noarch 1.1.1-25.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.6 KiB python3-jmespath noarch 1.0.1-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 148.0 KiB python3-multidict x86_64 6.4.4-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 198.6 KiB python3-propcache x86_64 0.2.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 128.5 KiB python3-pyyaml x86_64 6.0.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 781.0 KiB python3-six noarch 1.17.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 116.9 KiB python3-sniffio noarch 1.3.1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 34.7 KiB python3-urllib3 noarch 2.4.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB python3-wrapt x86_64 1.17.1-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 197.4 KiB Transaction Summary: Installing: 40 packages Total size of inbound packages is 14 MiB. Need to download 12 MiB. After this operation, 141 MiB extra will be used (install 141 MiB, remove 0 B). [ 1/40] python3-requests-0:2.32.3-12.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/40] python3-pytest-0:8.3.5-2.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/40] python3-pytest-asyncio-0:1.0.0- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/40] python3-idna-0:3.10-2.fc42.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/40] python3-urllib3-0:2.4.0-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/40] python3-charset-normalizer-0:3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/40] python3-iniconfig-0:1.1.1-25.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/40] python3-anyio-0:4.8.0-3.fc43.no 100% | 7.4 MiB/s | 234.2 KiB | 00m00s [ 9/40] python3-aiohttp-0:3.11.16-2.fc4 100% | 20.3 MiB/s | 747.5 KiB | 00m00s [10/40] python3-backoff-0:2.2.1-9.fc42. 100% | 858.1 KiB/s | 36.0 KiB | 00m00s [11/40] python3-graphql-core-0:3.2.4-2. 100% | 50.1 MiB/s | 410.4 KiB | 00m00s [12/40] python3-httpx-0:0.28.1-1.fc43.n 100% | 20.6 MiB/s | 189.4 KiB | 00m00s [13/40] python3-requests-toolbelt-0:1.0 100% | 9.8 MiB/s | 100.1 KiB | 00m00s [14/40] python3-yarl-0:1.18.3-1.fc43.x8 100% | 26.2 MiB/s | 134.0 KiB | 00m00s [15/40] python3-aiofiles-0:24.1.0-4.fc4 100% | 1.4 MiB/s | 36.6 KiB | 00m00s [16/40] python3-botocore-0:1.38.23-1.fc 100% | 125.8 MiB/s | 7.5 MiB | 00m00s [17/40] python3-pytest-cov-0:5.0.0-2.fc 100% | 9.5 MiB/s | 48.8 KiB | 00m00s [18/40] python3-parse-0:1.20.2-3.fc42.n 100% | 775.4 KiB/s | 40.3 KiB | 00m00s [19/40] python3-vcrpy-0:7.0.0-2.fc42.no 100% | 2.3 MiB/s | 107.8 KiB | 00m00s [20/40] python3-pytest-console-scripts- 100% | 429.6 KiB/s | 27.5 KiB | 00m00s [21/40] python3-multidict-0:6.4.4-1.fc4 100% | 17.8 MiB/s | 72.7 KiB | 00m00s [22/40] python3-websockets-0:14.1-2.fc4 100% | 6.3 MiB/s | 270.4 KiB | 00m00s [23/40] python3-propcache-0:0.2.0-1.fc4 100% | 10.7 MiB/s | 54.8 KiB | 00m00s [24/40] libyaml-0:0.2.5-16.fc42.x86_64 100% | 14.8 MiB/s | 60.7 KiB | 00m00s [25/40] python3-coverage+toml-0:7.3.2-6 100% | 2.2 MiB/s | 9.1 KiB | 00m00s [26/40] python3-pyyaml-0:6.0.2-2.fc42.x 100% | 13.4 MiB/s | 219.4 KiB | 00m00s [27/40] python3-coverage-0:7.3.2-6.fc42 100% | 71.5 MiB/s | 366.3 KiB | 00m00s [28/40] python3-certifi-0:2024.08.30-2. 100% | 3.5 MiB/s | 14.4 KiB | 00m00s [29/40] python3-wrapt-0:1.17.1-2.fc42.x 100% | 3.6 MiB/s | 69.2 KiB | 00m00s [30/40] python3-httpcore-0:1.0.9-1.fc43 100% | 26.3 MiB/s | 134.6 KiB | 00m00s [31/40] python3-h11-0:0.16.0-1.fc43.noa 100% | 17.3 MiB/s | 71.0 KiB | 00m00s [32/40] python3-dateutil-1:2.9.0.post0- 100% | 54.0 MiB/s | 331.9 KiB | 00m00s [33/40] python3-sniffio-0:1.3.1-4.fc42. 100% | 5.6 MiB/s | 22.8 KiB | 00m00s [34/40] llhttp-0:9.3.0-4.fc43.x86_64 100% | 7.6 MiB/s | 38.9 KiB | 00m00s [35/40] python3-aiohappyeyeballs-0:2.6. 100% | 9.2 MiB/s | 37.8 KiB | 00m00s [36/40] python3-aiosignal-0:1.3.2-6.fc4 100% | 9.5 MiB/s | 19.5 KiB | 00m00s [37/40] python3-jmespath-0:1.0.1-9.fc42 100% | 3.5 MiB/s | 53.1 KiB | 00m00s [38/40] python3-attrs-0:25.3.0-1.fc43.n 100% | 23.5 MiB/s | 120.1 KiB | 00m00s [39/40] python3-frozenlist-0:1.6.0-3.fc 100% | 11.9 MiB/s | 60.7 KiB | 00m00s [40/40] python3-six-0:1.17.0-2.fc42.noa 100% | 10.1 MiB/s | 41.3 KiB | 00m00s -------------------------------------------------------------------------------- [40/40] Total 100% | 58.4 MiB/s | 11.6 MiB | 00m00s Running transaction [ 1/42] Verify package files 100% | 1.8 KiB/s | 40.0 B | 00m00s [ 2/42] Prepare transaction 100% | 1.0 KiB/s | 40.0 B | 00m00s [ 3/42] Installing python3-idna-0:3.10- 100% | 206.5 MiB/s | 634.3 KiB | 00m00s [ 4/42] Installing python3-urllib3-0:2. 100% | 204.2 MiB/s | 1.0 MiB | 00m00s [ 5/42] Installing python3-frozenlist-0 100% | 147.6 MiB/s | 151.1 KiB | 00m00s [ 6/42] Installing python3-certifi-0:20 100% | 10.1 MiB/s | 10.4 KiB | 00m00s [ 7/42] Installing python3-coverage-0:7 100% | 88.9 MiB/s | 1.7 MiB | 00m00s [ 8/42] Installing python3-propcache-0: 100% | 130.7 MiB/s | 133.8 KiB | 00m00s [ 9/42] Installing python3-multidict-0: 100% | 198.9 MiB/s | 203.6 KiB | 00m00s [10/42] Installing python3-yarl-0:1.18. 100% | 253.4 MiB/s | 518.9 KiB | 00m00s [11/42] Installing python3-coverage+tom 100% | 0.0 B/s | 124.0 B | 00m00s [12/42] Installing python3-aiosignal-0: 100% | 24.9 MiB/s | 25.5 KiB | 00m00s [13/42] Installing python3-six-0:1.17.0 100% | 116.2 MiB/s | 119.0 KiB | 00m00s [14/42] Installing python3-dateutil-1:2 100% | 213.1 MiB/s | 872.9 KiB | 00m00s [15/42] Installing python3-attrs-0:25.3 100% | 203.5 MiB/s | 416.7 KiB | 00m00s [16/42] Installing python3-aiohappyeyeb 100% | 100.5 MiB/s | 102.9 KiB | 00m00s [17/42] Installing llhttp-0:9.3.0-4.fc4 100% | 91.8 MiB/s | 94.0 KiB | 00m00s [18/42] Installing python3-sniffio-0:1. 100% | 39.2 MiB/s | 40.1 KiB | 00m00s [19/42] Installing python3-anyio-0:4.8. 100% | 223.1 MiB/s | 1.1 MiB | 00m00s [20/42] Installing python3-jmespath-0:1 100% | 11.6 MiB/s | 154.4 KiB | 00m00s [21/42] Installing python3-h11-0:0.16.0 100% | 125.1 MiB/s | 256.1 KiB | 00m00s [22/42] Installing python3-httpcore-0:1 100% | 195.2 MiB/s | 799.5 KiB | 00m00s [23/42] Installing python3-iniconfig-0: 100% | 11.5 MiB/s | 23.5 KiB | 00m00s [24/42] Installing python3-pytest-0:8.3 100% | 335.1 MiB/s | 21.1 MiB | 00m00s [25/42] Installing libyaml-0:0.2.5-16.f 100% | 132.9 MiB/s | 136.0 KiB | 00m00s [26/42] Installing python3-pyyaml-0:6.0 100% | 194.0 MiB/s | 794.8 KiB | 00m00s [27/42] Installing python3-charset-norm 100% | 23.7 MiB/s | 340.2 KiB | 00m00s [28/42] Installing python3-requests-0:2 100% | 161.4 MiB/s | 495.7 KiB | 00m00s [29/42] Installing python3-wrapt-0:1.17 100% | 99.7 MiB/s | 204.1 KiB | 00m00s [30/42] Installing python3-vcrpy-0:7.0. 100% | 105.5 MiB/s | 324.1 KiB | 00m00s [31/42] Installing python3-requests-too 100% | 105.1 MiB/s | 322.8 KiB | 00m00s [32/42] Installing python3-pytest-async 100% | 129.7 MiB/s | 132.8 KiB | 00m00s [33/42] Installing python3-pytest-conso 100% | 76.1 MiB/s | 77.9 KiB | 00m00s [34/42] Installing python3-pytest-cov-0 100% | 165.5 MiB/s | 169.4 KiB | 00m00s [35/42] Installing python3-httpx-0:0.28 100% | 127.4 MiB/s | 913.4 KiB | 00m00s [36/42] Installing python3-botocore-0:1 100% | 439.5 MiB/s | 102.0 MiB | 00m00s [37/42] Installing python3-aiohttp-0:3. 100% | 317.8 MiB/s | 3.5 MiB | 00m00s [38/42] Installing python3-websockets-0 100% | 260.6 MiB/s | 1.6 MiB | 00m00s [39/42] Installing python3-parse-0:1.20 100% | 115.3 MiB/s | 118.1 KiB | 00m00s [40/42] Installing python3-aiofiles-0:2 100% | 46.3 MiB/s | 94.8 KiB | 00m00s [41/42] Installing python3-graphql-core 100% | 145.1 MiB/s | 1.6 MiB | 00m00s [42/42] Installing python3-backoff-0:2. 100% | 5.2 MiB/s | 110.8 KiB | 00m00s Warning: skipped OpenPGP checks for 40 packages from repositories: copr_base, http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1744934400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.8DYimU + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.2-build + cd gql-3.5.2 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/pyproject-wheeldir --output /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-buildrequires -t -x test Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 78.1.1) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running egg_info writing gql.egg-info/PKG-INFO writing dependency_links to gql.egg-info/dependency_links.txt writing entry points to gql.egg-info/entry_points.txt writing requirements to gql.egg-info/requires.txt writing top-level names to gql.egg-info/top_level.txt reading manifest file 'gql.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'dev_requirements.txt' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'gql-checker' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'gql.egg-info/SOURCES.txt' Handling tox-current-env >= 0.0.16 from tox itself Requirement satisfied: tox-current-env >= 0.0.16 (installed: tox-current-env 0.0.16) py313: OK (0.00 seconds) congratulations :) (0.06 seconds) Handling tox from tox --print-deps-only: py313 Requirement satisfied: tox (installed: tox 4.26.0) py313: OK (0.00 seconds) congratulations :) (0.06 seconds) running dist_info writing gql.egg-info/PKG-INFO writing dependency_links to gql.egg-info/dependency_links.txt writing entry points to gql.egg-info/entry_points.txt writing requirements to gql.egg-info/requires.txt writing top-level names to gql.egg-info/top_level.txt reading manifest file 'gql.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'dev_requirements.txt' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'gql-checker' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'gql.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/gql-3.5.2.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() Handling graphql-core<3.2.7,>=3.2 from hook generated metadata: Requires-Dist (gql) Requirement satisfied: graphql-core<3.2.7,>=3.2 (installed: graphql-core 3.2.4) Handling yarl<2.0,>=1.6 from hook generated metadata: Requires-Dist (gql) Requirement satisfied: yarl<2.0,>=1.6 (installed: yarl 1.18.3) Handling backoff<3.0,>=1.11.1 from hook generated metadata: Requires-Dist (gql) Requirement satisfied: backoff<3.0,>=1.11.1 (installed: backoff 2.2.1) Handling anyio<5,>=3.0 from hook generated metadata: Requires-Dist (gql) Requirement satisfied: anyio<5,>=3.0 (installed: anyio 4.8.0) Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "all" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "all" Handling requests<3,>=2.26; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests<3,>=2.26; extra == "all" Handling requests_toolbelt<2,>=1.0.0; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests_toolbelt<2,>=1.0.0; extra == "all" Handling httpx<1,>=0.23.1; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: httpx<1,>=0.23.1; extra == "all" Handling websockets; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: websockets; extra == "all" Handling botocore<2,>=1.21; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: botocore<2,>=1.21; extra == "all" Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "test" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "test" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "test" (installed: aiohttp 3.11.16) Handling requests<3,>=2.26; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: requests<3,>=2.26; extra == "test" (installed: requests 2.32.3) Handling requests_toolbelt<2,>=1.0.0; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: requests_toolbelt<2,>=1.0.0; extra == "test" (installed: requests_toolbelt 1.0.0) Handling httpx<1,>=0.23.1; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: httpx<1,>=0.23.1; extra == "test" (installed: httpx 0.28.1) Handling websockets; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: websockets; extra == "test" (installed: websockets 14.1) Handling botocore<2,>=1.21; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: botocore<2,>=1.21; extra == "test" (installed: botocore 1.38.23) Handling parse; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: parse; extra == "test" (installed: parse 1.20.2) Handling pytest; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: pytest; extra == "test" (installed: pytest 8.3.5) Handling pytest-asyncio; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: pytest-asyncio; extra == "test" (installed: pytest-asyncio 1.0.0) Handling pytest-console-scripts; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: pytest-console-scripts; extra == "test" (installed: pytest-console-scripts 1.4.1) Handling pytest-cov; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: pytest-cov; extra == "test" (installed: pytest-cov 5.0.0) Handling vcrpy; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: vcrpy; extra == "test" (installed: vcrpy 7.0.0) Handling vcrpy; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: vcrpy; extra == "test" (installed: vcrpy 7.0.0) Handling aiofiles; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: aiofiles; extra == "test" (installed: aiofiles 24.1.0) Handling parse; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: parse; extra == "test-no-transport" Handling pytest; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest; extra == "test-no-transport" Handling pytest-asyncio; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-asyncio; extra == "test-no-transport" Handling pytest-console-scripts; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-console-scripts; extra == "test-no-transport" Handling pytest-cov; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-cov; extra == "test-no-transport" Handling vcrpy; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "test-no-transport" Handling vcrpy; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "test-no-transport" Handling aiofiles; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiofiles; extra == "test-no-transport" Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "dev" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "dev" Handling requests<3,>=2.26; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests<3,>=2.26; extra == "dev" Handling requests_toolbelt<2,>=1.0.0; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests_toolbelt<2,>=1.0.0; extra == "dev" Handling httpx<1,>=0.23.1; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: httpx<1,>=0.23.1; extra == "dev" Handling websockets; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: websockets; extra == "dev" Handling botocore<2,>=1.21; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: botocore<2,>=1.21; extra == "dev" Handling black==22.3.0; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: black==22.3.0; extra == "dev" Handling check-manifest<1,>=0.42; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: check-manifest<1,>=0.42; extra == "dev" Handling flake8==3.8.1; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: flake8==3.8.1; extra == "dev" Handling isort==4.3.21; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: isort==4.3.21; extra == "dev" Handling mypy==0.910; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: mypy==0.910; extra == "dev" Handling sphinx<6,>=5.3.0; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: sphinx<6,>=5.3.0; extra == "dev" Handling sphinx_rtd_theme<1,>=0.4; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: sphinx_rtd_theme<1,>=0.4; extra == "dev" Handling sphinx-argparse==0.2.5; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: sphinx-argparse==0.2.5; extra == "dev" Handling types-aiofiles; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: types-aiofiles; extra == "dev" Handling types-mock; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: types-mock; extra == "dev" Handling types-requests; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: types-requests; extra == "dev" Handling parse; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: parse; extra == "dev" Handling pytest; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest; extra == "dev" Handling pytest-asyncio; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-asyncio; extra == "dev" Handling pytest-console-scripts; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-console-scripts; extra == "dev" Handling pytest-cov; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-cov; extra == "dev" Handling vcrpy; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "dev" Handling vcrpy; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "dev" Handling aiofiles; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiofiles; extra == "dev" Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "aiohttp" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "aiohttp" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "aiohttp" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "aiohttp" Handling requests<3,>=2.26; extra == "requests" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests<3,>=2.26; extra == "requests" Handling requests_toolbelt<2,>=1.0.0; extra == "requests" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests_toolbelt<2,>=1.0.0; extra == "requests" Handling httpx<1,>=0.23.1; extra == "httpx" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: httpx<1,>=0.23.1; extra == "httpx" Handling websockets; extra == "websockets" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: websockets; extra == "websockets" Handling botocore<2,>=1.21; extra == "botocore" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: botocore<2,>=1.21; extra == "botocore" + cat /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-buildrequires + rm -rfv gql-3.5.2.dist-info/ removed 'gql-3.5.2.dist-info/entry_points.txt' removed 'gql-3.5.2.dist-info/top_level.txt' removed 'gql-3.5.2.dist-info/METADATA' removed 'gql-3.5.2.dist-info/licenses/LICENSE' removed directory 'gql-3.5.2.dist-info/licenses' removed directory 'gql-3.5.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-gql-3.5.2-3.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 668.5 KiB/s | 24.1 KiB | 00m00s Copr repository 100% | 17.1 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 166.5 KiB/s | 3.8 KiB | 00m00s Copr repository 100% | 251.9 KiB/s | 15.6 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.18.1-1.fc43.noarch" is already installed. Package "python3-devel-3.13.3-3.fc43.x86_64" is already installed. Package "python3-aiofiles-24.1.0-4.fc43.noarch" is already installed. Package "python3-packaging-25.0-1.fc43.noarch" is already installed. Package "python3-parse-1.20.2-3.fc42.noarch" is already installed. Package "python3-pip-25.1.1-3.fc43.noarch" is already installed. Package "python3-pytest-8.3.5-2.fc43.noarch" is already installed. Package "python3-pytest-asyncio-1.0.0-1.fc43.noarch" is already installed. Package "python3-pytest-console-scripts-1.4.1-8.fc42.noarch" is already installed. Package "python3-pytest-cov-5.0.0-2.fc42.noarch" is already installed. Package "python3-setuptools-78.1.1-1.fc43.noarch" is already installed. Package "tox-4.26.0-1.fc43.noarch" is already installed. Package "python3-tox-current-env-0.0.16-1.fc43.noarch" is already installed. Package "python3-vcrpy-7.0.0-2.fc42.noarch" is already installed. Package "python3-websockets-14.1-2.fc42.x86_64" is already installed. Nothing to do. Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1744934400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.8MZhaa + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.2-build + cd gql-3.5.2 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/pyproject-wheeldir --output /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-buildrequires -t -x test Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 78.1.1) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running egg_info writing gql.egg-info/PKG-INFO writing dependency_links to gql.egg-info/dependency_links.txt writing entry points to gql.egg-info/entry_points.txt writing requirements to gql.egg-info/requires.txt writing top-level names to gql.egg-info/top_level.txt reading manifest file 'gql.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'dev_requirements.txt' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'gql-checker' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'gql.egg-info/SOURCES.txt' Handling tox-current-env >= 0.0.16 from tox itself Requirement satisfied: tox-current-env >= 0.0.16 (installed: tox-current-env 0.0.16) py313: OK (0.00 seconds) congratulations :) (0.06 seconds) Handling tox from tox --print-deps-only: py313 Requirement satisfied: tox (installed: tox 4.26.0) py313: OK (0.00 seconds) congratulations :) (0.06 seconds) running dist_info writing gql.egg-info/PKG-INFO writing dependency_links to gql.egg-info/dependency_links.txt writing entry points to gql.egg-info/entry_points.txt writing requirements to gql.egg-info/requires.txt writing top-level names to gql.egg-info/top_level.txt reading manifest file 'gql.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'dev_requirements.txt' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'gql-checker' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'gql.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/gql-3.5.2.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() Handling graphql-core<3.2.7,>=3.2 from hook generated metadata: Requires-Dist (gql) Requirement satisfied: graphql-core<3.2.7,>=3.2 (installed: graphql-core 3.2.4) Handling yarl<2.0,>=1.6 from hook generated metadata: Requires-Dist (gql) Requirement satisfied: yarl<2.0,>=1.6 (installed: yarl 1.18.3) Handling backoff<3.0,>=1.11.1 from hook generated metadata: Requires-Dist (gql) Requirement satisfied: backoff<3.0,>=1.11.1 (installed: backoff 2.2.1) Handling anyio<5,>=3.0 from hook generated metadata: Requires-Dist (gql) Requirement satisfied: anyio<5,>=3.0 (installed: anyio 4.8.0) Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "all" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "all" Handling requests<3,>=2.26; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests<3,>=2.26; extra == "all" Handling requests_toolbelt<2,>=1.0.0; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests_toolbelt<2,>=1.0.0; extra == "all" Handling httpx<1,>=0.23.1; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: httpx<1,>=0.23.1; extra == "all" Handling websockets; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: websockets; extra == "all" Handling botocore<2,>=1.21; extra == "all" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: botocore<2,>=1.21; extra == "all" Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "test" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "test" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "test" (installed: aiohttp 3.11.16) Handling requests<3,>=2.26; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: requests<3,>=2.26; extra == "test" (installed: requests 2.32.3) Handling requests_toolbelt<2,>=1.0.0; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: requests_toolbelt<2,>=1.0.0; extra == "test" (installed: requests_toolbelt 1.0.0) Handling httpx<1,>=0.23.1; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: httpx<1,>=0.23.1; extra == "test" (installed: httpx 0.28.1) Handling websockets; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: websockets; extra == "test" (installed: websockets 14.1) Handling botocore<2,>=1.21; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: botocore<2,>=1.21; extra == "test" (installed: botocore 1.38.23) Handling parse; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: parse; extra == "test" (installed: parse 1.20.2) Handling pytest; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: pytest; extra == "test" (installed: pytest 8.3.5) Handling pytest-asyncio; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: pytest-asyncio; extra == "test" (installed: pytest-asyncio 1.0.0) Handling pytest-console-scripts; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: pytest-console-scripts; extra == "test" (installed: pytest-console-scripts 1.4.1) Handling pytest-cov; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: pytest-cov; extra == "test" (installed: pytest-cov 5.0.0) Handling vcrpy; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: vcrpy; extra == "test" (installed: vcrpy 7.0.0) Handling vcrpy; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: vcrpy; extra == "test" (installed: vcrpy 7.0.0) Handling aiofiles; extra == "test" from hook generated metadata: Requires-Dist (gql) Requirement satisfied: aiofiles; extra == "test" (installed: aiofiles 24.1.0) Handling parse; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: parse; extra == "test-no-transport" Handling pytest; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest; extra == "test-no-transport" Handling pytest-asyncio; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-asyncio; extra == "test-no-transport" Handling pytest-console-scripts; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-console-scripts; extra == "test-no-transport" Handling pytest-cov; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-cov; extra == "test-no-transport" Handling vcrpy; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "test-no-transport" Handling vcrpy; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "test-no-transport" Handling aiofiles; extra == "test-no-transport" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiofiles; extra == "test-no-transport" Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "dev" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "dev" Handling requests<3,>=2.26; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests<3,>=2.26; extra == "dev" Handling requests_toolbelt<2,>=1.0.0; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests_toolbelt<2,>=1.0.0; extra == "dev" Handling httpx<1,>=0.23.1; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: httpx<1,>=0.23.1; extra == "dev" Handling websockets; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: websockets; extra == "dev" Handling botocore<2,>=1.21; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: botocore<2,>=1.21; extra == "dev" Handling black==22.3.0; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: black==22.3.0; extra == "dev" Handling check-manifest<1,>=0.42; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: check-manifest<1,>=0.42; extra == "dev" Handling flake8==3.8.1; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: flake8==3.8.1; extra == "dev" Handling isort==4.3.21; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: isort==4.3.21; extra == "dev" Handling mypy==0.910; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: mypy==0.910; extra == "dev" Handling sphinx<6,>=5.3.0; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: sphinx<6,>=5.3.0; extra == "dev" Handling sphinx_rtd_theme<1,>=0.4; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: sphinx_rtd_theme<1,>=0.4; extra == "dev" Handling sphinx-argparse==0.2.5; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: sphinx-argparse==0.2.5; extra == "dev" Handling types-aiofiles; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: types-aiofiles; extra == "dev" Handling types-mock; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: types-mock; extra == "dev" Handling types-requests; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: types-requests; extra == "dev" Handling parse; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: parse; extra == "dev" Handling pytest; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest; extra == "dev" Handling pytest-asyncio; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-asyncio; extra == "dev" Handling pytest-console-scripts; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-console-scripts; extra == "dev" Handling pytest-cov; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: pytest-cov; extra == "dev" Handling vcrpy; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "dev" Handling vcrpy; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: vcrpy; extra == "dev" Handling aiofiles; extra == "dev" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiofiles; extra == "dev" Handling aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "aiohttp" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.8.0; python_version <= "3.11" and extra == "aiohttp" Handling aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "aiohttp" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: aiohttp<4,>=3.9.0b0; python_version > "3.11" and extra == "aiohttp" Handling requests<3,>=2.26; extra == "requests" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests<3,>=2.26; extra == "requests" Handling requests_toolbelt<2,>=1.0.0; extra == "requests" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: requests_toolbelt<2,>=1.0.0; extra == "requests" Handling httpx<1,>=0.23.1; extra == "httpx" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: httpx<1,>=0.23.1; extra == "httpx" Handling websockets; extra == "websockets" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: websockets; extra == "websockets" Handling botocore<2,>=1.21; extra == "botocore" from hook generated metadata: Requires-Dist (gql) Ignoring alien requirement: botocore<2,>=1.21; extra == "botocore" + cat /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-buildrequires + rm -rfv gql-3.5.2.dist-info/ removed 'gql-3.5.2.dist-info/entry_points.txt' removed 'gql-3.5.2.dist-info/top_level.txt' removed 'gql-3.5.2.dist-info/METADATA' removed 'gql-3.5.2.dist-info/licenses/LICENSE' removed directory 'gql-3.5.2.dist-info/licenses' removed directory 'gql-3.5.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pR5hQm + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gql-3.5.2 + mkdir -p /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/pyproject-wheeldir Processing /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running dist_info creating /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir/pip-modern-metadata-qo96k7cy/gql.egg-info writing /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir/pip-modern-metadata-qo96k7cy/gql.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir/pip-modern-metadata-qo96k7cy/gql.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir/pip-modern-metadata-qo96k7cy/gql.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir/pip-modern-metadata-qo96k7cy/gql.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir/pip-modern-metadata-qo96k7cy/gql.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir/pip-modern-metadata-qo96k7cy/gql.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir/pip-modern-metadata-qo96k7cy/gql.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'dev_requirements.txt' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'gql-checker' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir/pip-modern-metadata-qo96k7cy/gql.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir/pip-modern-metadata-qo96k7cy/gql-3.5.2.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: gql Building wheel for gql (pyproject.toml): started Running command Building wheel for gql (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running bdist_wheel The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/gql copying gql/__init__.py -> build/lib/gql copying gql/__version__.py -> build/lib/gql copying gql/cli.py -> build/lib/gql copying gql/client.py -> build/lib/gql copying gql/dsl.py -> build/lib/gql copying gql/gql.py -> build/lib/gql copying gql/graphql_request.py -> build/lib/gql copying gql/utils.py -> build/lib/gql creating build/lib/gql/transport copying gql/transport/__init__.py -> build/lib/gql/transport copying gql/transport/aiohttp.py -> build/lib/gql/transport copying gql/transport/appsync_auth.py -> build/lib/gql/transport copying gql/transport/appsync_websockets.py -> build/lib/gql/transport copying gql/transport/async_transport.py -> build/lib/gql/transport copying gql/transport/exceptions.py -> build/lib/gql/transport copying gql/transport/httpx.py -> build/lib/gql/transport copying gql/transport/local_schema.py -> build/lib/gql/transport copying gql/transport/phoenix_channel_websockets.py -> build/lib/gql/transport copying gql/transport/requests.py -> build/lib/gql/transport copying gql/transport/transport.py -> build/lib/gql/transport copying gql/transport/websockets.py -> build/lib/gql/transport copying gql/transport/websockets_base.py -> build/lib/gql/transport creating build/lib/gql/utilities copying gql/utilities/__init__.py -> build/lib/gql/utilities copying gql/utilities/build_client_schema.py -> build/lib/gql/utilities copying gql/utilities/get_introspection_query_ast.py -> build/lib/gql/utilities copying gql/utilities/node_tree.py -> build/lib/gql/utilities copying gql/utilities/parse_result.py -> build/lib/gql/utilities copying gql/utilities/serialize_variable_values.py -> build/lib/gql/utilities copying gql/utilities/update_schema_enum.py -> build/lib/gql/utilities copying gql/utilities/update_schema_scalars.py -> build/lib/gql/utilities running egg_info writing gql.egg-info/PKG-INFO writing dependency_links to gql.egg-info/dependency_links.txt writing entry points to gql.egg-info/entry_points.txt writing requirements to gql.egg-info/requires.txt writing top-level names to gql.egg-info/top_level.txt reading manifest file 'gql.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'dev_requirements.txt' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'gql-checker' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'gql.egg-info/SOURCES.txt' copying gql/py.typed -> build/lib/gql installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/gql copying build/lib/gql/__init__.py -> build/bdist.linux-x86_64/wheel/./gql copying build/lib/gql/__version__.py -> build/bdist.linux-x86_64/wheel/./gql copying build/lib/gql/cli.py -> build/bdist.linux-x86_64/wheel/./gql copying build/lib/gql/client.py -> build/bdist.linux-x86_64/wheel/./gql copying build/lib/gql/dsl.py -> build/bdist.linux-x86_64/wheel/./gql copying build/lib/gql/gql.py -> build/bdist.linux-x86_64/wheel/./gql copying build/lib/gql/graphql_request.py -> build/bdist.linux-x86_64/wheel/./gql copying build/lib/gql/utils.py -> build/bdist.linux-x86_64/wheel/./gql creating build/bdist.linux-x86_64/wheel/gql/transport copying build/lib/gql/transport/__init__.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/aiohttp.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/appsync_auth.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/appsync_websockets.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/async_transport.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/exceptions.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/httpx.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/local_schema.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/phoenix_channel_websockets.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/requests.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/transport.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/websockets.py -> build/bdist.linux-x86_64/wheel/./gql/transport copying build/lib/gql/transport/websockets_base.py -> build/bdist.linux-x86_64/wheel/./gql/transport creating build/bdist.linux-x86_64/wheel/gql/utilities copying build/lib/gql/utilities/__init__.py -> build/bdist.linux-x86_64/wheel/./gql/utilities copying build/lib/gql/utilities/build_client_schema.py -> build/bdist.linux-x86_64/wheel/./gql/utilities copying build/lib/gql/utilities/get_introspection_query_ast.py -> build/bdist.linux-x86_64/wheel/./gql/utilities copying build/lib/gql/utilities/node_tree.py -> build/bdist.linux-x86_64/wheel/./gql/utilities copying build/lib/gql/utilities/parse_result.py -> build/bdist.linux-x86_64/wheel/./gql/utilities copying build/lib/gql/utilities/serialize_variable_values.py -> build/bdist.linux-x86_64/wheel/./gql/utilities copying build/lib/gql/utilities/update_schema_enum.py -> build/bdist.linux-x86_64/wheel/./gql/utilities copying build/lib/gql/utilities/update_schema_scalars.py -> build/bdist.linux-x86_64/wheel/./gql/utilities copying build/lib/gql/py.typed -> build/bdist.linux-x86_64/wheel/./gql running install_egg_info Copying gql.egg-info to build/bdist.linux-x86_64/wheel/./gql-3.5.2-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/gql-3.5.2.dist-info/WHEEL creating '/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir/pip-wheel-lv2p4xpt/.tmp-dvz79ucl/gql-3.5.2-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'gql/__init__.py' adding 'gql/__version__.py' adding 'gql/cli.py' adding 'gql/client.py' adding 'gql/dsl.py' adding 'gql/gql.py' adding 'gql/graphql_request.py' adding 'gql/py.typed' adding 'gql/utils.py' adding 'gql/transport/__init__.py' adding 'gql/transport/aiohttp.py' adding 'gql/transport/appsync_auth.py' adding 'gql/transport/appsync_websockets.py' adding 'gql/transport/async_transport.py' adding 'gql/transport/exceptions.py' adding 'gql/transport/httpx.py' adding 'gql/transport/local_schema.py' adding 'gql/transport/phoenix_channel_websockets.py' adding 'gql/transport/requests.py' adding 'gql/transport/transport.py' adding 'gql/transport/websockets.py' adding 'gql/transport/websockets_base.py' adding 'gql/utilities/__init__.py' adding 'gql/utilities/build_client_schema.py' adding 'gql/utilities/get_introspection_query_ast.py' adding 'gql/utilities/node_tree.py' adding 'gql/utilities/parse_result.py' adding 'gql/utilities/serialize_variable_values.py' adding 'gql/utilities/update_schema_enum.py' adding 'gql/utilities/update_schema_scalars.py' adding 'gql-3.5.2.dist-info/licenses/LICENSE' adding 'gql-3.5.2.dist-info/METADATA' adding 'gql-3.5.2.dist-info/WHEEL' adding 'gql-3.5.2.dist-info/entry_points.txt' adding 'gql-3.5.2.dist-info/top_level.txt' adding 'gql-3.5.2.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for gql (pyproject.toml): finished with status 'done' Created wheel for gql: filename=gql-3.5.2-py2.py3-none-any.whl size=74196 sha256=9bf9da19a0b4eda7de765f90505bb340ccf5aad3abfbb43eb69b7996ed6cf208 Stored in directory: /builddir/.cache/pip/wheels/98/9f/01/bf20caf9010b6614dbcb4777a814c54a339011d7f218cc4653 Successfully built gql + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.z0MNaR + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.2-build + '[' /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-gql-3.5.2-build + mkdir /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gql-3.5.2 ++ ls /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/pyproject-wheeldir/gql-3.5.2-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=gql==3.5.2 + '[' -z gql==3.5.2 ']' + TMPDIR=/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/pyproject-wheeldir gql==3.5.2 Using pip 25.1.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/pyproject-wheeldir Processing ./pyproject-wheeldir/gql-3.5.2-py2.py3-none-any.whl Installing collected packages: gql Creating /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/bin/gql-cli to 755 Successfully installed gql-3.5.2 + '[' -d /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/bin/gql-cli /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/bin/gql-cli: updating + rm -rfv /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/gql-3.5.2.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql-3.5.2.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT --record /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql-3.5.2.dist-info/RECORD --output /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-record + rm -fv /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql-3.5.2.dist-info/RECORD removed '/builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql-3.5.2.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql-3.5.2.dist-info/REQUESTED removed '/builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql-3.5.2.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-modules --buildroot /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /builddir/build/BUILD/python-gql-3.5.2-build/python-gql-3.5.2-3.fc43.x86_64-pyproject-record --prefix /usr gql + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/async_transport.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/exceptions.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/appsync_auth.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/appsync_websockets.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/local_schema.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/aiohttp.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/transport.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/httpx.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/requests.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/phoenix_channel_websockets.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/httpx.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/aiohttp.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/websockets.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/websockets_base.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/appsync_websockets.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/utilities/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/utilities/__pycache__/build_client_schema.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/utilities/__pycache__/get_introspection_query_ast.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/utilities/__pycache__/node_tree.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/requests.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/websockets.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/utilities/__pycache__/serialize_variable_values.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/utilities/__pycache__/update_schema_enum.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/transport/__pycache__/websockets_base.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/utilities/__pycache__/update_schema_scalars.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/utilities/__pycache__/node_tree.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/__version__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/utilities/__pycache__/serialize_variable_values.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/utilities/__pycache__/parse_result.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/cli.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/gql.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/graphql_request.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/utilities/__pycache__/parse_result.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/utils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/cli.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/graphql_request.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/client.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/dsl.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/dsl.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages/gql/__pycache__/client.cpython-313.opt-1.pyc: replacing with normalized version Scanned 14 directories and 95 files, processed 42 inodes, 42 modified (26 replaced + 16 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0CEwEp + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gql-3.5.2 + rm tests/starwars/test_introspection.py + rm tests/starwars/test_dsl.py + rm tests/test_async_client_validation.py + rm tests/test_transport.py + rm tests/test_transport_batch.py + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-gql-3.5.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + /usr/bin/pytest /usr/lib/python3.13/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================= test session starts ============================== platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 rootdir: /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2 configfile: setup.cfg plugins: anyio-4.8.0, asyncio-1.0.0, console-scripts-1.4.1, cov-5.0.0 asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collected 487 items tests/custom_scalars/test_datetime.py ...... [ 1%] tests/custom_scalars/test_enum_colors.py ............ [ 3%] tests/custom_scalars/test_json.py ...... [ 4%] tests/custom_scalars/test_money.py ..........EEEEEEEE....EE...E [ 10%] tests/custom_scalars/test_parse_results.py . [ 10%] tests/nested_input/test_nested_input.py ... [ 11%] tests/regressions/issue_447_dsl_missing_directives/test_dsl_directives.py . [ 11%] [ 11%] tests/starwars/test_parse_results.py ......... [ 13%] tests/starwars/test_query.py ................. [ 17%] tests/starwars/test_subscription.py ... [ 17%] tests/starwars/test_validation.py ...................................... [ 25%] ............. [ 28%] tests/test_aiohttp.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 36%] tests/test_aiohttp_online.py sss [ 37%] tests/test_appsync_auth.py ......... [ 39%] tests/test_appsync_http.py E [ 39%] tests/test_appsync_websockets.py EEEEEEEEEE [ 41%] tests/test_cli.py .................................. [ 48%] tests/test_client.py ....sss... [ 50%] tests/test_graphql_request.py . [ 50%] tests/test_graphqlws_exceptions.py EEEEEEEEEEEEEEEEEE [ 54%] tests/test_graphqlws_subscription.py EEEEEEEEEEEEE..EEE [ 58%] tests/test_http_async_sync.py ssssssss [ 59%] tests/test_httpx.py EEEEEEEEEEEEEEEEEEE [ 63%] tests/test_httpx_async.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 71%] tests/test_httpx_online.py sss [ 72%] tests/test_phoenix_channel_exceptions.py EEEEEEEEEEEEEEEEEEEEEEEEEEE [ 77%] tests/test_phoenix_channel_query.py EE [ 78%] tests/test_phoenix_channel_subscription.py EEEE [ 79%] tests/test_requests.py EEEEEEEEEEEEEEEEEEE [ 82%] tests/test_requests_batch.py EEEEEEEEEEEEEEEEEEEsss [ 87%] tests/test_websocket_exceptions.py EEEEEEEEEEEEEEEEEEEEE [ 91%] tests/test_websocket_online.py ssssss [ 93%] tests/test_websocket_query.py EEEEEEEEEEEEE.EEEE [ 96%] tests/test_websocket_subscription.py EEEEEEEEEEE....E [100%] ==================================== ERRORS ==================================== ________ ERROR at setup of test_custom_scalar_in_output_with_transport _________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py, line 493 @pytest.mark.asyncio async def test_custom_scalar_in_output_with_transport(event_loop, aiohttp_server): transport = await make_money_transport(aiohttp_server) async with Client( transport=transport, ) as session: query = gql("{balance}") result = await session.execute(query) print(result) assert result["balance"] == serialize_money(root_value["balance"]) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py:493 ______ ERROR at setup of test_custom_scalar_in_input_query_with_transport ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py, line 511 @pytest.mark.asyncio async def test_custom_scalar_in_input_query_with_transport(event_loop, aiohttp_server): transport = await make_money_transport(aiohttp_server) async with Client( transport=transport, ) as session: query = gql('{toEuros(money: {amount: 10, currency: "DM"})}') result = await session.execute(query) assert result["toEuros"] == 5 query = gql('{toEuros(money: {amount: 10, currency: "EUR"})}') result = await session.execute(query) assert result["toEuros"] == 10 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py:511 _ ERROR at setup of test_custom_scalar_in_input_variable_values_with_transport _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py, line 533 @pytest.mark.asyncio async def test_custom_scalar_in_input_variable_values_with_transport( event_loop, aiohttp_server ): transport = await make_money_transport(aiohttp_server) async with Client( transport=transport, ) as session: query = gql("query myquery($money: Money) {toEuros(money: $money)}") money_value = {"amount": 10, "currency": "DM"} # money_value = Money(10, "DM") variable_values = {"money": money_value} result = await session.execute(query, variable_values=variable_values) print(f"result = {result!r}") assert result["toEuros"] == 5 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py:533 _ ERROR at setup of test_custom_scalar_in_input_variable_values_split_with_transport _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py, line 557 @pytest.mark.asyncio async def test_custom_scalar_in_input_variable_values_split_with_transport( event_loop, aiohttp_server ): transport = await make_money_transport(aiohttp_server) async with Client( transport=transport, ) as session: query = gql( """ query myquery($amount: Float, $currency: String) { toEuros(money: {amount: $amount, currency: $currency}) }""" ) variable_values = {"amount": 10, "currency": "DM"} result = await session.execute(query, variable_values=variable_values) print(f"result = {result!r}") assert result["toEuros"] == 5 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py:557 ___________ ERROR at setup of test_custom_scalar_serialize_variables ___________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py, line 583 @pytest.mark.asyncio async def test_custom_scalar_serialize_variables(event_loop, aiohttp_server): transport = await make_money_transport(aiohttp_server) async with Client( schema=schema, transport=transport, ) as session: query = gql("query myquery($money: Money) {toEuros(money: $money)}") variable_values = {"money": Money(10, "DM")} result = await session.execute( query, variable_values=variable_values, serialize_variables=True ) print(f"result = {result!r}") assert result["toEuros"] == 5 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py:583 ______ ERROR at setup of test_custom_scalar_serialize_variables_no_schema ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py, line 605 @pytest.mark.asyncio async def test_custom_scalar_serialize_variables_no_schema(event_loop, aiohttp_server): transport = await make_money_transport(aiohttp_server) async with Client( transport=transport, ) as session: query = gql("query myquery($money: Money) {toEuros(money: $money)}") variable_values = {"money": Money(10, "DM")} with pytest.raises(TransportQueryError): await session.execute( query, variable_values=variable_values, serialize_variables=True ) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py:605 _ ERROR at setup of test_custom_scalar_serialize_variables_schema_from_introspection _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py, line 624 @pytest.mark.asyncio async def test_custom_scalar_serialize_variables_schema_from_introspection( event_loop, aiohttp_server ): transport = await make_money_transport(aiohttp_server) async with Client(transport=transport, fetch_schema_from_transport=True) as session: schema = session.client.schema # Updating the Money Scalar in the schema # We cannot replace it because some other objects keep a reference # to the existing Scalar # cannot do: schema.type_map["Money"] = MoneyScalar money_scalar = schema.type_map["Money"] money_scalar.serialize = MoneyScalar.serialize money_scalar.parse_value = MoneyScalar.parse_value money_scalar.parse_literal = MoneyScalar.parse_literal query = gql("query myquery($money: Money) {toEuros(money: $money)}") variable_values = {"money": Money(10, "DM")} result = await session.execute( query, variable_values=variable_values, serialize_variables=True ) print(f"result = {result!r}") assert result["toEuros"] == 5 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py:624 _________________ ERROR at setup of test_update_schema_scalars _________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py, line 658 @pytest.mark.asyncio async def test_update_schema_scalars(event_loop, aiohttp_server): transport = await make_money_transport(aiohttp_server) async with Client(transport=transport, fetch_schema_from_transport=True) as session: # Update the schema MoneyScalar default implementation from # introspection with our provided conversion methods # update_schema_scalars(session.client.schema, [MoneyScalar]) update_schema_scalar(session.client.schema, "Money", MoneyScalar) query = gql("query myquery($money: Money) {toEuros(money: $money)}") variable_values = {"money": Money(10, "DM")} result = await session.execute( query, variable_values=variable_values, serialize_variables=True ) print(f"result = {result!r}") assert result["toEuros"] == 5 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py:658 ___ ERROR at setup of test_custom_scalar_serialize_variables_sync_transport ____ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py, line 735 @pytest.mark.asyncio @pytest.mark.requests async def test_custom_scalar_serialize_variables_sync_transport( event_loop, aiohttp_server, run_sync_test ): server, transport = await make_sync_money_transport(aiohttp_server) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py:735 __ ERROR at setup of test_custom_scalar_serialize_variables_sync_transport_2 ___ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py, line 760 @pytest.mark.asyncio @pytest.mark.requests async def test_custom_scalar_serialize_variables_sync_transport_2( event_loop, aiohttp_server, run_sync_test ): server, transport = await make_sync_money_transport(aiohttp_server) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py:760 _________________ ERROR at setup of test_gql_cli_print_schema __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py, line 820 @pytest.mark.asyncio async def test_gql_cli_print_schema(event_loop, aiohttp_server, capsys): from gql.cli import get_parser, main server = await make_money_backend(aiohttp_server) url = str(server.make_url("/")) parser = get_parser(with_examples=True) args = parser.parse_args([url, "--print-schema"]) exit_code = await main(args) assert exit_code == 0 # Check that the result has been printed on stdout captured = capsys.readouterr() captured_out = str(captured.out).strip() print(captured_out) assert ( """ type Subscription { spend(money: Money): Money } """.strip() in captured_out ) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/custom_scalars/test_money.py:820 _____________________ ERROR at setup of test_aiohttp_query _____________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 43 @pytest.mark.asyncio async def test_aiohttp_query(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", headers={"dummy": "test1234"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) async with Client(transport=transport) as session: query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" # Checking response headers are saved in the transport assert hasattr(transport, "response_headers") assert isinstance(transport.response_headers, Mapping) assert transport.response_headers["dummy"] == "test1234" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:43 __________ ERROR at setup of test_aiohttp_ignore_backend_content_type __________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 82 @pytest.mark.asyncio async def test_aiohttp_ignore_backend_content_type(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="text/plain") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) async with Client(transport=transport) as session: query = gql(query1_str) result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:82 ____________________ ERROR at setup of test_aiohttp_cookies ____________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 111 @pytest.mark.asyncio async def test_aiohttp_cookies(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): assert "COOKIE" in request.headers assert "cookie1=val1" == request.headers["COOKIE"] return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, cookies={"cookie1": "val1"}) async with Client(transport=transport) as session: query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:111 ________________ ERROR at setup of test_aiohttp_error_code_401 _________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 144 @pytest.mark.asyncio async def test_aiohttp_error_code_401(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): # Will generate http error code 401 return web.Response( text='{"error":"Unauthorized","message":"401 Client Error: Unauthorized"}', content_type="application/json", status=401, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportServerError) as exc_info: await session.execute(query) assert "401, message='Unauthorized'" in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:144 ________________ ERROR at setup of test_aiohttp_error_code_429 _________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 175 @pytest.mark.asyncio async def test_aiohttp_error_code_429(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): # Will generate http error code 429 return web.Response( text=""" Too Many Requests

Too Many Requests

I only allow 50 requests per hour to this Web site per logged in user. Try again soon.

""", content_type="text/html", status=429, headers={"Retry-After": "3600"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportServerError) as exc_info: await session.execute(query) assert "429, message='Too Many Requests'" in str(exc_info.value) # Checking response headers are saved in the transport assert hasattr(transport, "response_headers") assert isinstance(transport.response_headers, Mapping) assert transport.response_headers["Retry-After"] == "3600" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:175 ________________ ERROR at setup of test_aiohttp_error_code_500 _________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 222 @pytest.mark.asyncio async def test_aiohttp_error_code_500(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): # Will generate http error code 500 raise Exception("Server error") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportServerError) as exc_info: await session.execute(query) assert "500, message='Internal Server Error'" in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:222 _ ERROR at setup of test_aiohttp_error_code[{"errors": ["Error 1", "Error 2"]}] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 256 @pytest.mark.asyncio @pytest.mark.parametrize("query_error", transport_query_error_responses) async def test_aiohttp_error_code(event_loop, aiohttp_server, query_error): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query_error, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportQueryError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:256 _ ERROR at setup of test_aiohttp_error_code[{"errors": {"error_1": "Something"}}] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 256 @pytest.mark.asyncio @pytest.mark.parametrize("query_error", transport_query_error_responses) async def test_aiohttp_error_code(event_loop, aiohttp_server, query_error): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query_error, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportQueryError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:256 ___________ ERROR at setup of test_aiohttp_error_code[{"errors": 5}] ___________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 256 @pytest.mark.asyncio @pytest.mark.parametrize("query_error", transport_query_error_responses) async def test_aiohttp_error_code(event_loop, aiohttp_server, query_error): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query_error, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportQueryError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:256 ___________ ERROR at setup of test_aiohttp_invalid_protocol[param0] ____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 311 @pytest.mark.asyncio @pytest.mark.parametrize("param", invalid_protocol_responses) async def test_aiohttp_invalid_protocol(event_loop, aiohttp_server, param): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport response = param["response"] async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportProtocolError) as exc_info: await session.execute(query) assert param["expected_exception"] in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:311 ___________ ERROR at setup of test_aiohttp_invalid_protocol[param1] ____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 311 @pytest.mark.asyncio @pytest.mark.parametrize("param", invalid_protocol_responses) async def test_aiohttp_invalid_protocol(event_loop, aiohttp_server, param): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport response = param["response"] async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportProtocolError) as exc_info: await session.execute(query) assert param["expected_exception"] in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:311 ___________ ERROR at setup of test_aiohttp_invalid_protocol[param2] ____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 311 @pytest.mark.asyncio @pytest.mark.parametrize("param", invalid_protocol_responses) async def test_aiohttp_invalid_protocol(event_loop, aiohttp_server, param): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport response = param["response"] async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportProtocolError) as exc_info: await session.execute(query) assert param["expected_exception"] in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:311 ___________ ERROR at setup of test_aiohttp_invalid_protocol[param3] ____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 311 @pytest.mark.asyncio @pytest.mark.parametrize("param", invalid_protocol_responses) async def test_aiohttp_invalid_protocol(event_loop, aiohttp_server, param): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport response = param["response"] async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportProtocolError) as exc_info: await session.execute(query) assert param["expected_exception"] in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:311 ____________ ERROR at setup of test_aiohttp_subscribe_not_supported ____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 340 @pytest.mark.asyncio async def test_aiohttp_subscribe_not_supported(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text="does not matter", content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(NotImplementedError): async for result in session.subscribe(query): pass E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:340 _____________ ERROR at setup of test_aiohttp_cannot_connect_twice ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 365 @pytest.mark.asyncio async def test_aiohttp_cannot_connect_twice(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) async with Client(transport=transport) as session: with pytest.raises(TransportAlreadyConnected): await session.transport.connect() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:365 ________ ERROR at setup of test_aiohttp_cannot_execute_if_not_connected ________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 387 @pytest.mark.asyncio async def test_aiohttp_cannot_execute_if_not_connected(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) query = gql(query1_str) with pytest.raises(TransportClosed): await transport.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:387 __________________ ERROR at setup of test_aiohttp_extra_args ___________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 409 @pytest.mark.asyncio async def test_aiohttp_extra_args(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") # passing extra arguments to aiohttp.ClientSession from aiohttp import DummyCookieJar jar = DummyCookieJar() transport = AIOHTTPTransport( url=url, timeout=10, client_session_args={"version": "1.1", "cookie_jar": jar} ) async with Client(transport=transport) as session: query = gql(query1_str) # Passing extra arguments to the post method of aiohttp result = await session.execute(query, extra_args={"allow_redirects": False}) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:409 _____________ ERROR at setup of test_aiohttp_query_variable_values _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 456 @pytest.mark.asyncio async def test_aiohttp_query_variable_values(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query2_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) async with Client(transport=transport) as session: params = {"code": "EU"} query = gql(query2_str) # Execute query asynchronously result = await session.execute( query, variable_values=params, operation_name="getEurope" ) continent = result["continent"] assert continent["name"] == "Europe" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:456 ______ ERROR at setup of test_aiohttp_query_variable_values_fix_issue_292 ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 488 @pytest.mark.asyncio async def test_aiohttp_query_variable_values_fix_issue_292(event_loop, aiohttp_server): """Allow to specify variable_values without keyword. See https://github.com/graphql-python/gql/issues/292""" from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query2_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) async with Client(transport=transport) as session: params = {"code": "EU"} query = gql(query2_str) # Execute query asynchronously result = await session.execute(query, params, operation_name="getEurope") continent = result["continent"] assert continent["name"] == "Europe" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:488 ___________ ERROR at setup of test_aiohttp_execute_running_in_thread ___________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 522 @pytest.mark.asyncio async def test_aiohttp_execute_running_in_thread( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:522 __________ ERROR at setup of test_aiohttp_subscribe_running_in_thread __________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 550 @pytest.mark.asyncio async def test_aiohttp_subscribe_running_in_thread( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:550 __________________ ERROR at setup of test_aiohttp_file_upload __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 638 @pytest.mark.asyncio async def test_aiohttp_file_upload(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport app = web.Application() app.router.add_route("POST", "/", single_upload_handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) with TemporaryFile(file_1_content) as test_file: async with Client(transport=transport) as session: query = gql(file_upload_mutation_1) file_path = test_file.filename with open(file_path, "rb") as f: params = {"file": f, "other_var": 42} # Execute query asynchronously result = await session.execute( query, variable_values=params, upload_files=True ) success = result["success"] assert success E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:638 _________ ERROR at setup of test_aiohttp_file_upload_with_content_type _________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 703 @pytest.mark.asyncio async def test_aiohttp_file_upload_with_content_type(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport app = web.Application() app.router.add_route("POST", "/", single_upload_handler_with_content_type) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) with TemporaryFile(file_1_content) as test_file: async with Client(transport=transport) as session: query = gql(file_upload_mutation_1) file_path = test_file.filename with open(file_path, "rb") as f: # Setting the content_type f.content_type = "application/pdf" params = {"file": f, "other_var": 42} # Execute query asynchronously result = await session.execute( query, variable_values=params, upload_files=True ) success = result["success"] assert success E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:703 __________ ERROR at setup of test_aiohttp_file_upload_without_session __________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 741 @pytest.mark.asyncio async def test_aiohttp_file_upload_without_session( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport app = web.Application() app.router.add_route("POST", "/", single_upload_handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:741 ______________ ERROR at setup of test_aiohttp_binary_file_upload _______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 811 @pytest.mark.asyncio async def test_aiohttp_binary_file_upload(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport app = web.Application() app.router.add_route("POST", "/", binary_upload_handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) with TemporaryFile(binary_file_content) as test_file: async with Client(transport=transport) as session: query = gql(file_upload_mutation_1) file_path = test_file.filename with open(file_path, "rb") as f: params = {"file": f, "other_var": 42} # Execute query asynchronously result = await session.execute( query, variable_values=params, upload_files=True ) success = result["success"] assert success E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:811 _____________ ERROR at setup of test_aiohttp_stream_reader_upload ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 846 @pytest.mark.asyncio async def test_aiohttp_stream_reader_upload(event_loop, aiohttp_server): from aiohttp import web, ClientSession from gql.transport.aiohttp import AIOHTTPTransport async def binary_data_handler(request): return web.Response( body=binary_file_content, content_type="binary/octet-stream" ) app = web.Application() app.router.add_route("POST", "/", binary_upload_handler) app.router.add_route("GET", "/binary_data", binary_data_handler) server = await aiohttp_server(app) url = server.make_url("/") binary_data_url = server.make_url("/binary_data") transport = AIOHTTPTransport(url=url, timeout=10) async with Client(transport=transport) as session: query = gql(file_upload_mutation_1) async with ClientSession() as client: async with client.get(binary_data_url) as resp: params = {"file": resp.content, "other_var": 42} # Execute query asynchronously result = await session.execute( query, variable_values=params, upload_files=True ) success = result["success"] assert success E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:846 ____________ ERROR at setup of test_aiohttp_async_generator_upload _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 883 @pytest.mark.asyncio async def test_aiohttp_async_generator_upload(event_loop, aiohttp_server): import aiofiles from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport app = web.Application() app.router.add_route("POST", "/", binary_upload_handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) with TemporaryFile(binary_file_content) as test_file: async with Client(transport=transport) as session: query = gql(file_upload_mutation_1) file_path = test_file.filename async def file_sender(file_name): async with aiofiles.open(file_name, "rb") as f: chunk = await f.read(64 * 1024) while chunk: yield chunk chunk = await f.read(64 * 1024) params = {"file": file_sender(file_path), "other_var": 42} # Execute query asynchronously result = await session.execute( query, variable_values=params, upload_files=True ) success = result["success"] assert success E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:883 _____________ ERROR at setup of test_aiohttp_file_upload_two_files _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 946 @pytest.mark.asyncio async def test_aiohttp_file_upload_two_files(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_2_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_2_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3.name == "1" field_3_text = await field_3.text() assert field_3_text == file_2_content field_4 = await reader.next() assert field_4 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) with TemporaryFile(file_1_content) as test_file_1: with TemporaryFile(file_2_content) as test_file_2: async with Client(transport=transport) as session: query = gql(file_upload_mutation_2) file_path_1 = test_file_1.filename file_path_2 = test_file_2.filename f1 = open(file_path_1, "rb") f2 = open(file_path_2, "rb") params = { "file1": f1, "file2": f2, } result = await session.execute( query, variable_values=params, upload_files=True ) f1.close() f2.close() success = result["success"] assert success E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:946 _________ ERROR at setup of test_aiohttp_file_upload_list_of_two_files _________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1037 @pytest.mark.asyncio async def test_aiohttp_file_upload_list_of_two_files(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_3_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_3_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3.name == "1" field_3_text = await field_3.text() assert field_3_text == file_2_content field_4 = await reader.next() assert field_4 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) with TemporaryFile(file_1_content) as test_file_1: with TemporaryFile(file_2_content) as test_file_2: async with Client(transport=transport) as session: query = gql(file_upload_mutation_3) file_path_1 = test_file_1.filename file_path_2 = test_file_2.filename f1 = open(file_path_1, "rb") f2 = open(file_path_2, "rb") params = {"files": [f1, f2]} # Execute query asynchronously result = await session.execute( query, variable_values=params, upload_files=True ) f1.close() f2.close() success = result["success"] assert success E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1037 ___________________ ERROR at setup of test_aiohttp_using_cli ___________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1109 @pytest.mark.asyncio async def test_aiohttp_using_cli(event_loop, aiohttp_server, monkeypatch, capsys): from aiohttp import web async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) parser = get_parser(with_examples=True) args = parser.parse_args([url, "--verbose"]) # Monkeypatching sys.stdin to simulate getting the query # via the standard input monkeypatch.setattr("sys.stdin", io.StringIO(query1_str)) exit_code = await main(args) assert exit_code == 0 # Check that the result has been printed on stdout captured = capsys.readouterr() captured_out = str(captured.out).strip() expected_answer = json.loads(query1_server_answer_data) print(f"Captured: {captured_out}") received_answer = json.loads(captured_out) assert received_answer == expected_answer E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1109 ___________ ERROR at setup of test_aiohttp_using_cli_ep[subprocess] ____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1144 @pytest.mark.asyncio @pytest.mark.script_launch_mode("subprocess") async def test_aiohttp_using_cli_ep( event_loop, aiohttp_server, monkeypatch, script_runner, run_sync_test ): from aiohttp import web async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1144 ____________ ERROR at setup of test_aiohttp_using_cli_invalid_param ____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1182 @pytest.mark.asyncio async def test_aiohttp_using_cli_invalid_param( event_loop, aiohttp_server, monkeypatch, capsys ): from aiohttp import web async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) parser = get_parser(with_examples=True) args = parser.parse_args([url, "--variables", "invalid_param"]) # Monkeypatching sys.stdin to simulate getting the query # via the standard input monkeypatch.setattr("sys.stdin", io.StringIO(query1_str)) # Check that the exit_code is an error exit_code = await main(args) assert exit_code == 1 # Check that the error has been printed on stdout captured = capsys.readouterr() captured_err = str(captured.err).strip() print(f"Captured: {captured_err}") expected_error = "Error: Invalid variable: invalid_param" assert expected_error in captured_err E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1182 ____________ ERROR at setup of test_aiohttp_using_cli_invalid_query ____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1218 @pytest.mark.asyncio async def test_aiohttp_using_cli_invalid_query( event_loop, aiohttp_server, monkeypatch, capsys ): from aiohttp import web async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) parser = get_parser(with_examples=True) args = parser.parse_args([url]) # Send invalid query on standard input monkeypatch.setattr("sys.stdin", io.StringIO("BLAHBLAH")) exit_code = await main(args) assert exit_code == 1 # Check that the error has been printed on stdout captured = capsys.readouterr() captured_err = str(captured.err).strip() print(f"Captured: {captured_err}") expected_error = "Syntax Error: Unexpected Name 'BLAHBLAH'" assert expected_error in captured_err E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1218 _____________ ERROR at setup of test_aiohttp_query_with_extensions _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1258 @pytest.mark.asyncio async def test_aiohttp_query_with_extensions(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response( text=query1_server_answer_with_extensions, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) async with Client(transport=transport) as session: query = gql(query1_str) execution_result = await session.execute(query, get_execution_result=True) assert execution_result.extensions["key1"] == "val1" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1258 ________________ ERROR at setup of test_aiohttp_query_https[0] _________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1285 @pytest.mark.asyncio @pytest.mark.parametrize("ssl_close_timeout", [0, 10]) async def test_aiohttp_query_https(event_loop, ssl_aiohttp_server, ssl_close_timeout): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await ssl_aiohttp_server(app) url = server.make_url("/") assert str(url).startswith("https://") transport = AIOHTTPTransport( url=url, timeout=10, ssl_close_timeout=ssl_close_timeout ) async with Client(transport=transport) as session: query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1285 ________________ ERROR at setup of test_aiohttp_query_https[10] ________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1285 @pytest.mark.asyncio @pytest.mark.parametrize("ssl_close_timeout", [0, 10]) async def test_aiohttp_query_https(event_loop, ssl_aiohttp_server, ssl_close_timeout): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await ssl_aiohttp_server(app) url = server.make_url("/") assert str(url).startswith("https://") transport = AIOHTTPTransport( url=url, timeout=10, ssl_close_timeout=ssl_close_timeout ) async with Client(transport=transport) as session: query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1285 _____________ ERROR at setup of test_aiohttp_error_fetching_schema _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1320 @pytest.mark.asyncio async def test_aiohttp_error_fetching_schema(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport error_answer = """ { "errors": [ { "errorType": "UnauthorizedException", "message": "Permission denied" } ] } """ async def handler(request): return web.Response( text=error_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) with pytest.raises(TransportQueryError) as exc_info: async with Client(transport=transport, fetch_schema_from_transport=True): pass expected_error = ( "Error while fetching schema: " "{'errorType': 'UnauthorizedException', 'message': 'Permission denied'}" ) assert expected_error in str(exc_info.value) assert transport.session is None E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1320 _____________ ERROR at setup of test_aiohttp_reconnecting_session ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1363 @pytest.mark.asyncio async def test_aiohttp_reconnecting_session(event_loop, aiohttp_server): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) client = Client(transport=transport) session = await client.connect_async(reconnecting=True) query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" await client.close_async() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1363 ______ ERROR at setup of test_aiohttp_reconnecting_session_retries[False] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1400 @pytest.mark.asyncio @pytest.mark.parametrize("retries", [False, lambda e: e]) async def test_aiohttp_reconnecting_session_retries( event_loop, aiohttp_server, retries ): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) client = Client(transport=transport) session = await client.connect_async( reconnecting=True, retry_execute=retries, retry_connect=retries ) assert session._execute_with_retries == session._execute_once assert session._connect_with_retries == session.transport.connect await client.close_async() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1400 ____ ERROR at setup of test_aiohttp_reconnecting_session_retries[] _____ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1400 @pytest.mark.asyncio @pytest.mark.parametrize("retries", [False, lambda e: e]) async def test_aiohttp_reconnecting_session_retries( event_loop, aiohttp_server, retries ): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) client = Client(transport=transport) session = await client.connect_async( reconnecting=True, retry_execute=retries, retry_connect=retries ) assert session._execute_with_retries == session._execute_once assert session._connect_with_retries == session.transport.connect await client.close_async() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1400 _ ERROR at setup of test_aiohttp_reconnecting_session_start_connecting_task_twice _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1434 @pytest.mark.asyncio async def test_aiohttp_reconnecting_session_start_connecting_task_twice( event_loop, aiohttp_server, caplog ): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport(url=url, timeout=10) client = Client(transport=transport) session = await client.connect_async(reconnecting=True) await session.start_connecting_task() print(f"Captured log: {caplog.text}") expected_warning = "connect task already started!" assert expected_warning in caplog.text await client.close_async() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1434 ________________ ERROR at setup of test_aiohttp_json_serializer ________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1469 @pytest.mark.asyncio async def test_aiohttp_json_serializer(event_loop, aiohttp_server, caplog): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): request_text = await request.text() print("Received on backend: " + request_text) return web.Response( text=query1_server_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") transport = AIOHTTPTransport( url=url, timeout=10, json_serialize=lambda e: json.dumps(e, separators=(",", ":")), ) async with Client(transport=transport) as session: query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" # Checking that there is no space after the colon in the log expected_log = '"query":"query getContinents' assert expected_log in caplog.text E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1469 _____________ ERROR at setup of test_aiohttp_connector_owner_false _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py, line 1514 @pytest.mark.asyncio async def test_aiohttp_connector_owner_false(event_loop, aiohttp_server): from aiohttp import web, TCPConnector from gql.transport.aiohttp import AIOHTTPTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") connector = TCPConnector() transport = AIOHTTPTransport( url=url, timeout=10, client_session_args={ "connector": connector, "connector_owner": False, }, ) for _ in range(2): async with Client(transport=transport) as session: query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" await connector.close() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_aiohttp.py:1514 _________________ ERROR at setup of test_appsync_iam_mutation __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_http.py, line 8 @pytest.mark.asyncio @pytest.mark.aiohttp @pytest.mark.botocore async def test_appsync_iam_mutation( event_loop, aiohttp_server, fake_credentials_factory ): from aiohttp import web from gql.transport.aiohttp import AIOHTTPTransport from gql.transport.appsync_auth import AppSyncIAMAuthentication from urllib.parse import urlparse async def handler(request): data = { "createMessage": { "id": "4b436192-aab2-460c-8bdf-4f2605eb63da", "message": "Hello world!", "createdAt": "2021-12-06T14:49:55.087Z", } } payload = { "data": data, "extensions": {"received_headers": dict(request.headers)}, } return web.Response( text=json.dumps(payload, separators=(",", ":")), content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) # Extract host from url host = str(urlparse(url).netloc) auth = AppSyncIAMAuthentication( host=host, credentials=fake_credentials_factory(), region_name="us-east-1", ) sample_transport = AIOHTTPTransport(url=url, auth=auth) async with Client(transport=sample_transport) as session: query = gql( """ mutation createMessage($message: String!) { createMessage(input: {message: $message}) { id message createdAt } }""" ) # Execute query asynchronously execution_result = await session.execute(query, get_execution_result=True) result = execution_result.data message = result["createMessage"]["message"] assert message == "Hello world!" sent_headers = execution_result.extensions["received_headers"] assert sent_headers["X-Amz-Security-Token"] == "fake-token" assert sent_headers["Authorization"].startswith( "AWS4-HMAC-SHA256 Credential=fake-access-key/" ) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_http.py:8 _ ERROR at setup of test_appsync_subscription_api_key[realtime_appsync_server_keepalive] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py, line 403 @pytest.mark.asyncio @pytest.mark.parametrize("server", [realtime_appsync_server_keepalive], indirect=True) async def test_appsync_subscription_api_key(event_loop, server): from gql.transport.appsync_auth import AppSyncApiKeyAuthentication from gql.transport.appsync_websockets import AppSyncWebsocketsTransport path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" auth = AppSyncApiKeyAuthentication(host=server.hostname, api_key=DUMMY_API_KEY) transport = AppSyncWebsocketsTransport( url=url, auth=auth, keep_alive_timeout=(5 * SEND_MESSAGE_DELAY) ) await default_transport_test(transport) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py:403 _ ERROR at setup of test_appsync_subscription_iam_with_token[realtime_appsync_server] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py, line 422 @pytest.mark.asyncio @pytest.mark.botocore @pytest.mark.parametrize("server", [realtime_appsync_server], indirect=True) async def test_appsync_subscription_iam_with_token(event_loop, server): from gql.transport.appsync_auth import AppSyncIAMAuthentication from gql.transport.appsync_websockets import AppSyncWebsocketsTransport from botocore.credentials import Credentials path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" dummy_credentials = Credentials( access_key=DUMMY_ACCESS_KEY_ID, secret_key=DUMMY_SECRET_ACCESS_KEY, token=DUMMY_SECRET_SESSION_TOKEN, ) auth = AppSyncIAMAuthentication( host=server.hostname, credentials=dummy_credentials, region_name=REGION_NAME ) transport = AppSyncWebsocketsTransport(url=url, auth=auth) await default_transport_test(transport) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py:422 _ ERROR at setup of test_appsync_subscription_iam_without_token[realtime_appsync_server] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py, line 449 @pytest.mark.asyncio @pytest.mark.botocore @pytest.mark.parametrize("server", [realtime_appsync_server], indirect=True) async def test_appsync_subscription_iam_without_token(event_loop, server): from gql.transport.appsync_auth import AppSyncIAMAuthentication from gql.transport.appsync_websockets import AppSyncWebsocketsTransport from botocore.credentials import Credentials path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" dummy_credentials = Credentials( access_key=DUMMY_ACCESS_KEY_ID, secret_key=DUMMY_SECRET_ACCESS_KEY, ) auth = AppSyncIAMAuthentication( host=server.hostname, credentials=dummy_credentials, region_name=REGION_NAME ) transport = AppSyncWebsocketsTransport(url=url, auth=auth) await default_transport_test(transport) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py:449 _ ERROR at setup of test_appsync_execute_method_not_allowed[realtime_appsync_server] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py, line 475 @pytest.mark.asyncio @pytest.mark.botocore @pytest.mark.parametrize("server", [realtime_appsync_server], indirect=True) async def test_appsync_execute_method_not_allowed(event_loop, server): from gql.transport.appsync_auth import AppSyncIAMAuthentication from gql.transport.appsync_websockets import AppSyncWebsocketsTransport from botocore.credentials import Credentials path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" dummy_credentials = Credentials( access_key=DUMMY_ACCESS_KEY_ID, secret_key=DUMMY_SECRET_ACCESS_KEY, ) auth = AppSyncIAMAuthentication( host=server.hostname, credentials=dummy_credentials, region_name=REGION_NAME ) transport = AppSyncWebsocketsTransport(url=url, auth=auth) client = Client(transport=transport) async with client as session: query = gql( """ mutation createMessage($message: String!) { createMessage(input: {message: $message}) { id message createdAt } }""" ) variable_values = {"message": "Hello world!"} with pytest.raises(AssertionError) as exc_info: await session.execute(query, variable_values=variable_values) assert ( "execute method is not allowed for AppSyncWebsocketsTransport " "because only subscriptions are allowed on the realtime endpoint." ) in str(exc_info) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py:475 ____ ERROR at setup of test_appsync_fetch_schema_from_transport_not_allowed ____ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py, line 523 @pytest.mark.asyncio @pytest.mark.botocore async def test_appsync_fetch_schema_from_transport_not_allowed(event_loop): from gql.transport.appsync_auth import AppSyncIAMAuthentication from gql.transport.appsync_websockets import AppSyncWebsocketsTransport from botocore.credentials import Credentials dummy_credentials = Credentials( access_key=DUMMY_ACCESS_KEY_ID, secret_key=DUMMY_SECRET_ACCESS_KEY, ) auth = AppSyncIAMAuthentication( host="something", credentials=dummy_credentials, region_name=REGION_NAME ) transport = AppSyncWebsocketsTransport(url="https://something", auth=auth) with pytest.raises(AssertionError) as exc_info: Client(transport=transport, fetch_schema_from_transport=True) assert ( "fetch_schema_from_transport=True is not allowed for AppSyncWebsocketsTransport" " because only subscriptions are allowed on the realtime endpoint." ) in str(exc_info) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py:523 _ ERROR at setup of test_appsync_subscription_api_key_unauthorized[realtime_appsync_server] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py, line 551 @pytest.mark.asyncio @pytest.mark.parametrize("server", [realtime_appsync_server], indirect=True) async def test_appsync_subscription_api_key_unauthorized(event_loop, server): from gql.transport.appsync_auth import AppSyncApiKeyAuthentication from gql.transport.appsync_websockets import AppSyncWebsocketsTransport from gql.transport.exceptions import TransportServerError path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" auth = AppSyncApiKeyAuthentication(host=server.hostname, api_key="invalid") transport = AppSyncWebsocketsTransport(url=url, auth=auth) client = Client(transport=transport) with pytest.raises(TransportServerError) as exc_info: async with client as _: pass assert "You are not authorized to make this call." in str(exc_info) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py:551 _ ERROR at setup of test_appsync_subscription_iam_not_allowed[realtime_appsync_server] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py, line 575 @pytest.mark.asyncio @pytest.mark.botocore @pytest.mark.parametrize("server", [realtime_appsync_server], indirect=True) async def test_appsync_subscription_iam_not_allowed(event_loop, server): from gql.transport.appsync_auth import AppSyncIAMAuthentication from gql.transport.appsync_websockets import AppSyncWebsocketsTransport from gql.transport.exceptions import TransportQueryError from botocore.credentials import Credentials path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" dummy_credentials = Credentials( access_key=DUMMY_ACCESS_KEY_ID_NOT_ALLOWED, secret_key=DUMMY_SECRET_ACCESS_KEY, token=DUMMY_SECRET_SESSION_TOKEN, ) auth = AppSyncIAMAuthentication( host=server.hostname, credentials=dummy_credentials, region_name=REGION_NAME ) transport = AppSyncWebsocketsTransport(url=url, auth=auth) client = Client(transport=transport) async with client as session: subscription = gql(on_create_message_subscription_str) with pytest.raises(TransportQueryError) as exc_info: async for result in session.subscribe(subscription): pass assert "Permission denied" in str(exc_info) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py:575 _ ERROR at setup of test_appsync_subscription_server_sending_a_not_json_answer[realtime_appsync_server_not_json_answer] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py, line 613 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [realtime_appsync_server_not_json_answer], indirect=True ) async def test_appsync_subscription_server_sending_a_not_json_answer( event_loop, server ): from gql.transport.appsync_auth import AppSyncApiKeyAuthentication from gql.transport.appsync_websockets import AppSyncWebsocketsTransport from gql.transport.exceptions import TransportProtocolError path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" auth = AppSyncApiKeyAuthentication(host=server.hostname, api_key=DUMMY_API_KEY) transport = AppSyncWebsocketsTransport(url=url, auth=auth) client = Client(transport=transport) with pytest.raises(TransportProtocolError) as exc_info: async with client as _: pass assert "Server did not return a GraphQL result: Something not json" in str(exc_info) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py:613 _ ERROR at setup of test_appsync_subscription_server_sending_an_error_without_an_id[realtime_appsync_server_error_without_id] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py, line 641 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [realtime_appsync_server_error_without_id], indirect=True ) async def test_appsync_subscription_server_sending_an_error_without_an_id( event_loop, server ): from gql.transport.appsync_auth import AppSyncApiKeyAuthentication from gql.transport.appsync_websockets import AppSyncWebsocketsTransport from gql.transport.exceptions import TransportServerError path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" auth = AppSyncApiKeyAuthentication(host=server.hostname, api_key=DUMMY_API_KEY) transport = AppSyncWebsocketsTransport(url=url, auth=auth) client = Client(transport=transport) with pytest.raises(TransportServerError) as exc_info: async with client as _: pass assert "Sometimes AppSync will send you an error without an id" in str(exc_info) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py:641 _ ERROR at setup of test_appsync_subscription_variable_values_and_operation_name[realtime_appsync_server_keepalive] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py, line 669 @pytest.mark.asyncio @pytest.mark.parametrize("server", [realtime_appsync_server_keepalive], indirect=True) async def test_appsync_subscription_variable_values_and_operation_name( event_loop, server ): from gql.transport.appsync_auth import AppSyncApiKeyAuthentication from gql.transport.appsync_websockets import AppSyncWebsocketsTransport path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" auth = AppSyncApiKeyAuthentication(host=server.hostname, api_key=DUMMY_API_KEY) transport = AppSyncWebsocketsTransport( url=url, auth=auth, keep_alive_timeout=(5 * SEND_MESSAGE_DELAY) ) client = Client(transport=transport) expected_messages = [f"Hello world {number}!" for number in range(NB_MESSAGES)] received_messages = [] async with client as session: subscription = gql(on_create_message_subscription_str) async for execution_result in session.subscribe( subscription, operation_name="onCreateMessage", variable_values={"key1": "val1"}, get_execution_result=True, ): result = execution_result.data message = result["onCreateMessage"]["message"] print(f"Message received: '{message}'") received_messages.append(message) print(f"extensions received: {execution_result.extensions}") assert execution_result.extensions["operation_name"] == "onCreateMessage" variables = execution_result.extensions["variables"] assert variables["key1"] == "val1" assert expected_messages == received_messages E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_appsync_websockets.py:669 _ ERROR at setup of test_graphqlws_invalid_query[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-graphqlws_server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 38 @pytest.mark.asyncio @pytest.mark.parametrize("graphqlws_server", [invalid_query1_server], indirect=True) @pytest.mark.parametrize("query_str", [invalid_query_str]) async def test_graphqlws_invalid_query( event_loop, client_and_graphqlws_server, query_str ): session, server = client_and_graphqlws_server query = gql(query_str) with pytest.raises(TransportQueryError) as exc_info: await session.execute(query) exception = exc_info.value assert isinstance(exception.errors, List) error = exception.errors[0] assert error["extensions"]["code"] == "INTERNAL_SERVER_ERROR" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:38 _ ERROR at setup of test_graphqlws_invalid_subscription[\n subscription getContinents {\n continents {\n code\n bloh\n }\n }\n-server_invalid_subscription] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 79 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_invalid_subscription], indirect=True ) @pytest.mark.parametrize("query_str", [invalid_subscription_str]) async def test_graphqlws_invalid_subscription( event_loop, client_and_graphqlws_server, query_str ): session, server = client_and_graphqlws_server query = gql(query_str) with pytest.raises(TransportQueryError) as exc_info: async for result in session.subscribe(query): pass exception = exc_info.value assert isinstance(exception.errors, List) error = exception.errors[0] assert error["extensions"]["code"] == "INTERNAL_SERVER_ERROR" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:79 _ ERROR at setup of test_graphqlws_server_does_not_send_ack[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-server_no_ack] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 109 @pytest.mark.asyncio @pytest.mark.parametrize("graphqlws_server", [server_no_ack], indirect=True) @pytest.mark.parametrize("query_str", [invalid_query_str]) async def test_graphqlws_server_does_not_send_ack( event_loop, graphqlws_server, query_str ): from gql.transport.websockets import WebsocketsTransport url = f"ws://{graphqlws_server.hostname}:{graphqlws_server.port}/graphql" sample_transport = WebsocketsTransport(url=url, ack_timeout=1) with pytest.raises(asyncio.TimeoutError): async with Client(transport=sample_transport): pass E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:109 _ ERROR at setup of test_graphqlws_sending_invalid_query[server_invalid_query] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 142 @pytest.mark.asyncio @pytest.mark.parametrize("graphqlws_server", [server_invalid_query], indirect=True) async def test_graphqlws_sending_invalid_query(event_loop, client_and_graphqlws_server): session, server = client_and_graphqlws_server query = gql("{helo}") with pytest.raises(TransportQueryError) as exc_info: await session.execute(query) exception = exc_info.value assert isinstance(exception.errors, List) error = exception.errors[0] assert ( error["message"] == 'Cannot query field "helo" on type "Query". Did you mean "hello"?' ) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:142 _ ERROR at setup of test_graphqlws_transport_protocol_errors[graphqlws_server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 178 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, error_with_payload_not_a_list, empty_payload, sending_bytes, ], indirect=True, ) async def test_graphqlws_transport_protocol_errors( event_loop, client_and_graphqlws_server ): session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:178 _ ERROR at setup of test_graphqlws_transport_protocol_errors[graphqlws_server1] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 178 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, error_with_payload_not_a_list, empty_payload, sending_bytes, ], indirect=True, ) async def test_graphqlws_transport_protocol_errors( event_loop, client_and_graphqlws_server ): session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:178 _ ERROR at setup of test_graphqlws_transport_protocol_errors[graphqlws_server2] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 178 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, error_with_payload_not_a_list, empty_payload, sending_bytes, ], indirect=True, ) async def test_graphqlws_transport_protocol_errors( event_loop, client_and_graphqlws_server ): session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:178 _ ERROR at setup of test_graphqlws_transport_protocol_errors[graphqlws_server3] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 178 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, error_with_payload_not_a_list, empty_payload, sending_bytes, ], indirect=True, ) async def test_graphqlws_transport_protocol_errors( event_loop, client_and_graphqlws_server ): session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:178 _ ERROR at setup of test_graphqlws_transport_protocol_errors[graphqlws_server4] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 178 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, error_with_payload_not_a_list, empty_payload, sending_bytes, ], indirect=True, ) async def test_graphqlws_transport_protocol_errors( event_loop, client_and_graphqlws_server ): session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:178 _ ERROR at setup of test_graphqlws_transport_protocol_errors[graphqlws_server5] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 178 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, error_with_payload_not_a_list, empty_payload, sending_bytes, ], indirect=True, ) async def test_graphqlws_transport_protocol_errors( event_loop, client_and_graphqlws_server ): session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:178 _ ERROR at setup of test_graphqlws_transport_protocol_errors[graphqlws_server6] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 178 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, error_with_payload_not_a_list, empty_payload, sending_bytes, ], indirect=True, ) async def test_graphqlws_transport_protocol_errors( event_loop, client_and_graphqlws_server ): session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:178 _ ERROR at setup of test_graphqlws_transport_protocol_errors[graphqlws_server7] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 178 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, error_with_payload_not_a_list, empty_payload, sending_bytes, ], indirect=True, ) async def test_graphqlws_transport_protocol_errors( event_loop, client_and_graphqlws_server ): session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:178 _ ERROR at setup of test_graphqlws_transport_protocol_errors[graphqlws_server8] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 178 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, error_with_payload_not_a_list, empty_payload, sending_bytes, ], indirect=True, ) async def test_graphqlws_transport_protocol_errors( event_loop, client_and_graphqlws_server ): session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:178 _ ERROR at setup of test_graphqlws_transport_protocol_errors[graphqlws_server9] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 178 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, error_with_payload_not_a_list, empty_payload, sending_bytes, ], indirect=True, ) async def test_graphqlws_transport_protocol_errors( event_loop, client_and_graphqlws_server ): session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:178 _ ERROR at setup of test_graphqlws_transport_protocol_errors[graphqlws_server10] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 178 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, error_with_payload_not_a_list, empty_payload, sending_bytes, ], indirect=True, ) async def test_graphqlws_transport_protocol_errors( event_loop, client_and_graphqlws_server ): session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:178 ___ ERROR at setup of test_graphqlws_server_does_not_ack[server_without_ack] ___ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 214 @pytest.mark.asyncio @pytest.mark.parametrize("graphqlws_server", [server_without_ack], indirect=True) async def test_graphqlws_server_does_not_ack(event_loop, graphqlws_server): from gql.transport.websockets import WebsocketsTransport url = f"ws://{graphqlws_server.hostname}:{graphqlws_server.port}/graphql" print(f"url = {url}") sample_transport = WebsocketsTransport(url=url) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport): pass E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:214 _ ERROR at setup of test_graphqlws_server_closing_directly[server_closing_directly] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 233 @pytest.mark.asyncio @pytest.mark.parametrize("graphqlws_server", [server_closing_directly], indirect=True) async def test_graphqlws_server_closing_directly(event_loop, graphqlws_server): import websockets from gql.transport.websockets import WebsocketsTransport url = f"ws://{graphqlws_server.hostname}:{graphqlws_server.port}/graphql" print(f"url = {url}") sample_transport = WebsocketsTransport(url=url) with pytest.raises(websockets.exceptions.ConnectionClosed): async with Client(transport=sample_transport): pass E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:233 _ ERROR at setup of test_graphqlws_server_closing_after_ack[server_closing_after_ack] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py, line 254 @pytest.mark.asyncio @pytest.mark.parametrize("graphqlws_server", [server_closing_after_ack], indirect=True) async def test_graphqlws_server_closing_after_ack( event_loop, client_and_graphqlws_server ): import websockets session, server = client_and_graphqlws_server query = gql("query { hello }") with pytest.raises(websockets.exceptions.ConnectionClosed): await session.execute(query) await session.transport.wait_closed() with pytest.raises(TransportClosed): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_exceptions.py:254 _ ERROR at setup of test_graphqlws_subscription[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 228 @pytest.mark.asyncio @pytest.mark.parametrize("graphqlws_server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription( event_loop, client_and_graphqlws_server, subscription_str ): session, server = client_and_graphqlws_server count = 10 subscription = gql(subscription_str.format(count=count)) async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:228 _ ERROR at setup of test_graphqlws_subscription_break[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 251 @pytest.mark.asyncio @pytest.mark.parametrize("graphqlws_server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_break( event_loop, client_and_graphqlws_server, subscription_str ): session, server = client_and_graphqlws_server count = 10 subscription = gql(subscription_str.format(count=count)) async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count if count <= 5: # Note: the following line is only necessary for pypy3 v3.6.1 if sys.version_info < (3, 7): await session._generator.aclose() break count -= 1 assert count == 5 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:251 _ ERROR at setup of test_graphqlws_subscription_task_cancel[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 281 @pytest.mark.asyncio @pytest.mark.parametrize("graphqlws_server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_task_cancel( event_loop, client_and_graphqlws_server, subscription_str ): session, server = client_and_graphqlws_server count = 10 subscription = gql(subscription_str.format(count=count)) async def task_coro(): nonlocal count async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 task = asyncio.ensure_future(task_coro()) async def cancel_task_coro(): nonlocal task await asyncio.sleep(5.5 * COUNTING_DELAY) task.cancel() cancel_task = asyncio.ensure_future(cancel_task_coro()) await asyncio.gather(task, cancel_task) assert count > 0 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:281 _ ERROR at setup of test_graphqlws_subscription_close_transport[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 320 @pytest.mark.asyncio @pytest.mark.parametrize("graphqlws_server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_close_transport( event_loop, client_and_graphqlws_server, subscription_str ): session, server = client_and_graphqlws_server count = 10 subscription = gql(subscription_str.format(count=count)) async def task_coro(): nonlocal count async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 task = asyncio.ensure_future(task_coro()) async def close_transport_task_coro(): nonlocal task await asyncio.sleep(5.5 * COUNTING_DELAY) await session.transport.close() close_transport_task = asyncio.ensure_future(close_transport_task_coro()) await asyncio.gather(task, close_transport_task) assert count > 0 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:320 _ ERROR at setup of test_graphqlws_subscription_server_connection_closed[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_close_connection_in_middle] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 383 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_countdown_close_connection_in_middle], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_server_connection_closed( event_loop, client_and_graphqlws_server, subscription_str ): import websockets session, server = client_and_graphqlws_server count = 10 subscription = gql(subscription_str.format(count=count)) with pytest.raises(websockets.exceptions.ConnectionClosedOK): async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:383 _ ERROR at setup of test_graphqlws_subscription_with_operation_name[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 410 @pytest.mark.asyncio @pytest.mark.parametrize("graphqlws_server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_with_operation_name( event_loop, client_and_graphqlws_server, subscription_str ): session, server = client_and_graphqlws_server count = 10 subscription = gql(subscription_str.format(count=count)) async for result in session.subscribe( subscription, operation_name="CountdownSubscription" ): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 # Check that the query contains the operationName assert '"operationName": "CountdownSubscription"' in logged_messages[0] E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:410 _ ERROR at setup of test_graphqlws_subscription_with_keepalive[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 438 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_countdown_keepalive], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_with_keepalive( event_loop, client_and_graphqlws_server, subscription_str ): session, server = client_and_graphqlws_server count = 10 subscription = gql(subscription_str.format(count=count)) async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 assert "ping" in session.transport.payloads assert session.transport.payloads["ping"] == "dummy_ping_payload" assert ( session.transport.payloads["connection_ack"] == "dummy_connection_ack_payload" ) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:438 _ ERROR at setup of test_graphqlws_subscription_with_keepalive_with_timeout_ok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 468 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_countdown_keepalive], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_with_keepalive_with_timeout_ok( event_loop, graphqlws_server, subscription_str ): from gql.transport.websockets import WebsocketsTransport path = "/graphql" url = f"ws://{graphqlws_server.hostname}:{graphqlws_server.port}{path}" transport = WebsocketsTransport(url=url, keep_alive_timeout=(5 * COUNTING_DELAY)) client = Client(transport=transport) count = 10 subscription = gql(subscription_str.format(count=count)) async with client as session: async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:468 _ ERROR at setup of test_graphqlws_subscription_with_keepalive_with_timeout_nok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 500 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_countdown_keepalive], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_with_keepalive_with_timeout_nok( event_loop, graphqlws_server, subscription_str ): from gql.transport.websockets import WebsocketsTransport path = "/graphql" url = f"ws://{graphqlws_server.hostname}:{graphqlws_server.port}{path}" transport = WebsocketsTransport(url=url, keep_alive_timeout=(COUNTING_DELAY / 2)) client = Client(transport=transport) count = 10 subscription = gql(subscription_str.format(count=count)) async with client as session: with pytest.raises(TransportServerError) as exc_info: async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert "No keep-alive message has been received" in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:500 _ ERROR at setup of test_graphqlws_subscription_with_ping_interval_ok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 533 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_countdown_keepalive], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_with_ping_interval_ok( event_loop, graphqlws_server, subscription_str ): from gql.transport.websockets import WebsocketsTransport path = "/graphql" url = f"ws://{graphqlws_server.hostname}:{graphqlws_server.port}{path}" transport = WebsocketsTransport( url=url, ping_interval=(5 * COUNTING_DELAY), pong_timeout=(4 * COUNTING_DELAY), ) client = Client(transport=transport) count = 10 subscription = gql(subscription_str.format(count=count)) async with client as session: async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:533 _ ERROR at setup of test_graphqlws_subscription_with_ping_interval_nok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_dont_answer_pings] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 569 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_countdown_dont_answer_pings], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_with_ping_interval_nok( event_loop, graphqlws_server, subscription_str ): from gql.transport.websockets import WebsocketsTransport path = "/graphql" url = f"ws://{graphqlws_server.hostname}:{graphqlws_server.port}{path}" transport = WebsocketsTransport(url=url, ping_interval=(5 * COUNTING_DELAY)) client = Client(transport=transport) count = 10 subscription = gql(subscription_str.format(count=count)) async with client as session: with pytest.raises(TransportServerError) as exc_info: async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert "No pong received" in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:569 _ ERROR at setup of test_graphqlws_subscription_manual_pings_with_payload[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 602 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_countdown_keepalive], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_manual_pings_with_payload( event_loop, graphqlws_server, subscription_str ): from gql.transport.websockets import WebsocketsTransport path = "/graphql" url = f"ws://{graphqlws_server.hostname}:{graphqlws_server.port}{path}" transport = WebsocketsTransport(url=url) client = Client(transport=transport) count = 10 subscription = gql(subscription_str.format(count=count)) async with client as session: async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") payload = {"count_received": count} await transport.send_ping(payload=payload) await asyncio.wait_for(transport.pong_received.wait(), 10000 * MS) transport.pong_received.clear() assert transport.payloads["pong"] == payload assert number == count count -= 1 assert count == -1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:602 _ ERROR at setup of test_graphqlws_subscription_manual_pong_answers_with_payload[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 644 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_countdown_keepalive], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_manual_pong_answers_with_payload( event_loop, graphqlws_server, subscription_str ): from gql.transport.websockets import WebsocketsTransport path = "/graphql" url = f"ws://{graphqlws_server.hostname}:{graphqlws_server.port}{path}" transport = WebsocketsTransport(url=url, answer_pings=False) client = Client(transport=transport) count = 10 subscription = gql(subscription_str.format(count=count)) async with client as session: async def answer_ping_coro(): while True: await transport.ping_received.wait() transport.ping_received.clear() await transport.send_pong(payload={"some": "data"}) answer_ping_task = asyncio.ensure_future(answer_ping_coro()) try: async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 finally: answer_ping_task.cancel() assert count == -1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:644 _ ERROR at setup of test_graphqlws_subscription_running_in_thread[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 775 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_countdown_keepalive], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_graphqlws_subscription_running_in_thread( event_loop, graphqlws_server, subscription_str, run_sync_test ): from gql.transport.websockets import WebsocketsTransport def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:775 _ ERROR at setup of test_graphqlws_subscription_reconnecting_session[False-\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_disconnect] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 808 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_countdown_disconnect], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) @pytest.mark.parametrize("execute_instead_of_subscribe", [False, True]) async def test_graphqlws_subscription_reconnecting_session( event_loop, graphqlws_server, subscription_str, execute_instead_of_subscribe ): import websockets from gql.transport.websockets import WebsocketsTransport from gql.transport.exceptions import TransportClosed path = "/graphql" url = f"ws://{graphqlws_server.hostname}:{graphqlws_server.port}{path}" transport = WebsocketsTransport(url=url) client = Client(transport=transport) count = 8 subscription_with_disconnect = gql(subscription_str.format(count=count)) count = 10 subscription = gql(subscription_str.format(count=count)) session = await client.connect_async( reconnecting=True, retry_connect=False, retry_execute=False ) # First we make a subscription which will cause a disconnect in the backend # (count=8) try: print("\nSUBSCRIPTION_1_WITH_DISCONNECT\n") async for result in session.subscribe(subscription_with_disconnect): pass except websockets.exceptions.ConnectionClosedOK: pass await asyncio.sleep(50 * MS) # Then with the same session handle, we make a subscription or an execute # which will detect that the transport is closed so that the client could # try to reconnect try: if execute_instead_of_subscribe: print("\nEXECUTION_2\n") await session.execute(subscription) else: print("\nSUBSCRIPTION_2\n") async for result in session.subscribe(subscription): pass except TransportClosed: pass await asyncio.sleep(50 * MS) # And finally with the same session handle, we make a subscription # which works correctly print("\nSUBSCRIPTION_3\n") async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 await client.close_async() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:808 _ ERROR at setup of test_graphqlws_subscription_reconnecting_session[True-\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_disconnect] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py, line 808 @pytest.mark.asyncio @pytest.mark.parametrize( "graphqlws_server", [server_countdown_disconnect], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) @pytest.mark.parametrize("execute_instead_of_subscribe", [False, True]) async def test_graphqlws_subscription_reconnecting_session( event_loop, graphqlws_server, subscription_str, execute_instead_of_subscribe ): import websockets from gql.transport.websockets import WebsocketsTransport from gql.transport.exceptions import TransportClosed path = "/graphql" url = f"ws://{graphqlws_server.hostname}:{graphqlws_server.port}{path}" transport = WebsocketsTransport(url=url) client = Client(transport=transport) count = 8 subscription_with_disconnect = gql(subscription_str.format(count=count)) count = 10 subscription = gql(subscription_str.format(count=count)) session = await client.connect_async( reconnecting=True, retry_connect=False, retry_execute=False ) # First we make a subscription which will cause a disconnect in the backend # (count=8) try: print("\nSUBSCRIPTION_1_WITH_DISCONNECT\n") async for result in session.subscribe(subscription_with_disconnect): pass except websockets.exceptions.ConnectionClosedOK: pass await asyncio.sleep(50 * MS) # Then with the same session handle, we make a subscription or an execute # which will detect that the transport is closed so that the client could # try to reconnect try: if execute_instead_of_subscribe: print("\nEXECUTION_2\n") await session.execute(subscription) else: print("\nSUBSCRIPTION_2\n") async for result in session.subscribe(subscription): pass except TransportClosed: pass await asyncio.sleep(50 * MS) # And finally with the same session handle, we make a subscription # which works correctly print("\nSUBSCRIPTION_3\n") async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 await client.close_async() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_graphqlws_subscription.py:808 ______________________ ERROR at setup of test_httpx_query ______________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 37 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_query(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", headers={"dummy": "test1234"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:37 _____________________ ERROR at setup of test_httpx_cookies _____________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 80 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_cookies(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): assert "COOKIE" in request.headers assert "cookie1=val1" == request.headers["COOKIE"] return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:80 _________________ ERROR at setup of test_httpx_error_code_401 __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 117 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_error_code_401(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): # Will generate http error code 401 return web.Response( text='{"error":"Unauthorized","message":"401 Client Error: Unauthorized"}', content_type="application/json", status=401, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:117 _________________ ERROR at setup of test_httpx_error_code_429 __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 152 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_error_code_429(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): # Will generate http error code 429 return web.Response( text=""" Too Many Requests

Too Many Requests

I only allow 50 requests per hour to this Web site per logged in user. Try again soon.

""", content_type="text/html", status=429, headers={"Retry-After": "3600"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:152 _________________ ERROR at setup of test_httpx_error_code_500 __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 201 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_error_code_500(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): # Will generate http error code 500 raise Exception("Server error") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:201 ___________________ ERROR at setup of test_httpx_error_code ____________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 233 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_error_code(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): return web.Response( text=query1_server_error_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:233 ______________ ERROR at setup of test_httpx_invalid_protocol[{}] _______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 270 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_httpx_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:270 __________ ERROR at setup of test_httpx_invalid_protocol[qlsjfqsdlkj] __________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 270 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_httpx_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:270 __ ERROR at setup of test_httpx_invalid_protocol[{"not_data_or_errors": 35}] ___ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 270 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_httpx_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:270 ______________ ERROR at setup of test_httpx_cannot_connect_twice _______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 301 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_cannot_connect_twice(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:301 _________ ERROR at setup of test_httpx_cannot_execute_if_not_connected _________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 327 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_cannot_execute_if_not_connected( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:327 ______________ ERROR at setup of test_httpx_query_with_extensions ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 366 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_query_with_extensions(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def handler(request): return web.Response( text=query1_server_answer_with_extensions, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:366 ___________________ ERROR at setup of test_httpx_file_upload ___________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 421 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_file_upload(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def single_upload_handler(request): from aiohttp import web reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_1_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_1_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", single_upload_handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:421 __________ ERROR at setup of test_httpx_file_upload_with_content_type __________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 481 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_file_upload_with_content_type( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def single_upload_handler(request): from aiohttp import web reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_1_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_1_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content # Verifying the content_type assert field_2.headers["Content-Type"] == "application/pdf" field_3 = await reader.next() assert field_3 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", single_upload_handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:481 _________ ERROR at setup of test_httpx_file_upload_additional_headers __________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 549 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_file_upload_additional_headers( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.httpx import HTTPXTransport async def single_upload_handler(request): from aiohttp import web assert request.headers["X-Auth"] == "foobar" reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_1_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_1_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", single_upload_handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:549 _______________ ERROR at setup of test_httpx_binary_file_upload ________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 613 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_binary_file_upload(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport # This is a sample binary file content containing all possible byte values binary_file_content = bytes(range(0, 256)) async def binary_upload_handler(request): from aiohttp import web reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_1_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_1_map field_2 = await reader.next() assert field_2.name == "0" field_2_binary = await field_2.read() assert field_2_binary == binary_file_content field_3 = await reader.next() assert field_3 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", binary_upload_handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXTransport(url=url) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:613 ______________ ERROR at setup of test_httpx_file_upload_two_files ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 686 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_file_upload_two_files(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport file_upload_mutation_2 = """ mutation($file1: Upload!, $file2: Upload!) { uploadFile(input:{file1:$file, file2:$file}) { success } } """ file_upload_mutation_2_map = '{"0": ["variables.file1"], "1": ["variables.file2"]}' file_2_content = """ This is a second test file This file will also be sent in the GraphQL mutation """ async def handler(request): reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_2_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_2_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3.name == "1" field_3_text = await field_3.text() assert field_3_text == file_2_content field_4 = await reader.next() assert field_4 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:686 __________ ERROR at setup of test_httpx_file_upload_list_of_two_files __________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 784 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_file_upload_list_of_two_files( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.httpx import HTTPXTransport file_upload_mutation_3 = """ mutation($files: [Upload!]!) { uploadFiles(input:{files:$files}) { success } } """ file_upload_mutation_3_map = ( '{"0": ["variables.files.0"], "1": ["variables.files.1"]}' ) file_2_content = """ This is a second test file This file will also be sent in the GraphQL mutation """ async def handler(request): reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_3_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_3_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3.name == "1" field_3_text = await field_3.text() assert field_3_text == file_2_content field_4 = await reader.next() assert field_4 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:784 ______________ ERROR at setup of test_httpx_error_fetching_schema ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py, line 875 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_error_fetching_schema(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.httpx import HTTPXTransport error_answer = """ { "errors": [ { "errorType": "UnauthorizedException", "message": "Permission denied" } ] } """ async def handler(request): return web.Response( text=error_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx.py:875 ______________________ ERROR at setup of test_httpx_query ______________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 43 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_query(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", headers={"dummy": "test1234"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) async with Client(transport=transport) as session: query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" # Checking response headers are saved in the transport assert hasattr(transport, "response_headers") assert isinstance(transport.response_headers, Mapping) assert transport.response_headers["dummy"] == "test1234" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:43 ___________ ERROR at setup of test_httpx_ignore_backend_content_type ___________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 83 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_ignore_backend_content_type(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="text/plain") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) async with Client(transport=transport) as session: query = gql(query1_str) result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:83 _____________________ ERROR at setup of test_httpx_cookies _____________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 113 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_cookies(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): assert "COOKIE" in request.headers assert "cookie1=val1" == request.headers["COOKIE"] return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, cookies={"cookie1": "val1"}) async with Client(transport=transport) as session: query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:113 _________________ ERROR at setup of test_httpx_error_code_401 __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 147 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_error_code_401(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): # Will generate http error code 401 return web.Response( text='{"error":"Unauthorized","message":"401 Client Error: Unauthorized"}', content_type="application/json", status=401, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportServerError) as exc_info: await session.execute(query) assert "Client error '401 Unauthorized'" in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:147 _________________ ERROR at setup of test_httpx_error_code_429 __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 179 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_error_code_429(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): # Will generate http error code 429 return web.Response( text=""" Too Many Requests

Too Many Requests

I only allow 50 requests per hour to this Web site per logged in user. Try again soon.

""", content_type="text/html", status=429, headers={"Retry-After": "3600"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportServerError) as exc_info: await session.execute(query) assert "Client error '429 Too Many Requests'" in str(exc_info.value) # Checking response headers are saved in the transport assert hasattr(transport, "response_headers") assert isinstance(transport.response_headers, Mapping) assert transport.response_headers["Retry-After"] == "3600" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:179 _________________ ERROR at setup of test_httpx_error_code_500 __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 227 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_error_code_500(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): # Will generate http error code 500 raise Exception("Server error") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportServerError) as exc_info: await session.execute(query) assert "Server error '500 Internal Server Error'" in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:227 _ ERROR at setup of test_httpx_error_code[{"errors": ["Error 1", "Error 2"]}] __ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 262 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("query_error", transport_query_error_responses) async def test_httpx_error_code(event_loop, aiohttp_server, query_error): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text=query_error, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportQueryError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:262 _ ERROR at setup of test_httpx_error_code[{"errors": {"error_1": "Something"}}] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 262 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("query_error", transport_query_error_responses) async def test_httpx_error_code(event_loop, aiohttp_server, query_error): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text=query_error, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportQueryError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:262 ____________ ERROR at setup of test_httpx_error_code[{"errors": 5}] ____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 262 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("query_error", transport_query_error_responses) async def test_httpx_error_code(event_loop, aiohttp_server, query_error): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text=query_error, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportQueryError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:262 ____________ ERROR at setup of test_httpx_invalid_protocol[param0] _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 318 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("param", invalid_protocol_responses) async def test_httpx_invalid_protocol(event_loop, aiohttp_server, param): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport response = param["response"] async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportProtocolError) as exc_info: await session.execute(query) assert param["expected_exception"] in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:318 ____________ ERROR at setup of test_httpx_invalid_protocol[param1] _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 318 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("param", invalid_protocol_responses) async def test_httpx_invalid_protocol(event_loop, aiohttp_server, param): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport response = param["response"] async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportProtocolError) as exc_info: await session.execute(query) assert param["expected_exception"] in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:318 ____________ ERROR at setup of test_httpx_invalid_protocol[param2] _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 318 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("param", invalid_protocol_responses) async def test_httpx_invalid_protocol(event_loop, aiohttp_server, param): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport response = param["response"] async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportProtocolError) as exc_info: await session.execute(query) assert param["expected_exception"] in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:318 ____________ ERROR at setup of test_httpx_invalid_protocol[param3] _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 318 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("param", invalid_protocol_responses) async def test_httpx_invalid_protocol(event_loop, aiohttp_server, param): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport response = param["response"] async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(TransportProtocolError) as exc_info: await session.execute(query) assert param["expected_exception"] in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:318 _____________ ERROR at setup of test_httpx_subscribe_not_supported _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 348 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_subscribe_not_supported(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text="does not matter", content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url) async with Client(transport=transport) as session: query = gql(query1_str) with pytest.raises(NotImplementedError): async for result in session.subscribe(query): pass E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:348 ______________ ERROR at setup of test_httpx_cannot_connect_twice _______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 374 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_cannot_connect_twice(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) async with Client(transport=transport) as session: with pytest.raises(TransportAlreadyConnected): await session.transport.connect() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:374 _________ ERROR at setup of test_httpx_cannot_execute_if_not_connected _________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 397 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_cannot_execute_if_not_connected(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) query = gql(query1_str) with pytest.raises(TransportClosed): await transport.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:397 ___________________ ERROR at setup of test_httpx_extra_args ____________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 420 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_extra_args(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport import httpx async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) # passing extra arguments to httpx.AsyncClient transport = httpx.AsyncHTTPTransport(retries=2) transport = HTTPXAsyncTransport(url=url, max_redirects=2, transport=transport) async with Client(transport=transport) as session: query = gql(query1_str) # Passing extra arguments to the post method of aiohttp result = await session.execute(query, extra_args={"follow_redirects": True}) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:420 ______________ ERROR at setup of test_httpx_query_variable_values ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 465 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_query_variable_values(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text=query2_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) async with Client(transport=transport) as session: params = {"code": "EU"} query = gql(query2_str) # Execute query asynchronously result = await session.execute( query, variable_values=params, operation_name="getEurope" ) continent = result["continent"] assert continent["name"] == "Europe" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:465 _______ ERROR at setup of test_httpx_query_variable_values_fix_issue_292 _______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 498 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_query_variable_values_fix_issue_292(event_loop, aiohttp_server): """Allow to specify variable_values without keyword. See https://github.com/graphql-python/gql/issues/292""" from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text=query2_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) async with Client(transport=transport) as session: params = {"code": "EU"} query = gql(query2_str) # Execute query asynchronously result = await session.execute(query, params, operation_name="getEurope") continent = result["continent"] assert continent["name"] == "Europe" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:498 ____________ ERROR at setup of test_httpx_execute_running_in_thread ____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 533 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_execute_running_in_thread( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:533 ___________ ERROR at setup of test_httpx_subscribe_running_in_thread ___________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 562 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_subscribe_running_in_thread( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:562 ___________________ ERROR at setup of test_httpx_file_upload ___________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 651 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_file_upload(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport app = web.Application() app.router.add_route("POST", "/", single_upload_handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) with TemporaryFile(file_1_content) as test_file: async with Client(transport=transport) as session: query = gql(file_upload_mutation_1) file_path = test_file.filename with open(file_path, "rb") as f: params = {"file": f, "other_var": 42} # Execute query asynchronously result = await session.execute( query, variable_values=params, upload_files=True ) success = result["success"] assert success E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:651 ___________ ERROR at setup of test_httpx_file_upload_without_session ___________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 687 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_file_upload_without_session( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport app = web.Application() app.router.add_route("POST", "/", single_upload_handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:687 _______________ ERROR at setup of test_httpx_binary_file_upload ________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 758 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_binary_file_upload(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport app = web.Application() app.router.add_route("POST", "/", binary_upload_handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) with TemporaryFile(binary_file_content) as test_file: async with Client(transport=transport) as session: query = gql(file_upload_mutation_1) file_path = test_file.filename with open(file_path, "rb") as f: params = {"file": f, "other_var": 42} # Execute query asynchronously result = await session.execute( query, variable_values=params, upload_files=True ) success = result["success"] assert success E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:758 ______________ ERROR at setup of test_httpx_file_upload_two_files ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 816 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_file_upload_two_files(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_2_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_2_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3.name == "1" field_3_text = await field_3.text() assert field_3_text == file_2_content field_4 = await reader.next() assert field_4 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) with TemporaryFile(file_1_content) as test_file_1: with TemporaryFile(file_2_content) as test_file_2: async with Client(transport=transport) as session: query = gql(file_upload_mutation_2) file_path_1 = test_file_1.filename file_path_2 = test_file_2.filename f1 = open(file_path_1, "rb") f2 = open(file_path_2, "rb") params = { "file1": f1, "file2": f2, } result = await session.execute( query, variable_values=params, upload_files=True ) f1.close() f2.close() success = result["success"] assert success E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:816 __________ ERROR at setup of test_httpx_file_upload_list_of_two_files __________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 908 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_file_upload_list_of_two_files(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_3_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_3_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3.name == "1" field_3_text = await field_3.text() assert field_3_text == file_2_content field_4 = await reader.next() assert field_4 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) with TemporaryFile(file_1_content) as test_file_1: with TemporaryFile(file_2_content) as test_file_2: async with Client(transport=transport) as session: query = gql(file_upload_mutation_3) file_path_1 = test_file_1.filename file_path_2 = test_file_2.filename f1 = open(file_path_1, "rb") f2 = open(file_path_2, "rb") params = {"files": [f1, f2]} # Execute query asynchronously result = await session.execute( query, variable_values=params, upload_files=True ) f1.close() f2.close() success = result["success"] assert success E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:908 ____________________ ERROR at setup of test_httpx_using_cli ____________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 981 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_using_cli(event_loop, aiohttp_server, monkeypatch, capsys): from aiohttp import web async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) parser = get_parser(with_examples=True) args = parser.parse_args([url, "--verbose"]) # Monkeypatching sys.stdin to simulate getting the query # via the standard input monkeypatch.setattr("sys.stdin", io.StringIO(query1_str)) exit_code = await main(args) assert exit_code == 0 # Check that the result has been printed on stdout captured = capsys.readouterr() captured_out = str(captured.out).strip() expected_answer = json.loads(query1_server_answer_data) print(f"Captured: {captured_out}") received_answer = json.loads(captured_out) assert received_answer == expected_answer E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:981 ____________ ERROR at setup of test_httpx_using_cli_ep[subprocess] _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 1017 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.script_launch_mode("subprocess") async def test_httpx_using_cli_ep( event_loop, aiohttp_server, monkeypatch, script_runner, run_sync_test ): from aiohttp import web async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:1017 _____________ ERROR at setup of test_httpx_using_cli_invalid_param _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 1056 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_using_cli_invalid_param( event_loop, aiohttp_server, monkeypatch, capsys ): from aiohttp import web async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) parser = get_parser(with_examples=True) args = parser.parse_args([url, "--variables", "invalid_param"]) # Monkeypatching sys.stdin to simulate getting the query # via the standard input monkeypatch.setattr("sys.stdin", io.StringIO(query1_str)) # Check that the exit_code is an error exit_code = await main(args) assert exit_code == 1 # Check that the error has been printed on stdout captured = capsys.readouterr() captured_err = str(captured.err).strip() print(f"Captured: {captured_err}") expected_error = "Error: Invalid variable: invalid_param" assert expected_error in captured_err E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:1056 _____________ ERROR at setup of test_httpx_using_cli_invalid_query _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 1093 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_using_cli_invalid_query( event_loop, aiohttp_server, monkeypatch, capsys ): from aiohttp import web async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) parser = get_parser(with_examples=True) args = parser.parse_args([url]) # Send invalid query on standard input monkeypatch.setattr("sys.stdin", io.StringIO("BLAHBLAH")) exit_code = await main(args) assert exit_code == 1 # Check that the error has been printed on stdout captured = capsys.readouterr() captured_err = str(captured.err).strip() print(f"Captured: {captured_err}") expected_error = "Syntax Error: Unexpected Name 'BLAHBLAH'" assert expected_error in captured_err E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:1093 ______________ ERROR at setup of test_httpx_query_with_extensions ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 1134 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_query_with_extensions(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response( text=query1_server_answer_with_extensions, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) async with Client(transport=transport) as session: query = gql(query1_str) execution_result = await session.execute(query, get_execution_result=True) assert execution_result.extensions["key1"] == "val1" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:1134 ___________________ ERROR at setup of test_httpx_query_https ___________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 1162 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_query_https(event_loop, ssl_aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await ssl_aiohttp_server(app) url = str(server.make_url("/")) assert url.startswith("https://") cert, _ = get_localhost_ssl_context() transport = HTTPXAsyncTransport(url=url, timeout=10, verify=cert.decode()) async with Client(transport=transport) as session: query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:1162 ______________ ERROR at setup of test_httpx_error_fetching_schema ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 1197 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_error_fetching_schema(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport error_answer = """ { "errors": [ { "errorType": "UnauthorizedException", "message": "Permission denied" } ] } """ async def handler(request): return web.Response( text=error_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) with pytest.raises(TransportQueryError) as exc_info: async with Client(transport=transport, fetch_schema_from_transport=True): pass expected_error = ( "Error while fetching schema: " "{'errorType': 'UnauthorizedException', 'message': 'Permission denied'}" ) assert expected_error in str(exc_info.value) assert transport.client is None E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:1197 ______________ ERROR at setup of test_httpx_reconnecting_session _______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 1241 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_reconnecting_session(event_loop, aiohttp_server): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) client = Client(transport=transport) session = await client.connect_async(reconnecting=True) query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" await client.close_async() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:1241 _______ ERROR at setup of test_httpx_reconnecting_session_retries[False] _______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 1279 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("retries", [False, lambda e: e]) async def test_httpx_reconnecting_session_retries(event_loop, aiohttp_server, retries): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) client = Client(transport=transport) session = await client.connect_async( reconnecting=True, retry_execute=retries, retry_connect=retries ) assert session._execute_with_retries == session._execute_once assert session._connect_with_retries == session.transport.connect await client.close_async() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:1279 _____ ERROR at setup of test_httpx_reconnecting_session_retries[] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 1279 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("retries", [False, lambda e: e]) async def test_httpx_reconnecting_session_retries(event_loop, aiohttp_server, retries): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) client = Client(transport=transport) session = await client.connect_async( reconnecting=True, retry_execute=retries, retry_connect=retries ) assert session._execute_with_retries == session._execute_once assert session._connect_with_retries == session.transport.connect await client.close_async() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:1279 _ ERROR at setup of test_httpx_reconnecting_session_start_connecting_task_twice _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 1312 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_reconnecting_session_start_connecting_task_twice( event_loop, aiohttp_server, caplog ): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport(url=url, timeout=10) client = Client(transport=transport) session = await client.connect_async(reconnecting=True) await session.start_connecting_task() print(f"Captured log: {caplog.text}") expected_warning = "connect task already started!" assert expected_warning in caplog.text await client.close_async() E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:1312 _________________ ERROR at setup of test_httpx_json_serializer _________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py, line 1348 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_httpx_json_serializer(event_loop, aiohttp_server, caplog): from aiohttp import web from gql.transport.httpx import HTTPXAsyncTransport async def handler(request): request_text = await request.text() print(f"Received on backend: {request_text}") return web.Response( text=query1_server_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = str(server.make_url("/")) transport = HTTPXAsyncTransport( url=url, timeout=10, json_serialize=lambda e: json.dumps(e, separators=(",", ":")), ) async with Client(transport=transport) as session: query = gql(query1_str) # Execute query asynchronously result = await session.execute(query) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" # Checking that there is no space after the colon in the log expected_log = '"query":"query getContinents' assert expected_log in caplog.text E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_httpx_async.py:1348 _ ERROR at setup of test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 149 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ query_server(reply_ref_null_answer), query_server(reply_ref_zero_answer), query_server(invalid_payload_data_answer), query_server(invalid_response_server_answer), query_server(invalid_response_keys_server_answer), no_connection_ack_phoenix_server, query_server(invalid_event_server_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query_protocol_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:149 _ ERROR at setup of test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server1] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 149 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ query_server(reply_ref_null_answer), query_server(reply_ref_zero_answer), query_server(invalid_payload_data_answer), query_server(invalid_response_server_answer), query_server(invalid_response_keys_server_answer), no_connection_ack_phoenix_server, query_server(invalid_event_server_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query_protocol_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:149 _ ERROR at setup of test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server2] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 149 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ query_server(reply_ref_null_answer), query_server(reply_ref_zero_answer), query_server(invalid_payload_data_answer), query_server(invalid_response_server_answer), query_server(invalid_response_keys_server_answer), no_connection_ack_phoenix_server, query_server(invalid_event_server_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query_protocol_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:149 _ ERROR at setup of test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server3] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 149 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ query_server(reply_ref_null_answer), query_server(reply_ref_zero_answer), query_server(invalid_payload_data_answer), query_server(invalid_response_server_answer), query_server(invalid_response_keys_server_answer), no_connection_ack_phoenix_server, query_server(invalid_event_server_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query_protocol_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:149 _ ERROR at setup of test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server4] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 149 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ query_server(reply_ref_null_answer), query_server(reply_ref_zero_answer), query_server(invalid_payload_data_answer), query_server(invalid_response_server_answer), query_server(invalid_response_keys_server_answer), no_connection_ack_phoenix_server, query_server(invalid_event_server_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query_protocol_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:149 _ ERROR at setup of test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-no_connection_ack_phoenix_server] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 149 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ query_server(reply_ref_null_answer), query_server(reply_ref_zero_answer), query_server(invalid_payload_data_answer), query_server(invalid_response_server_answer), query_server(invalid_response_keys_server_answer), no_connection_ack_phoenix_server, query_server(invalid_event_server_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query_protocol_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:149 _ ERROR at setup of test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server5] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 149 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ query_server(reply_ref_null_answer), query_server(reply_ref_zero_answer), query_server(invalid_payload_data_answer), query_server(invalid_response_server_answer), query_server(invalid_response_keys_server_answer), no_connection_ack_phoenix_server, query_server(invalid_event_server_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query_protocol_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:149 _ ERROR at setup of test_phoenix_channel_query_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 182 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ query_server(generic_error_server_answer), query_server(error_with_reason_server_answer), query_server(multiple_errors_server_answer), query_server(timeout_server_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportQueryError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:182 _ ERROR at setup of test_phoenix_channel_query_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server1] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 182 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ query_server(generic_error_server_answer), query_server(error_with_reason_server_answer), query_server(multiple_errors_server_answer), query_server(timeout_server_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportQueryError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:182 _ ERROR at setup of test_phoenix_channel_query_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server2] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 182 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ query_server(generic_error_server_answer), query_server(error_with_reason_server_answer), query_server(multiple_errors_server_answer), query_server(timeout_server_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportQueryError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:182 _ ERROR at setup of test_phoenix_channel_query_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server3] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 182 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ query_server(generic_error_server_answer), query_server(error_with_reason_server_answer), query_server(multiple_errors_server_answer), query_server(timeout_server_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportQueryError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:182 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server1] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server2] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server3] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server4] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server5] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server6] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server7] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server8] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server9] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server10] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server11] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(invalid_subscription_ref_answer), subscription_server(missing_subscription_id_server_answer), subscription_server(null_subscription_id_server_answer), subscription_server( [default_subscription_server_answer, default_subscription_server_answer] ), subscription_server(data_answers=missing_subscription_id_data_answer), subscription_server(data_answers=null_subscription_id_data_answer), subscription_server(data_answers=invalid_subscription_id_data_answer), subscription_server(data_answers=ref_is_not_an_integer_server_answer), subscription_server(data_answers=missing_ref_server_answer), subscription_server(data_answers=invalid_payload_data_answer), subscription_server(data_answers=invalid_result_data_answer), subscription_server(data_answers=invalid_result_keys_data_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription_protocol_error( event_loop, server, query_str ): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await asyncio.sleep(10 * MS) break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:388 _ ERROR at setup of test_phoenix_channel_server_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 435 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [query_server(server_error_server_answer)], indirect=True, ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_server_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) with pytest.raises(TransportServerError): async with Client(transport=sample_transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:435 _ ERROR at setup of test_phoenix_channel_unsubscribe_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 461 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(unsubscribe_answers=invalid_subscription_ref_answer), subscription_server(unsubscribe_answers=mismatched_unsubscribe_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_unsubscribe_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" # Reduce close_timeout. These tests will wait for an unsubscribe # reply that will never come... sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url, close_timeout=1 ) query = gql(query_str) async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:461 _ ERROR at setup of test_phoenix_channel_unsubscribe_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server1] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 461 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ subscription_server(unsubscribe_answers=invalid_subscription_ref_answer), subscription_server(unsubscribe_answers=mismatched_unsubscribe_answer), ], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_unsubscribe_error(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" # Reduce close_timeout. These tests will wait for an unsubscribe # reply that will never come... sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url, close_timeout=1 ) query = gql(query_str) async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): break E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:461 _ ERROR at setup of test_phoenix_channel_unsubscribe_error_forcing[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py, line 494 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [subscription_server(unsubscribe_answers=mismatched_unsubscribe_answer)], indirect=True, ) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_unsubscribe_error_forcing(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url, close_timeout=1 ) query = gql(query_str) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport) as session: async for _result in session.subscribe(query): await session.transport._send_stop_message(2) await asyncio.sleep(10 * MS) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_exceptions.py:494 _ ERROR at setup of test_phoenix_channel_query[\n query getContinents {\n continents {\n code\n name\n }\n }\n-query_server] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_query.py, line 49 @pytest.mark.asyncio @pytest.mark.parametrize("server", [query_server], indirect=True) @pytest.mark.parametrize("query_str", [query1_str]) async def test_phoenix_channel_query(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) query = gql(query_str) async with Client(transport=sample_transport) as session: result = await session.execute(query) print("Client received:", result) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_server_helper, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_query.py:49 _ ERROR at setup of test_phoenix_channel_subscription[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-subscription_server] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_query.py, line 126 @pytest.mark.asyncio @pytest.mark.parametrize("server", [subscription_server], indirect=True) @pytest.mark.parametrize("query_str", [query2_str]) async def test_phoenix_channel_subscription(event_loop, server, query_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name="test_channel", url=url ) first_result = None query = gql(query_str) async with Client(transport=sample_transport) as session: async for result in session.subscribe(query): first_result = result break print("Client received:", first_result) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_server_helper, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_query.py:126 _ ERROR at setup of test_phoenix_channel_subscription[0-\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_subscription.py, line 173 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) @pytest.mark.parametrize("end_count", [0, 5]) async def test_phoenix_channel_subscription( event_loop, server, subscription_str, end_count ): """Parameterized test. :param end_count: Target count at which the test will 'break' to unsubscribe. """ import logging from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) from gql.transport.phoenix_channel_websockets import log as phoenix_logger from gql.transport.websockets import log as websockets_logger websockets_logger.setLevel(logging.DEBUG) phoenix_logger.setLevel(logging.DEBUG) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name=test_channel, url=url, close_timeout=5 ) count = 10 subscription = gql(subscription_str.format(count=count)) async with Client(transport=sample_transport) as session: async for result in session.subscribe(subscription): number = result["countdown"]["number"] print(f"Number received: {number}") assert number == count if number == end_count: # Note: we need to run generator.aclose() here or the finally block in # the subscribe will not be reached in pypy3 (python version 3.6.1) # In more recent versions, 'break' will trigger __aexit__. if sys.version_info < (3, 7): await session._generator.aclose() print("break") break count -= 1 assert count == end_count E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_subscription.py:173 _ ERROR at setup of test_phoenix_channel_subscription[5-\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_subscription.py, line 173 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) @pytest.mark.parametrize("end_count", [0, 5]) async def test_phoenix_channel_subscription( event_loop, server, subscription_str, end_count ): """Parameterized test. :param end_count: Target count at which the test will 'break' to unsubscribe. """ import logging from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) from gql.transport.phoenix_channel_websockets import log as phoenix_logger from gql.transport.websockets import log as websockets_logger websockets_logger.setLevel(logging.DEBUG) phoenix_logger.setLevel(logging.DEBUG) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name=test_channel, url=url, close_timeout=5 ) count = 10 subscription = gql(subscription_str.format(count=count)) async with Client(transport=sample_transport) as session: async for result in session.subscribe(subscription): number = result["countdown"]["number"] print(f"Number received: {number}") assert number == count if number == end_count: # Note: we need to run generator.aclose() here or the finally block in # the subscribe will not be reached in pypy3 (python version 3.6.1) # In more recent versions, 'break' will trigger __aexit__. if sys.version_info < (3, 7): await session._generator.aclose() print("break") break count -= 1 assert count == end_count E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_subscription.py:173 _ ERROR at setup of test_phoenix_channel_subscription_no_break[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_subscription.py, line 224 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_phoenix_channel_subscription_no_break( event_loop, server, subscription_str ): import logging from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) from gql.transport.phoenix_channel_websockets import log as phoenix_logger from gql.transport.websockets import log as websockets_logger from .conftest import MS websockets_logger.setLevel(logging.DEBUG) phoenix_logger.setLevel(logging.DEBUG) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" async def testing_stopping_without_break(): sample_transport = PhoenixChannelWebsocketsTransport( channel_name=test_channel, url=url, close_timeout=(5000 * MS) ) count = 10 subscription = gql(subscription_str.format(count=count)) async with Client(transport=sample_transport) as session: async for result in session.subscribe(subscription): number = result["countdown"]["number"] print(f"Number received: {number}") # Simulate a slow consumer if number == 10: await asyncio.sleep(50 * MS) if number == 9: # When we consume the number 9 here in the async generator, # all the 10 numbers have already been sent by the backend and # are present in the listener queue # we simulate here an unsubscribe message # In that case, all the 10 numbers should be consumed in the # generator and then the generator should be closed properly await session.transport._send_stop_message(2) assert number == count count -= 1 assert count == -1 try: await asyncio.wait_for(testing_stopping_without_break(), timeout=(5000 * MS)) except asyncio.TimeoutError: assert False, "The async generator did not stop" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_subscription.py:224 _ ERROR at setup of test_phoenix_channel_heartbeat[\n subscription {\n heartbeat {\n heartbeat_count\n }\n }\n-phoenix_heartbeat_server] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_subscription.py, line 370 @pytest.mark.asyncio @pytest.mark.parametrize("server", [phoenix_heartbeat_server], indirect=True) @pytest.mark.parametrize("subscription_str", [heartbeat_subscription_str]) async def test_phoenix_channel_heartbeat(event_loop, server, subscription_str): from gql.transport.phoenix_channel_websockets import ( PhoenixChannelWebsocketsTransport, ) path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = PhoenixChannelWebsocketsTransport( channel_name=test_channel, url=url, heartbeat_interval=0.1 ) subscription = gql(heartbeat_subscription_str) async with Client(transport=sample_transport) as session: i = 0 async for result in session.subscribe(subscription): heartbeat_count = result["heartbeat"]["heartbeat_count"] print(f"Heartbeat count received: {heartbeat_count}") assert heartbeat_count == i if heartbeat_count == 5: # Note: we need to run generator.aclose() here or the finally block in # the subscribe will not be reached in pypy3 (python version 3.6.1) # In more recent versions, 'break' will trigger __aexit__. if sys.version_info < (3, 7): await session._generator.aclose() break i += 1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_phoenix_channel_subscription.py:370 ____________________ ERROR at setup of test_requests_query _____________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 37 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_query(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response( text=query1_server_answer, content_type="application/json", headers={"dummy": "test1234"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:37 ___________________ ERROR at setup of test_requests_cookies ____________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 80 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_cookies(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): assert "COOKIE" in request.headers assert "cookie1=val1" == request.headers["COOKIE"] return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:80 ________________ ERROR at setup of test_requests_error_code_401 ________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 117 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_error_code_401(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): # Will generate http error code 401 return web.Response( text='{"error":"Unauthorized","message":"401 Client Error: Unauthorized"}', content_type="application/json", status=401, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:117 ________________ ERROR at setup of test_requests_error_code_429 ________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 152 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_error_code_429(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): # Will generate http error code 429 return web.Response( text=""" Too Many Requests

Too Many Requests

I only allow 50 requests per hour to this Web site per logged in user. Try again soon.

""", content_type="text/html", status=429, headers={"Retry-After": "3600"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:152 ________________ ERROR at setup of test_requests_error_code_500 ________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 201 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_error_code_500(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): # Will generate http error code 500 raise Exception("Server error") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:201 __________________ ERROR at setup of test_requests_error_code __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 233 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_error_code(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response( text=query1_server_error_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:233 _____________ ERROR at setup of test_requests_invalid_protocol[{}] _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 270 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_requests_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:270 ________ ERROR at setup of test_requests_invalid_protocol[qlsjfqsdlkj] _________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 270 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_requests_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:270 _ ERROR at setup of test_requests_invalid_protocol[{"not_data_or_errors": 35}] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 270 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_requests_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:270 _____________ ERROR at setup of test_requests_cannot_connect_twice _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 301 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_cannot_connect_twice(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:301 _______ ERROR at setup of test_requests_cannot_execute_if_not_connected ________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 327 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_cannot_execute_if_not_connected( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=query1_server_answer, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:327 ____________ ERROR at setup of test_requests_query_with_extensions _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 366 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_query_with_extensions( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response( text=query1_server_answer_with_extensions, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:366 _________________ ERROR at setup of test_requests_file_upload __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 423 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_file_upload(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def single_upload_handler(request): from aiohttp import web reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_1_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_1_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", single_upload_handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:423 ________ ERROR at setup of test_requests_file_upload_with_content_type _________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 483 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_file_upload_with_content_type( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def single_upload_handler(request): from aiohttp import web reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_1_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_1_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content # Verifying the content_type assert field_2.headers["Content-Type"] == "application/pdf" field_3 = await reader.next() assert field_3 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", single_upload_handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:483 ________ ERROR at setup of test_requests_file_upload_additional_headers ________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 551 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_file_upload_additional_headers( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def single_upload_handler(request): from aiohttp import web assert request.headers["X-Auth"] == "foobar" reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_1_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_1_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", single_upload_handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:551 ______________ ERROR at setup of test_requests_binary_file_upload ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 615 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_binary_file_upload(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport # This is a sample binary file content containing all possible byte values binary_file_content = bytes(range(0, 256)) async def binary_upload_handler(request): from aiohttp import web reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_1_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_1_map field_2 = await reader.next() assert field_2.name == "0" field_2_binary = await field_2.read() assert field_2_binary == binary_file_content field_3 = await reader.next() assert field_3 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", binary_upload_handler) server = await aiohttp_server(app) url = server.make_url("/") transport = RequestsHTTPTransport(url=url) def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:615 ____________ ERROR at setup of test_requests_file_upload_two_files _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 688 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_file_upload_two_files( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport file_upload_mutation_2 = """ mutation($file1: Upload!, $file2: Upload!) { uploadFile(input:{file1:$file, file2:$file}) { success } } """ file_upload_mutation_2_map = '{"0": ["variables.file1"], "1": ["variables.file2"]}' file_2_content = """ This is a second test file This file will also be sent in the GraphQL mutation """ async def handler(request): reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_2_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_2_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3.name == "1" field_3_text = await field_3.text() assert field_3_text == file_2_content field_4 = await reader.next() assert field_4 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:688 ________ ERROR at setup of test_requests_file_upload_list_of_two_files _________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 788 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_file_upload_list_of_two_files( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport file_upload_mutation_3 = """ mutation($files: [Upload!]!) { uploadFiles(input:{files:$files}) { success } } """ file_upload_mutation_3_map = ( '{"0": ["variables.files.0"], "1": ["variables.files.1"]}' ) file_2_content = """ This is a second test file This file will also be sent in the GraphQL mutation """ async def handler(request): reader = await request.multipart() field_0 = await reader.next() assert field_0.name == "operations" field_0_text = await field_0.text() assert strip_braces_spaces(field_0_text) == file_upload_mutation_3_operations field_1 = await reader.next() assert field_1.name == "map" field_1_text = await field_1.text() assert field_1_text == file_upload_mutation_3_map field_2 = await reader.next() assert field_2.name == "0" field_2_text = await field_2.text() assert field_2_text == file_1_content field_3 = await reader.next() assert field_3.name == "1" field_3_text = await field_3.text() assert field_3_text == file_2_content field_4 = await reader.next() assert field_4 is None return web.Response( text=file_upload_server_answer, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:788 ____________ ERROR at setup of test_requests_error_fetching_schema _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py, line 879 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_error_fetching_schema( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport error_answer = """ { "errors": [ { "errorType": "UnauthorizedException", "message": "Permission denied" } ] } """ async def handler(request): return web.Response( text=error_answer, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests.py:879 ____________________ ERROR at setup of test_requests_query _____________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 49 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_query(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response( text=query1_server_answer_list, content_type="application/json", headers={"dummy": "test1234"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:49 ___________ ERROR at setup of test_requests_query_auto_batch_enabled ___________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 92 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_query_auto_batch_enabled( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response( text=query1_server_answer_list, content_type="application/json", headers={"dummy": "test1234"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:92 ____ ERROR at setup of test_requests_query_auto_batch_enabled_two_requests _____ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 140 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_query_auto_batch_enabled_two_requests( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport from threading import Thread async def handler(request): return web.Response( text=query1_server_answer_twice_list, content_type="application/json", headers={"dummy": "test1234"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:140 ___________________ ERROR at setup of test_requests_cookies ____________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 200 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_cookies(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): assert "COOKIE" in request.headers assert "cookie1=val1" == request.headers["COOKIE"] return web.Response( text=query1_server_answer_list, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:200 ________________ ERROR at setup of test_requests_error_code_401 ________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 239 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_error_code_401(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): # Will generate http error code 401 return web.Response( text='{"error":"Unauthorized","message":"401 Client Error: Unauthorized"}', content_type="application/json", status=401, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:239 ______ ERROR at setup of test_requests_error_code_401_auto_batch_enabled _______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 274 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_error_code_401_auto_batch_enabled( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): # Will generate http error code 401 return web.Response( text='{"error":"Unauthorized","message":"401 Client Error: Unauthorized"}', content_type="application/json", status=401, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:274 ________________ ERROR at setup of test_requests_error_code_429 ________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 314 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_error_code_429(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): # Will generate http error code 429 return web.Response( text=""" Too Many Requests

Too Many Requests

I only allow 50 requests per hour to this Web site per logged in user. Try again soon.

""", content_type="text/html", status=429, headers={"Retry-After": "3600"}, ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:314 ________________ ERROR at setup of test_requests_error_code_500 ________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 363 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_error_code_500(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): # Will generate http error code 500 raise Exception("Server error") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:363 __________________ ERROR at setup of test_requests_error_code __________________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 395 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_error_code(event_loop, aiohttp_server, run_sync_test): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response( text=query1_server_error_answer_list, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:395 _____________ ERROR at setup of test_requests_invalid_protocol[{}] _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 437 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_requests_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:437 ________ ERROR at setup of test_requests_invalid_protocol[qlsjfqsdlkj] _________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 437 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_requests_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:437 _ ERROR at setup of test_requests_invalid_protocol[{"not_data_or_errors": 35}] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 437 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_requests_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:437 ____________ ERROR at setup of test_requests_invalid_protocol[[{}]] ____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 437 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_requests_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:437 _______ ERROR at setup of test_requests_invalid_protocol[[qlsjfqsdlkj]] ________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 437 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_requests_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:437 _ ERROR at setup of test_requests_invalid_protocol[[{"not_data_or_errors": 35}]] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 437 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_requests_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:437 _____________ ERROR at setup of test_requests_invalid_protocol[[]] _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 437 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_requests_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:437 ____________ ERROR at setup of test_requests_invalid_protocol[[1]] _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 437 @pytest.mark.aiohttp @pytest.mark.asyncio @pytest.mark.parametrize("response", invalid_protocol_responses) async def test_requests_invalid_protocol( event_loop, aiohttp_server, response, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response(text=response, content_type="application/json") app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:437 _______ ERROR at setup of test_requests_cannot_execute_if_not_connected ________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 468 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_cannot_execute_if_not_connected( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response( text=query1_server_answer_list, content_type="application/json" ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:468 ____________ ERROR at setup of test_requests_query_with_extensions _____________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py, line 509 @pytest.mark.aiohttp @pytest.mark.asyncio async def test_requests_query_with_extensions( event_loop, aiohttp_server, run_sync_test ): from aiohttp import web from gql.transport.requests import RequestsHTTPTransport async def handler(request): return web.Response( text=query1_server_answer_with_extensions_list, content_type="application/json", ) app = web.Application() app.router.add_route("POST", "/", handler) server = await aiohttp_server(app) url = server.make_url("/") def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_requests_batch.py:509 _ ERROR at setup of test_websocket_invalid_query[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 41 @pytest.mark.asyncio @pytest.mark.parametrize("server", [invalid_query1_server], indirect=True) @pytest.mark.parametrize("query_str", [invalid_query_str]) async def test_websocket_invalid_query(event_loop, client_and_server, query_str): session, server = client_and_server query = gql(query_str) with pytest.raises(TransportQueryError) as exc_info: await session.execute(query) exception = exc_info.value assert isinstance(exception.errors, List) error = exception.errors[0] assert error["extensions"]["code"] == "INTERNAL_SERVER_ERROR" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:41 _ ERROR at setup of test_websocket_invalid_subscription[\n subscription getContinents {\n continents {\n code\n bloh\n }\n }\n-server_invalid_subscription] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 80 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_invalid_subscription], indirect=True) @pytest.mark.parametrize("query_str", [invalid_subscription_str]) async def test_websocket_invalid_subscription(event_loop, client_and_server, query_str): session, server = client_and_server query = gql(query_str) with pytest.raises(TransportQueryError) as exc_info: async for result in session.subscribe(query): pass exception = exc_info.value assert isinstance(exception.errors, List) error = exception.errors[0] assert error["extensions"]["code"] == "INTERNAL_SERVER_ERROR" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:80 _ ERROR at setup of test_websocket_server_does_not_send_ack[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-server_no_ack] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 112 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_no_ack], indirect=True) @pytest.mark.parametrize("query_str", [invalid_query_str]) async def test_websocket_server_does_not_send_ack(event_loop, server, query_str): from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" sample_transport = WebsocketsTransport(url=url, ack_timeout=1) with pytest.raises(asyncio.TimeoutError): async with Client(transport=sample_transport): pass E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:112 _ ERROR at setup of test_websocket_sending_invalid_data[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-server_connection_error] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 135 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_connection_error], indirect=True) @pytest.mark.parametrize("query_str", [invalid_query_str]) async def test_websocket_sending_invalid_data(event_loop, client_and_server, query_str): session, server = client_and_server invalid_data = "QSDF" print(f">>> {invalid_data}") await session.transport.websocket.send(invalid_data) await asyncio.sleep(2 * MS) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:135 _ ERROR at setup of test_websocket_sending_invalid_payload[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-server_invalid_payload] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 163 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_invalid_payload], indirect=True) @pytest.mark.parametrize("query_str", [invalid_query_str]) async def test_websocket_sending_invalid_payload( event_loop, client_and_server, query_str ): session, server = client_and_server # Monkey patching the _send_query method to send an invalid payload async def monkey_patch_send_query( self, document, variable_values=None, operation_name=None, ) -> int: query_id = self.next_query_id self.next_query_id += 1 query_str = json.dumps( {"id": str(query_id), "type": "start", "payload": "BLAHBLAH"} ) await self._send(query_str) return query_id session.transport._send_query = types.MethodType( monkey_patch_send_query, session.transport ) query = gql(query_str) with pytest.raises(TransportQueryError) as exc_info: await session.execute(query) exception = exc_info.value assert isinstance(exception.errors, List) error = exception.errors[0] assert error["message"] == "Must provide document" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:163 _____ ERROR at setup of test_websocket_transport_protocol_errors[server0] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 220 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, empty_payload, sending_bytes, ], indirect=True, ) async def test_websocket_transport_protocol_errors(event_loop, client_and_server): session, server = client_and_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server1] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 220 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, empty_payload, sending_bytes, ], indirect=True, ) async def test_websocket_transport_protocol_errors(event_loop, client_and_server): session, server = client_and_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server2] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 220 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, empty_payload, sending_bytes, ], indirect=True, ) async def test_websocket_transport_protocol_errors(event_loop, client_and_server): session, server = client_and_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server3] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 220 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, empty_payload, sending_bytes, ], indirect=True, ) async def test_websocket_transport_protocol_errors(event_loop, client_and_server): session, server = client_and_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server4] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 220 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, empty_payload, sending_bytes, ], indirect=True, ) async def test_websocket_transport_protocol_errors(event_loop, client_and_server): session, server = client_and_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server5] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 220 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, empty_payload, sending_bytes, ], indirect=True, ) async def test_websocket_transport_protocol_errors(event_loop, client_and_server): session, server = client_and_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server6] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 220 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, empty_payload, sending_bytes, ], indirect=True, ) async def test_websocket_transport_protocol_errors(event_loop, client_and_server): session, server = client_and_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server7] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 220 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, empty_payload, sending_bytes, ], indirect=True, ) async def test_websocket_transport_protocol_errors(event_loop, client_and_server): session, server = client_and_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server8] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 220 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, empty_payload, sending_bytes, ], indirect=True, ) async def test_websocket_transport_protocol_errors(event_loop, client_and_server): session, server = client_and_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server9] ______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 220 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [ not_json_answer, missing_type_answer, missing_id_answer_1, missing_id_answer_2, missing_id_answer_3, data_without_payload, error_without_payload, payload_is_not_a_dict, empty_payload, sending_bytes, ], indirect=True, ) async def test_websocket_transport_protocol_errors(event_loop, client_and_server): session, server = client_and_server query = gql("query { hello }") with pytest.raises(TransportProtocolError): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:220 ___ ERROR at setup of test_websocket_server_does_not_ack[server_without_ack] ___ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 253 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_without_ack], indirect=True) async def test_websocket_server_does_not_ack(event_loop, server): from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") sample_transport = WebsocketsTransport(url=url) with pytest.raises(TransportProtocolError): async with Client(transport=sample_transport): pass E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:253 _ ERROR at setup of test_websocket_server_closing_directly[server_closing_directly] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 272 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_closing_directly], indirect=True) async def test_websocket_server_closing_directly(event_loop, server): import websockets from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") sample_transport = WebsocketsTransport(url=url) with pytest.raises(websockets.exceptions.ConnectionClosed): async with Client(transport=sample_transport): pass E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:272 _ ERROR at setup of test_websocket_server_closing_after_ack[server_closing_after_ack] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 293 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_closing_after_ack], indirect=True) async def test_websocket_server_closing_after_ack(event_loop, client_and_server): import websockets session, server = client_and_server query = gql("query { hello }") with pytest.raises(websockets.exceptions.ConnectionClosed): await session.execute(query) await session.transport.wait_closed() with pytest.raises(TransportClosed): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:293 _ ERROR at setup of test_websocket_server_sending_invalid_query_errors[server_sending_invalid_query_errors] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 322 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_sending_invalid_query_errors], indirect=True) async def test_websocket_server_sending_invalid_query_errors(event_loop, server): from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") sample_transport = WebsocketsTransport(url=url) # Invalid server message is ignored async with Client(transport=sample_transport): await asyncio.sleep(2 * MS) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:322 _ ERROR at setup of test_websocket_non_regression_bug_105[server_sending_invalid_query_errors] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 337 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_sending_invalid_query_errors], indirect=True) async def test_websocket_non_regression_bug_105(event_loop, server): from gql.transport.websockets import WebsocketsTransport # This test will check a fix to a race condition which happens if the user is trying # to connect using the same client twice at the same time # See bug #105 url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") sample_transport = WebsocketsTransport(url=url) client = Client(transport=sample_transport) # Create a coroutine which start the connection with the transport but does nothing async def client_connect(client): async with client: await asyncio.sleep(2 * MS) # Create two tasks which will try to connect using the same client (not allowed) connect_task1 = asyncio.ensure_future(client_connect(client)) connect_task2 = asyncio.ensure_future(client_connect(client)) with pytest.raises(TransportAlreadyConnected): await asyncio.gather(connect_task1, connect_task2) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:337 ______ ERROR at setup of test_websocket_using_cli_invalid_query[server0] _______ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py, line 366 @pytest.mark.asyncio @pytest.mark.parametrize("server", [invalid_query1_server], indirect=True) async def test_websocket_using_cli_invalid_query( event_loop, server, monkeypatch, capsys ): url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") from gql.cli import main, get_parser import io parser = get_parser(with_examples=True) args = parser.parse_args([url]) # Monkeypatching sys.stdin to simulate getting the query # via the standard input monkeypatch.setattr("sys.stdin", io.StringIO(invalid_query_str)) # Flush captured output captured = capsys.readouterr() await main(args) # Check that the error has been printed on stdout captured = capsys.readouterr() captured_err = str(captured.err).strip() print(f"Captured: {captured_err}") expected_error = 'Cannot query field "bloh" on type "Continent"' assert expected_error in captured_err E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_exceptions.py:366 _ ERROR at setup of test_websocket_starting_client_in_context_manager[server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 52 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server1_answers], indirect=True) async def test_websocket_starting_client_in_context_manager(event_loop, server): import websockets from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") transport = WebsocketsTransport(url=url) async with Client(transport=transport) as session: assert isinstance( transport.websocket, websockets.client.WebSocketClientProtocol ) query1 = gql(query1_str) result = await session.execute(query1) print("Client received:", result) # Verify result assert isinstance(result, Dict) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" # Checking response headers are saved in the transport assert hasattr(transport, "response_headers") assert isinstance(transport.response_headers, Mapping) assert transport.response_headers["dummy"] == "test1234" # Check client is disconnect here assert transport.websocket is None E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:52 ____ ERROR at setup of test_websocket_using_ssl_connection[ws_ssl_server0] _____ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 92 @pytest.mark.asyncio @pytest.mark.parametrize("ws_ssl_server", [server1_answers], indirect=True) async def test_websocket_using_ssl_connection(event_loop, ws_ssl_server): import websockets from gql.transport.websockets import WebsocketsTransport server = ws_ssl_server url = f"wss://{server.hostname}:{server.port}/graphql" print(f"url = {url}") ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) ssl_context.load_verify_locations(ws_ssl_server.testcert) transport = WebsocketsTransport(url=url, ssl=ssl_context) async with Client(transport=transport) as session: assert isinstance( transport.websocket, websockets.client.WebSocketClientProtocol ) query1 = gql(query1_str) result = await session.execute(query1) print("Client received:", result) # Verify result assert isinstance(result, Dict) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" # Check client is disconnect here assert transport.websocket is None E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:92 _ ERROR at setup of test_websocket_simple_query[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 132 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server1_answers], indirect=True) @pytest.mark.parametrize("query_str", [query1_str]) async def test_websocket_simple_query(event_loop, client_and_server, query_str): session, server = client_and_server query = gql(query_str) result = await session.execute(query) print("Client received:", result) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:132 _ ERROR at setup of test_websocket_two_queries_in_series[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 152 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server1_two_answers_in_series], indirect=True) @pytest.mark.parametrize("query_str", [query1_str]) async def test_websocket_two_queries_in_series( event_loop, client_and_server, query_str ): session, server = client_and_server query = gql(query_str) result1 = await session.execute(query) print("Query1 received:", result1) result2 = await session.execute(query) print("Query2 received:", result2) assert result1 == result2 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:152 _ ERROR at setup of test_websocket_two_queries_in_parallel[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server1_two_queries_in_parallel] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 188 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server1_two_queries_in_parallel], indirect=True) @pytest.mark.parametrize("query_str", [query1_str]) async def test_websocket_two_queries_in_parallel( event_loop, client_and_server, query_str ): session, server = client_and_server query = gql(query_str) result1 = None result2 = None async def task1_coro(): nonlocal result1 result1 = await session.execute(query) async def task2_coro(): nonlocal result2 result2 = await session.execute(query) task1 = asyncio.ensure_future(task1_coro()) task2 = asyncio.ensure_future(task2_coro()) await asyncio.gather(task1, task2) print("Query1 received:", result1) print("Query2 received:", result2) assert result1 == result2 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:188 _ ERROR at setup of test_websocket_server_closing_after_first_query[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server_closing_while_we_are_doing_something_else] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 233 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [server_closing_while_we_are_doing_something_else], indirect=True ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_websocket_server_closing_after_first_query( event_loop, client_and_server, query_str ): session, server = client_and_server query = gql(query_str) # First query is working await session.execute(query) # Then we do other things await asyncio.sleep(100 * MS) # Now the server is closed but we don't know it yet, we have to send a query # to notice it and to receive the exception with pytest.raises(TransportClosed): await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:233 _ ERROR at setup of test_websocket_ignore_invalid_id[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 265 @pytest.mark.asyncio @pytest.mark.parametrize("server", [ignore_invalid_id_answers], indirect=True) @pytest.mark.parametrize("query_str", [query1_str]) async def test_websocket_ignore_invalid_id(event_loop, client_and_server, query_str): session, server = client_and_server query = gql(query_str) # First query is working await session.execute(query) # Second query gets no answer -> raises with pytest.raises(TransportQueryError): await session.execute(query) # Third query is working await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:265 ___ ERROR at setup of test_websocket_multiple_connections_in_series[server0] ___ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 301 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server1_answers], indirect=True) async def test_websocket_multiple_connections_in_series(event_loop, server): from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") transport = WebsocketsTransport(url=url) async with Client(transport=transport) as session: await assert_client_is_working(session) # Check client is disconnect here assert transport.websocket is None async with Client(transport=transport) as session: await assert_client_is_working(session) # Check client is disconnect here assert transport.websocket is None E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:301 __ ERROR at setup of test_websocket_multiple_connections_in_parallel[server0] __ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 324 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server1_answers], indirect=True) async def test_websocket_multiple_connections_in_parallel(event_loop, server): from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") async def task_coro(): transport = WebsocketsTransport(url=url) async with Client(transport=transport) as session: await assert_client_is_working(session) task1 = asyncio.ensure_future(task_coro()) task2 = asyncio.ensure_future(task_coro()) await asyncio.gather(task1, task2) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:324 _ ERROR at setup of test_websocket_trying_to_connect_to_already_connected_transport[server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 343 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server1_answers], indirect=True) async def test_websocket_trying_to_connect_to_already_connected_transport( event_loop, server ): from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") transport = WebsocketsTransport(url=url) async with Client(transport=transport) as session: await assert_client_is_working(session) with pytest.raises(TransportAlreadyConnected): async with Client(transport=transport): pass E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:343 _ ERROR at setup of test_websocket_connect_success_with_authentication_in_connection_init[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server_with_authentication_in_connection_init_payload] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 388 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [server_with_authentication_in_connection_init_payload], indirect=True ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_websocket_connect_success_with_authentication_in_connection_init( event_loop, server, query_str ): from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") init_payload = {"Authorization": 12345} transport = WebsocketsTransport(url=url, init_payload=init_payload) async with Client(transport=transport) as session: query1 = gql(query_str) result = await session.execute(query1) print("Client received:", result) # Verify result assert isinstance(result, Dict) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:388 _ ERROR at setup of test_websocket_connect_failed_with_authentication_in_connection_init[init_payload0-\n query getContinents {\n continents {\n code\n name\n }\n }\n-server_with_authentication_in_connection_init_payload] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 422 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [server_with_authentication_in_connection_init_payload], indirect=True ) @pytest.mark.parametrize("query_str", [query1_str]) @pytest.mark.parametrize("init_payload", [{}, {"Authorization": "invalid_code"}]) async def test_websocket_connect_failed_with_authentication_in_connection_init( event_loop, server, query_str, init_payload ): from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") transport = WebsocketsTransport(url=url, init_payload=init_payload) with pytest.raises(TransportServerError): async with Client(transport=transport) as session: query1 = gql(query_str) await session.execute(query1) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:422 _ ERROR at setup of test_websocket_connect_failed_with_authentication_in_connection_init[init_payload1-\n query getContinents {\n continents {\n code\n name\n }\n }\n-server_with_authentication_in_connection_init_payload] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 422 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [server_with_authentication_in_connection_init_payload], indirect=True ) @pytest.mark.parametrize("query_str", [query1_str]) @pytest.mark.parametrize("init_payload", [{}, {"Authorization": "invalid_code"}]) async def test_websocket_connect_failed_with_authentication_in_connection_init( event_loop, server, query_str, init_payload ): from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") transport = WebsocketsTransport(url=url, init_payload=init_payload) with pytest.raises(TransportServerError): async with Client(transport=transport) as session: query1 = gql(query_str) await session.execute(query1) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:422 __ ERROR at setup of test_websocket_add_extra_parameters_to_connect[server0] ___ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 487 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server1_answers], indirect=True) async def test_websocket_add_extra_parameters_to_connect(event_loop, server): from gql.transport.websockets import WebsocketsTransport url = f"ws://{server.hostname}:{server.port}/graphql" # Increase max payload size to avoid websockets.exceptions.PayloadTooBig exceptions transport = WebsocketsTransport(url=url, connect_args={"max_size": 2**21}) query = gql(query1_str) async with Client(transport=transport) as session: await session.execute(query) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:487 _ ERROR at setup of test_websocket_non_regression_bug_108[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server_sending_keep_alive_before_connection_ack] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 516 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [server_sending_keep_alive_before_connection_ack], indirect=True ) @pytest.mark.parametrize("query_str", [query1_str]) async def test_websocket_non_regression_bug_108( event_loop, client_and_server, query_str ): # This test will check that we now ignore keepalive message # arriving before the connection_ack # See bug #108 session, server = client_and_server query = gql(query_str) result = await session.execute(query) print("Client received:", result) continents = result["continents"] africa = continents[0] assert africa["code"] == "AF" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:516 _____________ ERROR at setup of test_websocket_using_cli[server0] ______________ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 543 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server1_answers], indirect=True) async def test_websocket_using_cli(event_loop, server, monkeypatch, capsys): url = f"ws://{server.hostname}:{server.port}/graphql" print(f"url = {url}") from gql.cli import main, get_parser import io import json parser = get_parser(with_examples=True) args = parser.parse_args([url]) # Monkeypatching sys.stdin to simulate getting the query # via the standard input monkeypatch.setattr("sys.stdin", io.StringIO(query1_str)) # Flush captured output captured = capsys.readouterr() exit_code = await main(args) assert exit_code == 0 # Check that the result has been printed on stdout captured = capsys.readouterr() captured_out = str(captured.out).strip() expected_answer = json.loads(query1_server_answer_data) print(f"Captured: {captured_out}") received_answer = json.loads(captured_out) assert received_answer == expected_answer E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:543 _ ERROR at setup of test_websocket_simple_query_with_extensions[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server0] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py, line 593 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server1_answers_with_extensions], indirect=True) @pytest.mark.parametrize("query_str", [query1_str]) async def test_websocket_simple_query_with_extensions( event_loop, client_and_server, query_str ): session, server = client_and_server query = gql(query_str) execution_result = await session.execute(query, get_execution_result=True) assert execution_result.extensions["key1"] == "val1" E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_query.py:593 _ ERROR at setup of test_websocket_subscription[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 126 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription(event_loop, client_and_server, subscription_str): session, server = client_and_server count = 10 subscription = gql(subscription_str.format(count=count)) async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:126 _ ERROR at setup of test_websocket_subscription_get_execution_result[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 147 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription_get_execution_result( event_loop, client_and_server, subscription_str ): session, server = client_and_server count = 10 subscription = gql(subscription_str.format(count=count)) async for result in session.subscribe(subscription, get_execution_result=True): assert isinstance(result, ExecutionResult) number = result.data["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:147 _ ERROR at setup of test_websocket_subscription_break[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 172 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription_break( event_loop, client_and_server, subscription_str ): session, server = client_and_server count = 10 subscription = gql(subscription_str.format(count=count)) async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count if count <= 5: # Note: the following line is only necessary for pypy3 v3.6.1 if sys.version_info < (3, 7): await session._generator.aclose() break count -= 1 assert count == 5 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:172 _ ERROR at setup of test_websocket_subscription_task_cancel[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 202 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription_task_cancel( event_loop, client_and_server, subscription_str ): session, server = client_and_server count = 10 subscription = gql(subscription_str.format(count=count)) async def task_coro(): nonlocal count async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 task = asyncio.ensure_future(task_coro()) async def cancel_task_coro(): nonlocal task await asyncio.sleep(11 * MS) task.cancel() cancel_task = asyncio.ensure_future(cancel_task_coro()) await asyncio.gather(task, cancel_task) assert count > 0 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:202 _ ERROR at setup of test_websocket_subscription_close_transport[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 241 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription_close_transport( event_loop, client_and_server, subscription_str ): session, server = client_and_server count = 10 subscription = gql(subscription_str.format(count=count)) async def task_coro(): nonlocal count async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 task = asyncio.ensure_future(task_coro()) async def close_transport_task_coro(): nonlocal task await asyncio.sleep(11 * MS) await session.transport.close() close_transport_task = asyncio.ensure_future(close_transport_task_coro()) await asyncio.gather(task, close_transport_task) assert count > 0 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:241 _ ERROR at setup of test_websocket_subscription_server_connection_closed[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_close_connection_in_middle] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 304 @pytest.mark.asyncio @pytest.mark.parametrize( "server", [server_countdown_close_connection_in_middle], indirect=True ) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription_server_connection_closed( event_loop, client_and_server, subscription_str ): import websockets session, server = client_and_server count = 10 subscription = gql(subscription_str.format(count=count)) with pytest.raises(websockets.exceptions.ConnectionClosedOK): async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:304 _ ERROR at setup of test_websocket_subscription_slow_consumer[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 331 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription_slow_consumer( event_loop, client_and_server, subscription_str ): session, server = client_and_server count = 10 subscription = gql(subscription_str.format(count=count)) async for result in session.subscribe(subscription): await asyncio.sleep(10 * MS) number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:331 _ ERROR at setup of test_websocket_subscription_with_operation_name[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 356 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription_with_operation_name( event_loop, client_and_server, subscription_str ): session, server = client_and_server count = 10 subscription = gql(subscription_str.format(count=count)) async for result in session.subscribe( subscription, operation_name="CountdownSubscription" ): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 # Check that the query contains the operationName assert '"operationName": "CountdownSubscription"' in logged_messages[0] E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:356 _ ERROR at setup of test_websocket_subscription_with_keepalive[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 387 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription_with_keepalive( event_loop, client_and_server, subscription_str ): session, server = client_and_server count = 10 subscription = gql(subscription_str.format(count=count)) async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:387 _ ERROR at setup of test_websocket_subscription_with_keepalive_with_timeout_ok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 410 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription_with_keepalive_with_timeout_ok( event_loop, server, subscription_str ): from gql.transport.websockets import WebsocketsTransport path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = WebsocketsTransport(url=url, keep_alive_timeout=(20 * MS)) client = Client(transport=sample_transport) count = 10 subscription = gql(subscription_str.format(count=count)) async with client as session: async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert count == -1 E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:410 _ ERROR at setup of test_websocket_subscription_with_keepalive_with_timeout_nok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 440 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription_with_keepalive_with_timeout_nok( event_loop, server, subscription_str ): from gql.transport.websockets import WebsocketsTransport path = "/graphql" url = f"ws://{server.hostname}:{server.port}{path}" sample_transport = WebsocketsTransport(url=url, keep_alive_timeout=(1 * MS)) client = Client(transport=sample_transport) count = 10 subscription = gql(subscription_str.format(count=count)) async with client as session: with pytest.raises(TransportServerError) as exc_info: async for result in session.subscribe(subscription): number = result["number"] print(f"Number received: {number}") assert number == count count -= 1 assert "No keep-alive message has been received" in str(exc_info.value) E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:440 _ ERROR at setup of test_websocket_subscription_running_in_thread[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] _ file /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py, line 616 @pytest.mark.asyncio @pytest.mark.parametrize("server", [server_countdown], indirect=True) @pytest.mark.parametrize("subscription_str", [countdown_subscription_str]) async def test_websocket_subscription_running_in_thread( event_loop, server, subscription_str, run_sync_test ): from gql.transport.websockets import WebsocketsTransport def test_code(): E fixture 'event_loop' not found > available fixtures: _class_event_loop, _function_event_loop, _module_event_loop, _package_event_loop, _session_event_loop, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_websocket_subscription.py:616 =============================== warnings summary =============================== tests/test_appsync_auth.py::test_appsync_init_with_minimal_args /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/gql/transport/websockets_base.py:11: DeprecationWarning: websockets.client.WebSocketClientProtocol is deprecated from websockets.client import WebSocketClientProtocol tests/test_appsync_auth.py::test_appsync_init_with_minimal_args /usr/lib64/python3.13/site-packages/websockets/legacy/__init__.py:6: DeprecationWarning: websockets.legacy is deprecated; see https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade instructions warnings.warn( # deprecated in 14.0 - 2024-11-09 tests/test_appsync_auth.py::test_appsync_init_with_minimal_args tests/test_appsync_auth.py::test_appsync_init_with_iam_auth_with_creds /usr/lib/python3.13/site-packages/botocore/auth.py:425: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). datetime_now = datetime.datetime.utcnow() tests/test_cli.py::test_cli_get_transport_aiohttp[https://your_server.com] tests/test_cli.py::test_cli_get_transport_appsync_http_iam[https://XXXXXX.appsync-api.eu-west-3.amazonaws.com/graphql] tests/test_cli.py::test_cli_get_transport_appsync_http_api_key[https://XXXXXX.appsync-api.eu-west-3.amazonaws.com/graphql] tests/test_cli.py::test_cli_get_transport_appsync_http_jwt[https://XXXXXX.appsync-api.eu-west-3.amazonaws.com/graphql] /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/gql/transport/aiohttp.py:92: UserWarning: WARNING: By default, AIOHTTPTransport does not verify ssl certificates. This will be fixed in the next major version. You can set ssl=True to force the ssl certificate verification or ssl=False to disable this warning warnings.warn( tests/test_cli.py::test_cli_ep_version[inprocess] /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/test_cli.py:374: DeprecationWarning: script_runner commands should be passed as a single sequence, not as multiple arguments. Replace `script_runner.run(a, b, c)` calls with `script_runner.run([a, b, c])` ret = script_runner.run("gql-cli", "--version") tests/test_graphqlws_subscription.py::test_graphqlws_subscription_sync[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] tests/test_graphqlws_subscription.py::test_graphqlws_subscription_sync_graceful_shutdown[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/conftest.py:413: DeprecationWarning: websockets.server.WebSocketServerProtocol is deprecated from websockets.server import WebSocketServerProtocol tests/test_graphqlws_subscription.py::test_graphqlws_subscription_sync[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] tests/test_graphqlws_subscription.py::test_graphqlws_subscription_sync_graceful_shutdown[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] tests/test_websocket_query.py::test_websocket_execute_sync[server0] tests/test_websocket_subscription.py::test_websocket_subscription_sync[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] tests/test_websocket_subscription.py::test_websocket_subscription_sync_user_exception[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] tests/test_websocket_subscription.py::test_websocket_subscription_sync_break[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] tests/test_websocket_subscription.py::test_websocket_subscription_sync_graceful_shutdown[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/tests/conftest.py:185: DeprecationWarning: websockets.server.serve is deprecated self.start_server = websockets.server.serve( tests/test_graphqlws_subscription.py::test_graphqlws_subscription_sync[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] tests/test_graphqlws_subscription.py::test_graphqlws_subscription_sync_graceful_shutdown[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] tests/test_websocket_query.py::test_websocket_execute_sync[server0] tests/test_websocket_subscription.py::test_websocket_subscription_sync[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] tests/test_websocket_subscription.py::test_websocket_subscription_sync_user_exception[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] tests/test_websocket_subscription.py::test_websocket_subscription_sync_break[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] tests/test_websocket_subscription.py::test_websocket_subscription_sync_graceful_shutdown[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] /usr/lib64/python3.13/site-packages/websockets/legacy/server.py:1177: DeprecationWarning: remove second argument of ws_handler warnings.warn("remove second argument of ws_handler", DeprecationWarning) tests/test_graphqlws_subscription.py::test_graphqlws_subscription_sync[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] tests/test_graphqlws_subscription.py::test_graphqlws_subscription_sync_graceful_shutdown[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] tests/test_websocket_query.py::test_websocket_execute_sync[server0] tests/test_websocket_query.py::test_websocket_execute_sync[server0] tests/test_websocket_subscription.py::test_websocket_subscription_sync[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] tests/test_websocket_subscription.py::test_websocket_subscription_sync_user_exception[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] tests/test_websocket_subscription.py::test_websocket_subscription_sync_break[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] tests/test_websocket_subscription.py::test_websocket_subscription_sync_graceful_shutdown[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] /builddir/build/BUILD/python-gql-3.5.2-build/gql-3.5.2/gql/transport/websockets_base.py:491: DeprecationWarning: websockets.client.connect is deprecated websockets.client.connect(self.url, **connect_args), -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR tests/custom_scalars/test_money.py::test_custom_scalar_in_output_with_transport ERROR tests/custom_scalars/test_money.py::test_custom_scalar_in_input_query_with_transport ERROR tests/custom_scalars/test_money.py::test_custom_scalar_in_input_variable_values_with_transport ERROR tests/custom_scalars/test_money.py::test_custom_scalar_in_input_variable_values_split_with_transport ERROR tests/custom_scalars/test_money.py::test_custom_scalar_serialize_variables ERROR tests/custom_scalars/test_money.py::test_custom_scalar_serialize_variables_no_schema ERROR tests/custom_scalars/test_money.py::test_custom_scalar_serialize_variables_schema_from_introspection ERROR tests/custom_scalars/test_money.py::test_update_schema_scalars ERROR tests/custom_scalars/test_money.py::test_custom_scalar_serialize_variables_sync_transport ERROR tests/custom_scalars/test_money.py::test_custom_scalar_serialize_variables_sync_transport_2 ERROR tests/custom_scalars/test_money.py::test_gql_cli_print_schema ERROR tests/test_aiohttp.py::test_aiohttp_query ERROR tests/test_aiohttp.py::test_aiohttp_ignore_backend_content_type ERROR tests/test_aiohttp.py::test_aiohttp_cookies ERROR tests/test_aiohttp.py::test_aiohttp_error_code_401 ERROR tests/test_aiohttp.py::test_aiohttp_error_code_429 ERROR tests/test_aiohttp.py::test_aiohttp_error_code_500 ERROR tests/test_aiohttp.py::test_aiohttp_error_code[{"errors": ["Error 1", "Error 2"]}] ERROR tests/test_aiohttp.py::test_aiohttp_error_code[{"errors": {"error_1": "Something"}}] ERROR tests/test_aiohttp.py::test_aiohttp_error_code[{"errors": 5}] ERROR tests/test_aiohttp.py::test_aiohttp_invalid_protocol[param0] ERROR tests/test_aiohttp.py::test_aiohttp_invalid_protocol[param1] ERROR tests/test_aiohttp.py::test_aiohttp_invalid_protocol[param2] ERROR tests/test_aiohttp.py::test_aiohttp_invalid_protocol[param3] ERROR tests/test_aiohttp.py::test_aiohttp_subscribe_not_supported ERROR tests/test_aiohttp.py::test_aiohttp_cannot_connect_twice ERROR tests/test_aiohttp.py::test_aiohttp_cannot_execute_if_not_connected ERROR tests/test_aiohttp.py::test_aiohttp_extra_args ERROR tests/test_aiohttp.py::test_aiohttp_query_variable_values ERROR tests/test_aiohttp.py::test_aiohttp_query_variable_values_fix_issue_292 ERROR tests/test_aiohttp.py::test_aiohttp_execute_running_in_thread ERROR tests/test_aiohttp.py::test_aiohttp_subscribe_running_in_thread ERROR tests/test_aiohttp.py::test_aiohttp_file_upload ERROR tests/test_aiohttp.py::test_aiohttp_file_upload_with_content_type ERROR tests/test_aiohttp.py::test_aiohttp_file_upload_without_session ERROR tests/test_aiohttp.py::test_aiohttp_binary_file_upload ERROR tests/test_aiohttp.py::test_aiohttp_stream_reader_upload ERROR tests/test_aiohttp.py::test_aiohttp_async_generator_upload ERROR tests/test_aiohttp.py::test_aiohttp_file_upload_two_files ERROR tests/test_aiohttp.py::test_aiohttp_file_upload_list_of_two_files ERROR tests/test_aiohttp.py::test_aiohttp_using_cli ERROR tests/test_aiohttp.py::test_aiohttp_using_cli_ep[subprocess] ERROR tests/test_aiohttp.py::test_aiohttp_using_cli_invalid_param ERROR tests/test_aiohttp.py::test_aiohttp_using_cli_invalid_query ERROR tests/test_aiohttp.py::test_aiohttp_query_with_extensions ERROR tests/test_aiohttp.py::test_aiohttp_query_https[0] ERROR tests/test_aiohttp.py::test_aiohttp_query_https[10] ERROR tests/test_aiohttp.py::test_aiohttp_error_fetching_schema ERROR tests/test_aiohttp.py::test_aiohttp_reconnecting_session ERROR tests/test_aiohttp.py::test_aiohttp_reconnecting_session_retries[False] ERROR tests/test_aiohttp.py::test_aiohttp_reconnecting_session_retries[] ERROR tests/test_aiohttp.py::test_aiohttp_reconnecting_session_start_connecting_task_twice ERROR tests/test_aiohttp.py::test_aiohttp_json_serializer ERROR tests/test_aiohttp.py::test_aiohttp_connector_owner_false ERROR tests/test_appsync_http.py::test_appsync_iam_mutation ERROR tests/test_appsync_websockets.py::test_appsync_subscription_api_key[realtime_appsync_server_keepalive] ERROR tests/test_appsync_websockets.py::test_appsync_subscription_iam_with_token[realtime_appsync_server] ERROR tests/test_appsync_websockets.py::test_appsync_subscription_iam_without_token[realtime_appsync_server] ERROR tests/test_appsync_websockets.py::test_appsync_execute_method_not_allowed[realtime_appsync_server] ERROR tests/test_appsync_websockets.py::test_appsync_fetch_schema_from_transport_not_allowed ERROR tests/test_appsync_websockets.py::test_appsync_subscription_api_key_unauthorized[realtime_appsync_server] ERROR tests/test_appsync_websockets.py::test_appsync_subscription_iam_not_allowed[realtime_appsync_server] ERROR tests/test_appsync_websockets.py::test_appsync_subscription_server_sending_a_not_json_answer[realtime_appsync_server_not_json_answer] ERROR tests/test_appsync_websockets.py::test_appsync_subscription_server_sending_an_error_without_an_id[realtime_appsync_server_error_without_id] ERROR tests/test_appsync_websockets.py::test_appsync_subscription_variable_values_and_operation_name[realtime_appsync_server_keepalive] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_invalid_query[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-graphqlws_server0] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_invalid_subscription[\n subscription getContinents {\n continents {\n code\n bloh\n }\n }\n-server_invalid_subscription] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_server_does_not_send_ack[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-server_no_ack] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_sending_invalid_query[server_invalid_query] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_transport_protocol_errors[graphqlws_server0] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_transport_protocol_errors[graphqlws_server1] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_transport_protocol_errors[graphqlws_server2] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_transport_protocol_errors[graphqlws_server3] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_transport_protocol_errors[graphqlws_server4] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_transport_protocol_errors[graphqlws_server5] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_transport_protocol_errors[graphqlws_server6] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_transport_protocol_errors[graphqlws_server7] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_transport_protocol_errors[graphqlws_server8] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_transport_protocol_errors[graphqlws_server9] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_transport_protocol_errors[graphqlws_server10] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_server_does_not_ack[server_without_ack] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_server_closing_directly[server_closing_directly] ERROR tests/test_graphqlws_exceptions.py::test_graphqlws_server_closing_after_ack[server_closing_after_ack] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_break[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_task_cancel[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_close_transport[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_server_connection_closed[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_close_connection_in_middle] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_with_operation_name[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_with_keepalive[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_with_keepalive_with_timeout_ok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_with_keepalive_with_timeout_nok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_with_ping_interval_ok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_with_ping_interval_nok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_dont_answer_pings] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_manual_pings_with_payload[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_manual_pong_answers_with_payload[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_running_in_thread[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_keepalive] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_reconnecting_session[False-\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_disconnect] ERROR tests/test_graphqlws_subscription.py::test_graphqlws_subscription_reconnecting_session[True-\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_disconnect] ERROR tests/test_httpx.py::test_httpx_query ERROR tests/test_httpx.py::test_httpx_cookies ERROR tests/test_httpx.py::test_httpx_error_code_401 ERROR tests/test_httpx.py::test_httpx_error_code_429 ERROR tests/test_httpx.py::test_httpx_error_code_500 ERROR tests/test_httpx.py::test_httpx_error_code ERROR tests/test_httpx.py::test_httpx_invalid_protocol[{}] ERROR tests/test_httpx.py::test_httpx_invalid_protocol[qlsjfqsdlkj] ERROR tests/test_httpx.py::test_httpx_invalid_protocol[{"not_data_or_errors": 35}] ERROR tests/test_httpx.py::test_httpx_cannot_connect_twice ERROR tests/test_httpx.py::test_httpx_cannot_execute_if_not_connected ERROR tests/test_httpx.py::test_httpx_query_with_extensions ERROR tests/test_httpx.py::test_httpx_file_upload ERROR tests/test_httpx.py::test_httpx_file_upload_with_content_type ERROR tests/test_httpx.py::test_httpx_file_upload_additional_headers ERROR tests/test_httpx.py::test_httpx_binary_file_upload ERROR tests/test_httpx.py::test_httpx_file_upload_two_files ERROR tests/test_httpx.py::test_httpx_file_upload_list_of_two_files ERROR tests/test_httpx.py::test_httpx_error_fetching_schema ERROR tests/test_httpx_async.py::test_httpx_query ERROR tests/test_httpx_async.py::test_httpx_ignore_backend_content_type ERROR tests/test_httpx_async.py::test_httpx_cookies ERROR tests/test_httpx_async.py::test_httpx_error_code_401 ERROR tests/test_httpx_async.py::test_httpx_error_code_429 ERROR tests/test_httpx_async.py::test_httpx_error_code_500 ERROR tests/test_httpx_async.py::test_httpx_error_code[{"errors": ["Error 1", "Error 2"]}] ERROR tests/test_httpx_async.py::test_httpx_error_code[{"errors": {"error_1": "Something"}}] ERROR tests/test_httpx_async.py::test_httpx_error_code[{"errors": 5}] ERROR tests/test_httpx_async.py::test_httpx_invalid_protocol[param0] ERROR tests/test_httpx_async.py::test_httpx_invalid_protocol[param1] ERROR tests/test_httpx_async.py::test_httpx_invalid_protocol[param2] ERROR tests/test_httpx_async.py::test_httpx_invalid_protocol[param3] ERROR tests/test_httpx_async.py::test_httpx_subscribe_not_supported ERROR tests/test_httpx_async.py::test_httpx_cannot_connect_twice ERROR tests/test_httpx_async.py::test_httpx_cannot_execute_if_not_connected ERROR tests/test_httpx_async.py::test_httpx_extra_args ERROR tests/test_httpx_async.py::test_httpx_query_variable_values ERROR tests/test_httpx_async.py::test_httpx_query_variable_values_fix_issue_292 ERROR tests/test_httpx_async.py::test_httpx_execute_running_in_thread ERROR tests/test_httpx_async.py::test_httpx_subscribe_running_in_thread ERROR tests/test_httpx_async.py::test_httpx_file_upload ERROR tests/test_httpx_async.py::test_httpx_file_upload_without_session ERROR tests/test_httpx_async.py::test_httpx_binary_file_upload ERROR tests/test_httpx_async.py::test_httpx_file_upload_two_files ERROR tests/test_httpx_async.py::test_httpx_file_upload_list_of_two_files ERROR tests/test_httpx_async.py::test_httpx_using_cli ERROR tests/test_httpx_async.py::test_httpx_using_cli_ep[subprocess] ERROR tests/test_httpx_async.py::test_httpx_using_cli_invalid_param ERROR tests/test_httpx_async.py::test_httpx_using_cli_invalid_query ERROR tests/test_httpx_async.py::test_httpx_query_with_extensions ERROR tests/test_httpx_async.py::test_httpx_query_https ERROR tests/test_httpx_async.py::test_httpx_error_fetching_schema ERROR tests/test_httpx_async.py::test_httpx_reconnecting_session ERROR tests/test_httpx_async.py::test_httpx_reconnecting_session_retries[False] ERROR tests/test_httpx_async.py::test_httpx_reconnecting_session_retries[] ERROR tests/test_httpx_async.py::test_httpx_reconnecting_session_start_connecting_task_twice ERROR tests/test_httpx_async.py::test_httpx_json_serializer ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server0] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server1] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server2] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server3] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server4] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-no_connection_ack_phoenix_server] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_query_protocol_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server5] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_query_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server0] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_query_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server1] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_query_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server2] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_query_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server3] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server0] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server1] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server2] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server3] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server4] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server5] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server6] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server7] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server8] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server9] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server10] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_subscription_protocol_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server11] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_server_error[\n query getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_unsubscribe_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server0] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_unsubscribe_error[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server1] ERROR tests/test_phoenix_channel_exceptions.py::test_phoenix_channel_unsubscribe_error_forcing[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-phoenix_server] ERROR tests/test_phoenix_channel_query.py::test_phoenix_channel_query[\n query getContinents {\n continents {\n code\n name\n }\n }\n-query_server] ERROR tests/test_phoenix_channel_query.py::test_phoenix_channel_subscription[\n subscription getContinents {\n continents {\n code\n name\n }\n }\n-subscription_server] ERROR tests/test_phoenix_channel_subscription.py::test_phoenix_channel_subscription[0-\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_phoenix_channel_subscription.py::test_phoenix_channel_subscription[5-\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_phoenix_channel_subscription.py::test_phoenix_channel_subscription_no_break[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_phoenix_channel_subscription.py::test_phoenix_channel_heartbeat[\n subscription {\n heartbeat {\n heartbeat_count\n }\n }\n-phoenix_heartbeat_server] ERROR tests/test_requests.py::test_requests_query ERROR tests/test_requests.py::test_requests_cookies ERROR tests/test_requests.py::test_requests_error_code_401 ERROR tests/test_requests.py::test_requests_error_code_429 ERROR tests/test_requests.py::test_requests_error_code_500 ERROR tests/test_requests.py::test_requests_error_code ERROR tests/test_requests.py::test_requests_invalid_protocol[{}] ERROR tests/test_requests.py::test_requests_invalid_protocol[qlsjfqsdlkj] ERROR tests/test_requests.py::test_requests_invalid_protocol[{"not_data_or_errors": 35}] ERROR tests/test_requests.py::test_requests_cannot_connect_twice ERROR tests/test_requests.py::test_requests_cannot_execute_if_not_connected ERROR tests/test_requests.py::test_requests_query_with_extensions ERROR tests/test_requests.py::test_requests_file_upload ERROR tests/test_requests.py::test_requests_file_upload_with_content_type ERROR tests/test_requests.py::test_requests_file_upload_additional_headers ERROR tests/test_requests.py::test_requests_binary_file_upload ERROR tests/test_requests.py::test_requests_file_upload_two_files ERROR tests/test_requests.py::test_requests_file_upload_list_of_two_files ERROR tests/test_requests.py::test_requests_error_fetching_schema ERROR tests/test_requests_batch.py::test_requests_query ERROR tests/test_requests_batch.py::test_requests_query_auto_batch_enabled ERROR tests/test_requests_batch.py::test_requests_query_auto_batch_enabled_two_requests ERROR tests/test_requests_batch.py::test_requests_cookies ERROR tests/test_requests_batch.py::test_requests_error_code_401 ERROR tests/test_requests_batch.py::test_requests_error_code_401_auto_batch_enabled ERROR tests/test_requests_batch.py::test_requests_error_code_429 ERROR tests/test_requests_batch.py::test_requests_error_code_500 ERROR tests/test_requests_batch.py::test_requests_error_code ERROR tests/test_requests_batch.py::test_requests_invalid_protocol[{}] ERROR tests/test_requests_batch.py::test_requests_invalid_protocol[qlsjfqsdlkj] ERROR tests/test_requests_batch.py::test_requests_invalid_protocol[{"not_data_or_errors": 35}] ERROR tests/test_requests_batch.py::test_requests_invalid_protocol[[{}]] ERROR tests/test_requests_batch.py::test_requests_invalid_protocol[[qlsjfqsdlkj]] ERROR tests/test_requests_batch.py::test_requests_invalid_protocol[[{"not_data_or_errors": 35}]] ERROR tests/test_requests_batch.py::test_requests_invalid_protocol[[]] ERROR tests/test_requests_batch.py::test_requests_invalid_protocol[[1]] ERROR tests/test_requests_batch.py::test_requests_cannot_execute_if_not_connected ERROR tests/test_requests_batch.py::test_requests_query_with_extensions ERROR tests/test_websocket_exceptions.py::test_websocket_invalid_query[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-server0] ERROR tests/test_websocket_exceptions.py::test_websocket_invalid_subscription[\n subscription getContinents {\n continents {\n code\n bloh\n }\n }\n-server_invalid_subscription] ERROR tests/test_websocket_exceptions.py::test_websocket_server_does_not_send_ack[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-server_no_ack] ERROR tests/test_websocket_exceptions.py::test_websocket_sending_invalid_data[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-server_connection_error] ERROR tests/test_websocket_exceptions.py::test_websocket_sending_invalid_payload[\n query getContinents {\n continents {\n code\n bloh\n }\n }\n-server_invalid_payload] ERROR tests/test_websocket_exceptions.py::test_websocket_transport_protocol_errors[server0] ERROR tests/test_websocket_exceptions.py::test_websocket_transport_protocol_errors[server1] ERROR tests/test_websocket_exceptions.py::test_websocket_transport_protocol_errors[server2] ERROR tests/test_websocket_exceptions.py::test_websocket_transport_protocol_errors[server3] ERROR tests/test_websocket_exceptions.py::test_websocket_transport_protocol_errors[server4] ERROR tests/test_websocket_exceptions.py::test_websocket_transport_protocol_errors[server5] ERROR tests/test_websocket_exceptions.py::test_websocket_transport_protocol_errors[server6] ERROR tests/test_websocket_exceptions.py::test_websocket_transport_protocol_errors[server7] ERROR tests/test_websocket_exceptions.py::test_websocket_transport_protocol_errors[server8] ERROR tests/test_websocket_exceptions.py::test_websocket_transport_protocol_errors[server9] ERROR tests/test_websocket_exceptions.py::test_websocket_server_does_not_ack[server_without_ack] ERROR tests/test_websocket_exceptions.py::test_websocket_server_closing_directly[server_closing_directly] ERROR tests/test_websocket_exceptions.py::test_websocket_server_closing_after_ack[server_closing_after_ack] ERROR tests/test_websocket_exceptions.py::test_websocket_server_sending_invalid_query_errors[server_sending_invalid_query_errors] ERROR tests/test_websocket_exceptions.py::test_websocket_non_regression_bug_105[server_sending_invalid_query_errors] ERROR tests/test_websocket_exceptions.py::test_websocket_using_cli_invalid_query[server0] ERROR tests/test_websocket_query.py::test_websocket_starting_client_in_context_manager[server0] ERROR tests/test_websocket_query.py::test_websocket_using_ssl_connection[ws_ssl_server0] ERROR tests/test_websocket_query.py::test_websocket_simple_query[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server0] ERROR tests/test_websocket_query.py::test_websocket_two_queries_in_series[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server0] ERROR tests/test_websocket_query.py::test_websocket_two_queries_in_parallel[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server1_two_queries_in_parallel] ERROR tests/test_websocket_query.py::test_websocket_server_closing_after_first_query[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server_closing_while_we_are_doing_something_else] ERROR tests/test_websocket_query.py::test_websocket_ignore_invalid_id[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server0] ERROR tests/test_websocket_query.py::test_websocket_multiple_connections_in_series[server0] ERROR tests/test_websocket_query.py::test_websocket_multiple_connections_in_parallel[server0] ERROR tests/test_websocket_query.py::test_websocket_trying_to_connect_to_already_connected_transport[server0] ERROR tests/test_websocket_query.py::test_websocket_connect_success_with_authentication_in_connection_init[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server_with_authentication_in_connection_init_payload] ERROR tests/test_websocket_query.py::test_websocket_connect_failed_with_authentication_in_connection_init[init_payload0-\n query getContinents {\n continents {\n code\n name\n }\n }\n-server_with_authentication_in_connection_init_payload] ERROR tests/test_websocket_query.py::test_websocket_connect_failed_with_authentication_in_connection_init[init_payload1-\n query getContinents {\n continents {\n code\n name\n }\n }\n-server_with_authentication_in_connection_init_payload] ERROR tests/test_websocket_query.py::test_websocket_add_extra_parameters_to_connect[server0] ERROR tests/test_websocket_query.py::test_websocket_non_regression_bug_108[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server_sending_keep_alive_before_connection_ack] ERROR tests/test_websocket_query.py::test_websocket_using_cli[server0] ERROR tests/test_websocket_query.py::test_websocket_simple_query_with_extensions[\n query getContinents {\n continents {\n code\n name\n }\n }\n-server0] ERROR tests/test_websocket_subscription.py::test_websocket_subscription[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_websocket_subscription.py::test_websocket_subscription_get_execution_result[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_websocket_subscription.py::test_websocket_subscription_break[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_websocket_subscription.py::test_websocket_subscription_task_cancel[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_websocket_subscription.py::test_websocket_subscription_close_transport[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_websocket_subscription.py::test_websocket_subscription_server_connection_closed[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown_close_connection_in_middle] ERROR tests/test_websocket_subscription.py::test_websocket_subscription_slow_consumer[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_websocket_subscription.py::test_websocket_subscription_with_operation_name[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_websocket_subscription.py::test_websocket_subscription_with_keepalive[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_websocket_subscription.py::test_websocket_subscription_with_keepalive_with_timeout_ok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_websocket_subscription.py::test_websocket_subscription_with_keepalive_with_timeout_nok[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ERROR tests/test_websocket_subscription.py::test_websocket_subscription_running_in_thread[\n subscription {{\n countdown (count: {count}) {{\n number\n }}\n }}\n-server_countdown] ========== 184 passed, 26 skipped, 33 warnings, 277 errors in 13.69s =========== error: Bad exit status from /var/tmp/rpm-tmp.0CEwEp (%check) Bad exit status from /var/tmp/rpm-tmp.0CEwEp (%check) RPM build errors: Finish: rpmbuild python-gql-3.5.2-3.fc43.src.rpm Finish: build phase for python-gql-3.5.2-3.fc43.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1748437976.950145/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names ERROR: Exception(/var/lib/copr-rpmbuild/results/python-gql-3.5.2-3.fc43.src.rpm) Config(fedora-rawhide-x86_64) 0 minutes 30 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 943fc1047f6d4b0da346d328ec5522a3 -D /var/lib/mock/fedora-rawhide-x86_64-1748437976.950145/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.oci3kmh8:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -ba --noprep --target x86_64 /builddir/build/originals/python-gql.spec' Copr build error: Build failed