Warning: Permanently added '98.81.9.93' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/9503512-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 1.4 PID: 51161 Logging PID: 51163 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 9503512, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': '0f202081161d0c240aba6cb29679b771728743c1', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/@python/python-in-pulp/python-gql', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-gql', 'package_version': '3.5.3-5', 'project_dirname': 'python-in-pulp', 'project_name': 'python-in-pulp', 'project_owner': '@python', 'repo_priority': None, 'repos': [{'baseurl': 'https://console.redhat.com/api/pulp-content/public-copr/@python/python-in-pulp/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': '@python/python-in-pulp--frostyx', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 1, 'submitter': 'frostyx', 'tags': [], 'task_id': '9503512-fedora-rawhide-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/@python/python-in-pulp/python-gql /var/lib/copr-rpmbuild/workspace/workdir-rqu7rodg/python-gql --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/@python/python-in-pulp/python-gql', '/var/lib/copr-rpmbuild/workspace/workdir-rqu7rodg/python-gql', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-rqu7rodg/python-gql'... Running: git checkout 0f202081161d0c240aba6cb29679b771728743c1 -- cmd: ['git', 'checkout', '0f202081161d0c240aba6cb29679b771728743c1', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-rqu7rodg/python-gql rc: 0 stdout: stderr: Note: switching to '0f202081161d0c240aba6cb29679b771728743c1'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 0f20208 automatic import of python-gql Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-rqu7rodg/python-gql rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading gql-3.5.3.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o gql-3.5.3.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/@python/python-in-pulp/python-gql/gql-3.5.3.tar.gz/md5/90cd474ef456b8f632f0ca97dd884ac5/gql-3.5.3.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 176k 100 176k 0 0 5516k 0 --:--:-- --:--:-- --:--:-- 5686k INFO: Reading stdout from command: md5sum gql-3.5.3.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-rqu7rodg/python-gql/python-gql.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-rqu7rodg/python-gql --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1756508389.469990 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.3 starting (python version = 3.13.5, NVR = mock-6.3-1.fc42), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-rqu7rodg/python-gql/python-gql.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-rqu7rodg/python-gql --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1756508389.469990 -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-rqu7rodg/python-gql/python-gql.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.3 INFO: Mock Version: 6.3 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1756508389.469990/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-65b24d25-5b60-432f-85d9-dde0250af18e INFO: Checking that 5fd7cde98a42b20c1eeb54bd26e59dc8ee0f1e400933713a63dd571cf8fd884e image matches host's architecture INFO: Copy content of container 5fd7cde98a42b20c1eeb54bd26e59dc8ee0f1e400933713a63dd571cf8fd884e to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1756508389.469990/root INFO: mounting 5fd7cde98a42b20c1eeb54bd26e59dc8ee0f1e400933713a63dd571cf8fd884e with podman image mount INFO: image 5fd7cde98a42b20c1eeb54bd26e59dc8ee0f1e400933713a63dd571cf8fd884e as /var/lib/containers/storage/overlay/bea370efd1e053defc420152826c8bdce8885f847ce76d164de4f71f92dba958/merged INFO: umounting image 5fd7cde98a42b20c1eeb54bd26e59dc8ee0f1e400933713a63dd571cf8fd884e (/var/lib/containers/storage/overlay/bea370efd1e053defc420152826c8bdce8885f847ce76d164de4f71f92dba958/merged) with podman image umount INFO: Removing image mock-bootstrap-65b24d25-5b60-432f-85d9-dde0250af18e 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-1756508389.469990/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.92-1.fc44.x86_64 rpm-sequoia-1.9.0-2.fc43.x86_64 dnf5-5.2.16.0-3.fc44.x86_64 dnf5-plugins-5.2.16.0-3.fc44.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: Copr repository 100% | 10.8 KiB/s | 1.6 KiB | 00m00s fedora 100% | 103.6 KiB/s | 27.4 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.3.0-2.fc43 fedora 8.4 MiB bzip2 x86_64 1.0.8-21.fc43 fedora 95.3 KiB coreutils x86_64 9.7-5.fc43 fedora 5.4 MiB cpio x86_64 2.15-6.fc43 fedora 1.1 MiB diffutils x86_64 3.12-3.fc43 fedora 1.6 MiB fedora-release-common noarch 44-0.2 fedora 20.4 KiB findutils x86_64 1:4.10.0-6.fc43 fedora 1.8 MiB gawk x86_64 5.3.2-2.fc43 fedora 1.8 MiB glibc-minimal-langpack x86_64 2.42.9000-3.fc44 fedora 0.0 B grep x86_64 3.12-2.fc43 fedora 1.0 MiB gzip x86_64 1.14-1.fc44 fedora 397.8 KiB info x86_64 7.2-6.fc43 fedora 353.9 KiB patch x86_64 2.8-2.fc43 fedora 222.8 KiB redhat-rpm-config noarch 343-13.fc44 fedora 183.2 KiB rpm-build x86_64 5.99.92-1.fc44 copr_base 285.5 KiB sed x86_64 4.9-5.fc43 fedora 857.3 KiB shadow-utils x86_64 2:4.18.0-3.fc43 fedora 3.9 MiB tar x86_64 2:1.35-6.fc43 fedora 2.9 MiB unzip x86_64 6.0-68.fc44 fedora 390.3 KiB util-linux x86_64 2.41.1-16.fc44 fedora 3.5 MiB which x86_64 2.23-3.fc43 fedora 83.5 KiB xz x86_64 1:5.8.1-2.fc43 fedora 1.3 MiB Installing dependencies: add-determinism x86_64 0.6.0-2.fc43 fedora 2.4 MiB alternatives x86_64 1.33-2.fc43 fedora 62.2 KiB ansible-srpm-macros noarch 1-18.1.fc43 fedora 35.7 KiB audit-libs x86_64 4.1.1-2.fc44 copr_base 378.9 KiB binutils x86_64 2.45-3.fc44 fedora 26.5 MiB build-reproducibility-srpm-macros noarch 0.6.0-2.fc43 fedora 735.0 B bzip2-libs x86_64 1.0.8-21.fc43 fedora 80.6 KiB ca-certificates noarch 2025.2.80_v9.0.304-2.fc44 fedora 2.7 MiB coreutils-common x86_64 9.7-5.fc43 fedora 11.3 MiB crypto-policies noarch 20250714-4.gitcd6043a.fc44 fedora 146.9 KiB curl x86_64 8.16.0~rc2-1.fc44 fedora 475.3 KiB cyrus-sasl-lib x86_64 2.1.28-33.fc44 fedora 2.3 MiB debugedit x86_64 5.2-2.fc43 fedora 197.8 KiB dwz x86_64 0.16-2.fc43 fedora 287.1 KiB ed x86_64 1.22.2-1.fc44 fedora 148.1 KiB efi-srpm-macros noarch 6-4.fc43 fedora 40.1 KiB elfutils x86_64 0.193-3.fc43 fedora 2.9 MiB elfutils-debuginfod-client x86_64 0.193-3.fc43 fedora 83.9 KiB elfutils-default-yama-scope noarch 0.193-3.fc43 fedora 1.8 KiB elfutils-libelf x86_64 0.193-3.fc43 fedora 1.2 MiB elfutils-libs x86_64 0.193-3.fc43 fedora 683.4 KiB fedora-gpg-keys noarch 44-0.1 fedora 131.2 KiB fedora-release noarch 44-0.2 fedora 0.0 B fedora-release-identity-basic noarch 44-0.2 fedora 664.0 B fedora-repos noarch 44-0.1 fedora 4.9 KiB fedora-repos-rawhide noarch 44-0.1 fedora 2.2 KiB file x86_64 5.46-7.fc44 copr_base 100.2 KiB file-libs x86_64 5.46-7.fc44 copr_base 11.9 MiB filesystem x86_64 3.18-50.fc43 fedora 112.0 B filesystem-srpm-macros noarch 3.18-50.fc43 fedora 38.2 KiB fonts-srpm-macros noarch 1:2.0.5-23.fc43 fedora 55.8 KiB forge-srpm-macros noarch 0.4.0-3.fc43 fedora 38.9 KiB fpc-srpm-macros noarch 1.3-15.fc43 fedora 144.0 B gap-srpm-macros noarch 1-1.fc44 fedora 2.0 KiB gdb-minimal x86_64 16.3-5.fc44 copr_base 13.3 MiB gdbm-libs x86_64 1:1.23-10.fc43 fedora 129.9 KiB ghc-srpm-macros noarch 1.9.2-3.fc43 fedora 779.0 B glibc x86_64 2.42.9000-3.fc44 fedora 6.7 MiB glibc-common x86_64 2.42.9000-3.fc44 fedora 1.0 MiB glibc-gconv-extra x86_64 2.42.9000-3.fc44 fedora 7.2 MiB gmp x86_64 1:6.3.0-4.fc43 fedora 811.2 KiB gnat-srpm-macros noarch 6-8.fc43 fedora 1.0 KiB gnupg2 x86_64 2.4.8-4.fc43 fedora 6.5 MiB gnupg2-dirmngr x86_64 2.4.8-4.fc43 fedora 618.4 KiB gnupg2-gpg-agent x86_64 2.4.8-4.fc43 fedora 671.4 KiB gnupg2-gpgconf x86_64 2.4.8-4.fc43 fedora 250.0 KiB gnupg2-keyboxd x86_64 2.4.8-4.fc43 fedora 201.4 KiB gnupg2-verify x86_64 2.4.8-4.fc43 fedora 348.5 KiB gnutls x86_64 3.8.10-3.fc43 fedora 3.8 MiB go-srpm-macros noarch 3.7.0-4.fc43 fedora 61.6 KiB gpgverify noarch 2.2-3.fc43 fedora 8.7 KiB ima-evm-utils-libs x86_64 1.6.2-6.fc43 fedora 60.7 KiB jansson x86_64 2.14-3.fc43 fedora 89.1 KiB java-srpm-macros noarch 1-7.fc43 fedora 870.0 B json-c x86_64 0.18-7.fc43 fedora 82.7 KiB kernel-srpm-macros noarch 1.0-27.fc43 fedora 1.9 KiB keyutils-libs x86_64 1.6.3-6.fc43 fedora 54.3 KiB krb5-libs x86_64 1.21.3-7.fc43 fedora 2.3 MiB libacl x86_64 2.3.2-4.fc43 fedora 35.9 KiB libarchive x86_64 3.8.1-3.fc43 fedora 951.1 KiB libassuan x86_64 2.5.7-4.fc43 fedora 163.8 KiB libattr x86_64 2.5.2-6.fc43 fedora 24.4 KiB libblkid x86_64 2.41.1-16.fc44 fedora 262.4 KiB libbrotli x86_64 1.1.0-9.fc44 copr_base 833.3 KiB libcap x86_64 2.76-3.fc44 fedora 209.1 KiB libcap-ng x86_64 0.8.5-7.fc44 copr_base 68.9 KiB libcom_err x86_64 1.47.3-2.fc43 fedora 63.1 KiB libcurl x86_64 8.16.0~rc2-1.fc44 fedora 919.7 KiB libeconf x86_64 0.7.9-2.fc43 fedora 64.9 KiB libevent x86_64 2.1.12-16.fc43 fedora 883.1 KiB libfdisk x86_64 2.41.1-16.fc44 fedora 380.4 KiB libffi x86_64 3.5.1-2.fc43 fedora 83.6 KiB libfsverity x86_64 1.6-3.fc43 fedora 28.5 KiB libgcc x86_64 15.2.1-1.fc44.1 fedora 266.6 KiB libgcrypt x86_64 1.11.1-2.fc43 fedora 1.6 MiB libgomp x86_64 15.2.1-1.fc44.1 fedora 541.1 KiB libgpg-error x86_64 1.55-2.fc43 fedora 915.3 KiB libidn2 x86_64 2.3.8-2.fc43 fedora 552.5 KiB libksba x86_64 1.6.7-4.fc43 fedora 398.5 KiB liblastlog2 x86_64 2.41.1-16.fc44 fedora 33.9 KiB libmount x86_64 2.41.1-16.fc44 fedora 372.7 KiB libnghttp2 x86_64 1.66.0-2.fc43 fedora 162.2 KiB libpkgconf x86_64 2.3.0-3.fc43 fedora 78.1 KiB libpsl x86_64 0.21.5-6.fc43 fedora 76.4 KiB libselinux x86_64 3.9-4.fc44 copr_base 193.1 KiB libsemanage x86_64 3.9-3.fc44 copr_base 308.5 KiB libsepol x86_64 3.9-2.fc43 fedora 822.0 KiB libsmartcols x86_64 2.41.1-16.fc44 fedora 180.5 KiB libssh x86_64 0.11.2-2.fc43 fedora 566.7 KiB libssh-config noarch 0.11.2-2.fc43 fedora 277.0 B libstdc++ x86_64 15.2.1-1.fc44.1 fedora 2.8 MiB libtasn1 x86_64 4.20.0-2.fc43 fedora 176.3 KiB libtool-ltdl x86_64 2.5.4-7.fc43 fedora 70.1 KiB libunistring x86_64 1.1-10.fc43 fedora 1.7 MiB libusb1 x86_64 1.0.29-3.fc43 fedora 171.3 KiB libuuid x86_64 2.41.1-16.fc44 fedora 37.4 KiB libverto x86_64 0.3.2-11.fc43 fedora 25.4 KiB libxcrypt x86_64 4.4.38-8.fc43 fedora 284.5 KiB libxml2 x86_64 2.12.10-4.fc44 copr_base 1.7 MiB libzstd x86_64 1.5.7-2.fc43 fedora 799.9 KiB lua-libs x86_64 5.4.8-2.fc43 fedora 280.8 KiB lua-srpm-macros noarch 1-16.fc43 fedora 1.3 KiB lz4-libs x86_64 1.10.0-3.fc43 fedora 161.4 KiB mpfr x86_64 4.2.2-2.fc43 fedora 832.8 KiB ncurses-base noarch 6.5-7.20250614.fc43 fedora 328.1 KiB ncurses-libs x86_64 6.5-7.20250614.fc43 fedora 946.3 KiB nettle x86_64 3.10.1-2.fc43 fedora 790.6 KiB npth x86_64 1.8-3.fc43 fedora 49.6 KiB ocaml-srpm-macros noarch 11-2.fc43 fedora 1.9 KiB openblas-srpm-macros noarch 2-20.fc43 fedora 112.0 B openldap x86_64 2.6.10-3.fc43 fedora 655.8 KiB openssl-libs x86_64 1:3.5.1-3.fc44 fedora 9.2 MiB p11-kit x86_64 0.25.5-9.fc43 fedora 2.2 MiB p11-kit-trust x86_64 0.25.5-9.fc43 fedora 395.5 KiB package-notes-srpm-macros noarch 0.5-14.fc43 fedora 1.6 KiB pam-libs x86_64 1.7.1-3.fc43 fedora 126.8 KiB pcre2 x86_64 10.45-1.fc43.1 fedora 697.7 KiB pcre2-syntax noarch 10.45-1.fc43.1 fedora 273.9 KiB perl-srpm-macros noarch 1-60.fc43 fedora 861.0 B pkgconf x86_64 2.3.0-3.fc43 fedora 88.5 KiB pkgconf-m4 noarch 2.3.0-3.fc43 fedora 14.4 KiB pkgconf-pkg-config x86_64 2.3.0-3.fc43 fedora 989.0 B popt x86_64 1.19-9.fc43 fedora 132.8 KiB publicsuffix-list-dafsa noarch 20250616-2.fc43 fedora 69.1 KiB pyproject-srpm-macros noarch 1.18.3-2.fc43 fedora 1.9 KiB python-srpm-macros noarch 3.14-6.fc44 fedora 51.5 KiB qt5-srpm-macros noarch 5.15.17-2.fc43 fedora 500.0 B qt6-srpm-macros noarch 6.9.1-2.fc43 fedora 464.0 B readline x86_64 8.3-2.fc43 fedora 511.7 KiB rpm x86_64 5.99.92-1.fc44 copr_base 3.0 MiB rpm-build-libs x86_64 5.99.92-1.fc44 copr_base 272.4 KiB rpm-libs x86_64 5.99.92-1.fc44 copr_base 933.7 KiB rpm-sequoia x86_64 1.9.0-2.fc43 fedora 2.5 MiB rpm-sign-libs x86_64 5.99.92-1.fc44 copr_base 39.7 KiB rust-srpm-macros noarch 26.4-1.fc44 fedora 4.8 KiB setup noarch 2.15.0-26.fc43 fedora 725.0 KiB sqlite-libs x86_64 3.50.2-2.fc43 fedora 1.5 MiB systemd-libs x86_64 258~rc3-2.fc44 fedora 2.3 MiB systemd-standalone-sysusers x86_64 258~rc3-2.fc44 fedora 293.5 KiB tpm2-tss x86_64 4.1.3-8.fc43 fedora 1.6 MiB tree-sitter-srpm-macros noarch 0.4.2-1.fc43 fedora 8.3 KiB util-linux-core x86_64 2.41.1-16.fc44 fedora 1.5 MiB xxhash-libs x86_64 0.8.3-3.fc43 fedora 90.2 KiB xz-libs x86_64 1:5.8.1-2.fc43 fedora 217.8 KiB zig-srpm-macros noarch 1-5.fc43 fedora 1.1 KiB zip x86_64 3.0-44.fc43 fedora 694.5 KiB zlib-ng-compat x86_64 2.2.5-1.fc43 fedora 137.6 KiB zstd x86_64 1.5.7-2.fc43 fedora 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 170 packages Total size of inbound packages is 59 MiB. Need to download 0 B. After this operation, 198 MiB extra will be used (install 198 MiB, remove 0 B). [ 1/170] tar-2:1.35-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/170] bzip2-0:1.0.8-21.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/170] redhat-rpm-config-0:343-13.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/170] unzip-0:6.0-68.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/170] cpio-0:2.15-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/170] which-0:2.23-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/170] bash-0:5.3.0-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/170] coreutils-0:9.7-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/170] grep-0:3.12-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/170] patch-0:2.8-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/170] sed-0:4.9-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/170] shadow-utils-2:4.18.0-3.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/170] diffutils-0:3.12-3.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/170] fedora-release-common-0:44-0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/170] findutils-1:4.10.0-6.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/170] glibc-minimal-langpack-0:2.42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/170] gzip-0:1.14-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/170] info-0:7.2-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/170] xz-1:5.8.1-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/170] rpm-build-0:5.99.92-1.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/170] util-linux-0:2.41.1-16.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/170] gawk-0:5.3.2-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/170] glibc-0:2.42.9000-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/170] libacl-0:2.3.2-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/170] bzip2-libs-0:1.0.8-21.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/170] ansible-srpm-macros-0:1-18.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/170] build-reproducibility-srpm-ma 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/170] dwz-0:0.16-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/170] efi-srpm-macros-0:6-4.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/170] filesystem-srpm-macros-0:3.18 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/170] fonts-srpm-macros-1:2.0.5-23. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/170] forge-srpm-macros-0:0.4.0-3.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/170] fpc-srpm-macros-0:1.3-15.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/170] gap-srpm-macros-0:1-1.fc44.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/170] ghc-srpm-macros-0:1.9.2-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/170] gnat-srpm-macros-0:6-8.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/170] go-srpm-macros-0:3.7.0-4.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/170] java-srpm-macros-0:1-7.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/170] kernel-srpm-macros-0:1.0-27.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/170] lua-srpm-macros-0:1-16.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/170] ocaml-srpm-macros-0:11-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/170] openblas-srpm-macros-0:2-20.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/170] package-notes-srpm-macros-0:0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/170] perl-srpm-macros-0:1-60.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/170] pyproject-srpm-macros-0:1.18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/170] python-srpm-macros-0:3.14-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/170] qt5-srpm-macros-0:5.15.17-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/170] qt6-srpm-macros-0:6.9.1-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/170] rust-srpm-macros-0:26.4-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/170] tree-sitter-srpm-macros-0:0.4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/170] zig-srpm-macros-0:1-5.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/170] zip-0:3.0-44.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/170] filesystem-0:3.18-50.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/170] ncurses-libs-0:6.5-7.20250614 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/170] coreutils-common-0:9.7-5.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/170] gmp-1:6.3.0-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/170] libattr-0:2.5.2-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/170] libcap-0:2.76-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/170] openssl-libs-1:3.5.1-3.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/170] systemd-libs-0:258~rc3-2.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/170] pcre2-0:10.45-1.fc43.1.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/170] libeconf-0:0.7.9-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/170] libxcrypt-0:4.4.38-8.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/170] pam-libs-0:1.7.1-3.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/170] setup-0:2.15.0-26.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/170] fedora-repos-0:44-0.1.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/170] glibc-common-0:2.42.9000-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/170] xz-libs-1:5.8.1-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/170] debugedit-0:5.2-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/170] elfutils-0:0.193-3.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/170] elfutils-libelf-0:0.193-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/170] libarchive-0:3.8.1-3.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/170] libgcc-0:15.2.1-1.fc44.1.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/170] libstdc++-0:15.2.1-1.fc44.1.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/170] popt-0:1.19-9.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/170] readline-0:8.3-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/170] zstd-0:1.5.7-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/170] util-linux-core-0:2.41.1-16.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/170] zlib-ng-compat-0:2.2.5-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/170] mpfr-0:4.2.2-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/170] glibc-gconv-extra-0:2.42.9000 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/170] add-determinism-0:0.6.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/170] ncurses-base-0:6.5-7.20250614 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/170] ca-certificates-0:2025.2.80_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/170] crypto-policies-0:20250714-4. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/170] pcre2-syntax-0:10.45-1.fc43.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/170] fedora-gpg-keys-0:44-0.1.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/170] fedora-repos-rawhide-0:44-0.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/170] elfutils-libs-0:0.193-3.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/170] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/170] libzstd-0:1.5.7-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/170] lz4-libs-0:1.10.0-3.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/170] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/170] json-c-0:0.18-7.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/170] rpm-0:5.99.92-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/170] curl-0:8.16.0~rc2-1.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/170] libblkid-0:2.41.1-16.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/170] libuuid-0:2.41.1-16.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/170] libmount-0:2.41.1-16.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/170] libselinux-0:3.9-4.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/170] libsepol-0:3.9-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/170] libsmartcols-0:2.41.1-16.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/170] audit-libs-0:4.1.1-2.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/170] libcap-ng-0:0.8.5-7.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/170] libfdisk-0:2.41.1-16.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/170] liblastlog2-0:2.41.1-16.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/170] sqlite-libs-0:3.50.2-2.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/170] libsemanage-0:3.9-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/170] file-0:5.46-7.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/170] ed-0:1.22.2-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/170] libxml2-0:2.12.10-4.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/170] binutils-0:2.45-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/170] alternatives-0:1.33-2.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/170] jansson-0:2.14-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/170] libffi-0:3.5.1-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/170] p11-kit-0:0.25.5-9.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/170] libtasn1-0:4.20.0-2.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/170] p11-kit-trust-0:0.25.5-9.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/170] rpm-build-libs-0:5.99.92-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/170] libgomp-0:15.2.1-1.fc44.1.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/170] lua-libs-0:5.4.8-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/170] rpm-libs-0:5.99.92-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/170] rpm-sequoia-0:1.9.0-2.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/170] pkgconf-pkg-config-0:2.3.0-3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/170] pkgconf-0:2.3.0-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/170] pkgconf-m4-0:2.3.0-3.fc43.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/170] libpkgconf-0:2.3.0-3.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/170] file-libs-0:5.46-7.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/170] rpm-sign-libs-0:5.99.92-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/170] gnupg2-0:2.4.8-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/170] ima-evm-utils-libs-0:1.6.2-6. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/170] libfsverity-0:1.6-3.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/170] gpgverify-0:2.2-3.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/170] gnupg2-dirmngr-0:2.4.8-4.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/170] gnupg2-gpg-agent-0:2.4.8-4.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/170] gnupg2-gpgconf-0:2.4.8-4.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/170] gnupg2-keyboxd-0:2.4.8-4.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/170] gnupg2-verify-0:2.4.8-4.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/170] libassuan-0:2.5.7-4.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/170] libgcrypt-0:1.11.1-2.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/170] libgpg-error-0:1.55-2.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/170] npth-0:1.8-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/170] tpm2-tss-0:4.1.3-8.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/170] gnutls-0:3.8.10-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/170] libksba-0:1.6.7-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/170] openldap-0:2.6.10-3.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/170] libusb1-0:1.0.29-3.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/170] libidn2-0:2.3.8-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/170] libunistring-0:1.1-10.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/170] nettle-0:3.10.1-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/170] cyrus-sasl-lib-0:2.1.28-33.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/170] libevent-0:2.1.12-16.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/170] libtool-ltdl-0:2.5.4-7.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/170] gdbm-libs-1:1.23-10.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/170] fedora-release-0:44-0.2.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/170] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/170] libcurl-0:8.16.0~rc2-1.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/170] krb5-libs-0:1.21.3-7.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/170] libnghttp2-0:1.66.0-2.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/170] libpsl-0:0.21.5-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/170] libssh-0:0.11.2-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [162/170] keyutils-libs-0:1.6.3-6.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [163/170] libcom_err-0:1.47.3-2.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [164/170] libverto-0:0.3.2-11.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [165/170] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [166/170] libssh-config-0:0.11.2-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [167/170] gdb-minimal-0:16.3-5.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [168/170] xxhash-libs-0:0.8.3-3.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [169/170] systemd-standalone-sysusers-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [170/170] libbrotli-0:1.1.0-9.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [170/170] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction Importing OpenPGP key 0x6D9F90A6: UserID : "Fedora (44) " Fingerprint: 36F612DCF27F7D1A48A835E4DBFCF71C6D9F90A6 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-44-primary The key was successfully imported. Importing OpenPGP key 0x6D9F90A6: UserID : "Fedora (44) " Fingerprint: 36F612DCF27F7D1A48A835E4DBFCF71C6D9F90A6 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-44-primary The key was successfully imported. Importing OpenPGP key 0x31645531: UserID : "Fedora (43) " Fingerprint: C6E7F081CF80E13146676E88829B606631645531 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-43-primary The key was successfully imported. Importing OpenPGP key 0xF577861E: UserID : "Fedora (45) " Fingerprint: 4F50A6114CD5C6976A7F1179655A4B02F577861E From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-45-primary The key was successfully imported. [ 1/172] Verify package files 100% | 798.0 B/s | 170.0 B | 00m00s >>> Running %pretrans scriptlet: filesystem-0:3.18-50.fc43.x86_64 >>> Finished %pretrans scriptlet: filesystem-0:3.18-50.fc43.x86_64 >>> [RPM] /var/lib/mock/fedora-rawhide-x86_64-1756508389.469990/root/var/cache/d [ 2/172] Prepare transaction 100% | 4.2 KiB/s | 170.0 B | 00m00s [ 3/172] Installing libgcc-0:15.2.1-1. 100% | 262.0 MiB/s | 268.3 KiB | 00m00s [ 4/172] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 5/172] Installing publicsuffix-list- 100% | 0.0 B/s | 69.8 KiB | 00m00s [ 6/172] Installing fedora-release-ide 100% | 0.0 B/s | 920.0 B | 00m00s [ 7/172] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 8/172] Installing fedora-gpg-keys-0: 100% | 58.3 MiB/s | 179.0 KiB | 00m00s [ 9/172] Installing fedora-repos-0:44- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/172] Installing fedora-release-com 100% | 24.2 MiB/s | 24.8 KiB | 00m00s [ 11/172] Installing fedora-release-0:4 100% | 13.5 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.0-26.fc43.noarch >>> Finished sysusers scriptlet: setup-0:2.15.0-26.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/172] Installing setup-0:2.15.0-26. 100% | 51.0 MiB/s | 730.6 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/172] Installing filesystem-0:3.18- 100% | 3.1 MiB/s | 212.8 KiB | 00m00s [ 14/172] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [ 15/172] Installing pcre2-syntax-0:10. 100% | 269.9 MiB/s | 276.4 KiB | 00m00s [ 16/172] Installing ncurses-base-0:6.5 100% | 86.3 MiB/s | 353.5 KiB | 00m00s [ 17/172] Installing bash-0:5.3.0-2.fc4 100% | 281.0 MiB/s | 8.4 MiB | 00m00s [ 18/172] Installing glibc-common-0:2.4 100% | 68.0 MiB/s | 1.0 MiB | 00m00s [ 19/172] Installing glibc-gconv-extra- 100% | 317.8 MiB/s | 7.3 MiB | 00m00s [ 20/172] Installing glibc-0:2.42.9000- 100% | 203.1 MiB/s | 6.7 MiB | 00m00s [ 21/172] Installing ncurses-libs-0:6.5 100% | 310.1 MiB/s | 952.8 KiB | 00m00s [ 22/172] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 23/172] Installing zlib-ng-compat-0:2 100% | 135.2 MiB/s | 138.4 KiB | 00m00s [ 24/172] Installing bzip2-libs-0:1.0.8 100% | 79.8 MiB/s | 81.7 KiB | 00m00s [ 25/172] Installing libgpg-error-0:1.5 100% | 69.2 MiB/s | 921.1 KiB | 00m00s [ 26/172] Installing libstdc++-0:15.2.1 100% | 406.3 MiB/s | 2.8 MiB | 00m00s [ 27/172] Installing xz-libs-1:5.8.1-2. 100% | 213.8 MiB/s | 218.9 KiB | 00m00s [ 28/172] Installing libassuan-0:2.5.7- 100% | 161.7 MiB/s | 165.6 KiB | 00m00s [ 29/172] Installing libgcrypt-0:1.11.1 100% | 393.8 MiB/s | 1.6 MiB | 00m00s [ 30/172] Installing readline-0:8.3-2.f 100% | 250.9 MiB/s | 513.9 KiB | 00m00s [ 31/172] Installing gmp-1:6.3.0-4.fc43 100% | 397.2 MiB/s | 813.5 KiB | 00m00s [ 32/172] Installing libuuid-0:2.41.1-1 100% | 0.0 B/s | 38.5 KiB | 00m00s [ 33/172] Installing popt-0:1.19-9.fc43 100% | 68.1 MiB/s | 139.4 KiB | 00m00s [ 34/172] Installing npth-0:1.8-3.fc43. 100% | 0.0 B/s | 50.7 KiB | 00m00s [ 35/172] Installing libblkid-0:2.41.1- 100% | 257.3 MiB/s | 263.5 KiB | 00m00s [ 36/172] Installing libxcrypt-0:4.4.38 100% | 280.4 MiB/s | 287.2 KiB | 00m00s [ 37/172] Installing libzstd-0:1.5.7-2. 100% | 391.2 MiB/s | 801.1 KiB | 00m00s [ 38/172] Installing elfutils-libelf-0: 100% | 388.8 MiB/s | 1.2 MiB | 00m00s [ 39/172] Installing sqlite-libs-0:3.50 100% | 379.1 MiB/s | 1.5 MiB | 00m00s [ 40/172] Installing gnupg2-gpgconf-0:2 100% | 22.4 MiB/s | 252.0 KiB | 00m00s [ 41/172] Installing libattr-0:2.5.2-6. 100% | 0.0 B/s | 25.4 KiB | 00m00s [ 42/172] Installing libacl-0:2.3.2-4.f 100% | 0.0 B/s | 36.8 KiB | 00m00s [ 43/172] Installing libtasn1-0:4.20.0- 100% | 173.9 MiB/s | 178.1 KiB | 00m00s [ 44/172] Installing libunistring-0:1.1 100% | 431.7 MiB/s | 1.7 MiB | 00m00s [ 45/172] Installing libidn2-0:2.3.8-2. 100% | 54.6 MiB/s | 558.7 KiB | 00m00s [ 46/172] Installing crypto-policies-0: 100% | 42.0 MiB/s | 172.0 KiB | 00m00s [ 47/172] Installing dwz-0:0.16-2.fc43. 100% | 23.5 MiB/s | 288.5 KiB | 00m00s [ 48/172] Installing gnupg2-verify-0:2. 100% | 31.1 MiB/s | 349.9 KiB | 00m00s [ 49/172] Installing mpfr-0:4.2.2-2.fc4 100% | 271.6 MiB/s | 834.4 KiB | 00m00s [ 50/172] Installing gawk-0:5.3.2-2.fc4 100% | 113.5 MiB/s | 1.8 MiB | 00m00s [ 51/172] Installing libksba-0:1.6.7-4. 100% | 391.7 MiB/s | 401.1 KiB | 00m00s [ 52/172] Installing unzip-0:6.0-68.fc4 100% | 32.1 MiB/s | 393.8 KiB | 00m00s [ 53/172] Installing file-libs-0:5.46-7 100% | 741.1 MiB/s | 11.9 MiB | 00m00s [ 54/172] Installing file-0:5.46-7.fc44 100% | 9.0 MiB/s | 101.7 KiB | 00m00s [ 55/172] Installing pcre2-0:10.45-1.fc 100% | 341.4 MiB/s | 699.1 KiB | 00m00s [ 56/172] Installing grep-0:3.12-2.fc43 100% | 71.6 MiB/s | 1.0 MiB | 00m00s [ 57/172] Installing xz-1:5.8.1-2.fc43. 100% | 88.8 MiB/s | 1.3 MiB | 00m00s [ 58/172] Installing libeconf-0:0.7.9-2 100% | 0.0 B/s | 66.5 KiB | 00m00s [ 59/172] Installing lz4-libs-0:1.10.0- 100% | 158.6 MiB/s | 162.5 KiB | 00m00s [ 60/172] Installing json-c-0:0.18-7.fc 100% | 0.0 B/s | 84.0 KiB | 00m00s [ 61/172] Installing libsepol-0:3.9-2.f 100% | 401.8 MiB/s | 822.9 KiB | 00m00s [ 62/172] Installing libselinux-0:3.9-4 100% | 189.8 MiB/s | 194.4 KiB | 00m00s [ 63/172] Installing sed-0:4.9-5.fc43.x 100% | 65.0 MiB/s | 865.5 KiB | 00m00s [ 64/172] Installing findutils-1:4.10.0 100% | 123.9 MiB/s | 1.9 MiB | 00m00s [ 65/172] Installing libmount-0:2.41.1- 100% | 364.9 MiB/s | 373.7 KiB | 00m00s [ 66/172] Installing libsmartcols-0:2.4 100% | 177.3 MiB/s | 181.6 KiB | 00m00s [ 67/172] Installing libcap-ng-0:0.8.5- 100% | 0.0 B/s | 70.8 KiB | 00m00s [ 68/172] Installing audit-libs-0:4.1.1 100% | 372.6 MiB/s | 381.5 KiB | 00m00s [ 69/172] Installing pam-libs-0:1.7.1-3 100% | 126.0 MiB/s | 129.0 KiB | 00m00s [ 70/172] Installing libcap-0:2.76-3.fc 100% | 17.4 MiB/s | 214.3 KiB | 00m00s [ 71/172] Installing systemd-libs-0:258 100% | 389.4 MiB/s | 2.3 MiB | 00m00s [ 72/172] Installing alternatives-0:1.3 100% | 5.7 MiB/s | 63.8 KiB | 00m00s [ 73/172] Installing libffi-0:3.5.1-2.f 100% | 83.0 MiB/s | 85.0 KiB | 00m00s [ 74/172] Installing p11-kit-0:0.25.5-9 100% | 128.5 MiB/s | 2.2 MiB | 00m00s [ 75/172] Installing p11-kit-trust-0:0. 100% | 19.4 MiB/s | 397.1 KiB | 00m00s [ 76/172] Installing lua-libs-0:5.4.8-2 100% | 275.3 MiB/s | 281.9 KiB | 00m00s [ 77/172] Installing util-linux-core-0: 100% | 92.5 MiB/s | 1.5 MiB | 00m00s [ 78/172] Installing libusb1-0:1.0.29-3 100% | 168.9 MiB/s | 172.9 KiB | 00m00s [ 79/172] Installing systemd-standalone 100% | 26.1 MiB/s | 294.1 KiB | 00m00s [ 80/172] Installing libsemanage-0:3.9- 100% | 303.0 MiB/s | 310.2 KiB | 00m00s [ 81/172] Installing tar-2:1.35-6.fc43. 100% | 164.3 MiB/s | 3.0 MiB | 00m00s [ 82/172] Installing zstd-0:1.5.7-2.fc4 100% | 122.1 MiB/s | 1.7 MiB | 00m00s [ 83/172] Installing zip-0:3.0-44.fc43. 100% | 56.8 MiB/s | 698.4 KiB | 00m00s [ 84/172] Installing gnupg2-keyboxd-0:2 100% | 24.7 MiB/s | 202.7 KiB | 00m00s [ 85/172] Installing libpsl-0:0.21.5-6. 100% | 75.7 MiB/s | 77.5 KiB | 00m00s [ 86/172] Installing liblastlog2-0:2.41 100% | 7.0 MiB/s | 36.0 KiB | 00m00s [ 87/172] Installing libfdisk-0:2.41.1- 100% | 372.6 MiB/s | 381.5 KiB | 00m00s [ 88/172] Installing nettle-0:3.10.1-2. 100% | 258.4 MiB/s | 793.7 KiB | 00m00s [ 89/172] Installing gnutls-0:3.8.10-3. 100% | 383.9 MiB/s | 3.8 MiB | 00m00s [ 90/172] Installing libxml2-0:2.12.10- 100% | 113.6 MiB/s | 1.7 MiB | 00m00s [ 91/172] Installing bzip2-0:1.0.8-21.f 100% | 8.9 MiB/s | 99.8 KiB | 00m00s [ 92/172] Installing add-determinism-0: 100% | 152.7 MiB/s | 2.4 MiB | 00m00s [ 93/172] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 94/172] Installing cpio-0:2.15-6.fc43 100% | 78.5 MiB/s | 1.1 MiB | 00m00s [ 95/172] Installing diffutils-0:3.12-3 100% | 104.1 MiB/s | 1.6 MiB | 00m00s [ 96/172] Installing ed-0:1.22.2-1.fc44 100% | 13.3 MiB/s | 150.4 KiB | 00m00s [ 97/172] Installing patch-0:2.8-2.fc43 100% | 19.9 MiB/s | 224.3 KiB | 00m00s [ 98/172] Installing jansson-0:2.14-3.f 100% | 88.3 MiB/s | 90.5 KiB | 00m00s [ 99/172] Installing libgomp-0:15.2.1-1 100% | 529.8 MiB/s | 542.5 KiB | 00m00s [100/172] Installing libpkgconf-0:2.3.0 100% | 0.0 B/s | 79.2 KiB | 00m00s [101/172] Installing pkgconf-0:2.3.0-3. 100% | 8.1 MiB/s | 91.0 KiB | 00m00s [102/172] Installing pkgconf-pkg-config 100% | 177.3 KiB/s | 1.8 KiB | 00m00s [103/172] Installing libtool-ltdl-0:2.5 100% | 0.0 B/s | 71.2 KiB | 00m00s [104/172] Installing gdbm-libs-1:1.23-1 100% | 128.5 MiB/s | 131.6 KiB | 00m00s [105/172] Installing cyrus-sasl-lib-0:2 100% | 143.7 MiB/s | 2.3 MiB | 00m00s [106/172] Installing libnghttp2-0:1.66. 100% | 159.5 MiB/s | 163.3 KiB | 00m00s [107/172] Installing keyutils-libs-0:1. 100% | 0.0 B/s | 55.7 KiB | 00m00s [108/172] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 64.2 KiB | 00m00s [109/172] Installing libverto-0:0.3.2-1 100% | 26.6 MiB/s | 27.2 KiB | 00m00s [110/172] Installing xxhash-libs-0:0.8. 100% | 0.0 B/s | 91.6 KiB | 00m00s [111/172] Installing libbrotli-0:1.1.0- 100% | 408.0 MiB/s | 835.6 KiB | 00m00s [112/172] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [113/172] Installing elfutils-default-y 100% | 291.9 KiB/s | 2.0 KiB | 00m00s [114/172] Installing elfutils-libs-0:0. 100% | 223.1 MiB/s | 685.2 KiB | 00m00s [115/172] Installing coreutils-common-0 100% | 434.3 MiB/s | 11.3 MiB | 00m00s [116/172] Installing openssl-libs-1:3.5 100% | 485.3 MiB/s | 9.2 MiB | 00m00s [117/172] Installing coreutils-0:9.7-5. 100% | 175.7 MiB/s | 5.4 MiB | 00m00s [118/172] Installing ca-certificates-0: 100% | 2.3 MiB/s | 2.5 MiB | 00m01s [119/172] Installing libarchive-0:3.8.1 100% | 232.7 MiB/s | 953.1 KiB | 00m00s [120/172] Installing krb5-libs-0:1.21.3 100% | 152.8 MiB/s | 2.3 MiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.1.3-8.fc43.x86_64 >>> Finished sysusers scriptlet: tpm2-tss-0:4.1.3-8.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. >>> [121/172] Installing tpm2-tss-0:4.1.3-8 100% | 314.4 MiB/s | 1.6 MiB | 00m00s [122/172] Installing ima-evm-utils-libs 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [123/172] Installing gnupg2-gpg-agent-0 100% | 31.4 MiB/s | 675.4 KiB | 00m00s [124/172] Installing libssh-0:0.11.2-2. 100% | 277.7 MiB/s | 568.7 KiB | 00m00s [125/172] Installing gzip-0:1.14-1.fc44 100% | 32.8 MiB/s | 403.3 KiB | 00m00s [126/172] Installing rpm-sequoia-0:1.9. 100% | 413.1 MiB/s | 2.5 MiB | 00m00s [127/172] Installing rpm-libs-0:5.99.92 100% | 304.4 MiB/s | 935.3 KiB | 00m00s [128/172] Installing libfsverity-0:1.6- 100% | 0.0 B/s | 29.5 KiB | 00m00s [129/172] Installing libevent-0:2.1.12- 100% | 288.7 MiB/s | 886.8 KiB | 00m00s [130/172] Installing openldap-0:2.6.10- 100% | 322.1 MiB/s | 659.6 KiB | 00m00s [131/172] Installing libcurl-0:8.16.0~r 100% | 299.7 MiB/s | 920.8 KiB | 00m00s [132/172] Installing elfutils-debuginfo 100% | 7.7 MiB/s | 86.2 KiB | 00m00s [133/172] Installing elfutils-0:0.193-3 100% | 171.7 MiB/s | 2.9 MiB | 00m00s [134/172] Installing binutils-0:2.45-3. 100% | 353.9 MiB/s | 26.5 MiB | 00m00s [135/172] Installing gdb-minimal-0:16.3 100% | 323.3 MiB/s | 13.3 MiB | 00m00s [136/172] Installing debugedit-0:5.2-2. 100% | 16.3 MiB/s | 200.5 KiB | 00m00s [137/172] Installing curl-0:8.16.0~rc2- 100% | 22.2 MiB/s | 478.1 KiB | 00m00s [138/172] Installing rpm-0:5.99.92-1.fc 100% | 83.1 MiB/s | 2.5 MiB | 00m00s [139/172] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.1 KiB | 00m00s [140/172] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [141/172] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [142/172] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 9.3 KiB | 00m00s [143/172] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [144/172] Installing gnupg2-dirmngr-0:2 100% | 31.9 MiB/s | 621.1 KiB | 00m00s [145/172] Installing gnupg2-0:2.4.8-4.f 100% | 242.6 MiB/s | 6.6 MiB | 00m00s [146/172] Installing rpm-sign-libs-0:5. 100% | 0.0 B/s | 40.6 KiB | 00m00s [147/172] Installing rpm-build-libs-0:5 100% | 266.8 MiB/s | 273.2 KiB | 00m00s [148/172] Installing gpgverify-0:2.2-3. 100% | 0.0 B/s | 9.4 KiB | 00m00s [149/172] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [150/172] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 740.0 B | 00m00s [151/172] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [152/172] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [153/172] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [154/172] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [155/172] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.1 KiB | 00m00s [156/172] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [157/172] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [158/172] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [159/172] Installing gap-srpm-macros-0: 100% | 0.0 B/s | 2.6 KiB | 00m00s [160/172] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [161/172] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [162/172] Installing rpm-build-0:5.99.9 100% | 22.1 MiB/s | 294.3 KiB | 00m00s [163/172] Installing pyproject-srpm-mac 100% | 0.0 B/s | 2.5 KiB | 00m00s [164/172] Installing redhat-rpm-config- 100% | 92.5 MiB/s | 189.4 KiB | 00m00s [165/172] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [166/172] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [167/172] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 62.7 KiB | 00m00s [168/172] Installing python-srpm-macros 100% | 0.0 B/s | 52.8 KiB | 00m00s [169/172] Installing which-0:2.23-3.fc4 100% | 7.0 MiB/s | 85.7 KiB | 00m00s [170/172] Installing util-linux-0:2.41. 100% | 105.0 MiB/s | 3.6 MiB | 00m00s [171/172] Installing shadow-utils-2:4.1 100% | 147.0 MiB/s | 4.0 MiB | 00m00s [172/172] Installing info-0:7.2-6.fc43. 100% | 249.7 KiB/s | 354.3 KiB | 00m01s Warning: skipped OpenPGP checks for 14 packages from repository: copr_base 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-2.fc43.x86_64 alternatives-1.33-2.fc43.x86_64 ansible-srpm-macros-1-18.1.fc43.noarch audit-libs-4.1.1-2.fc44.x86_64 bash-5.3.0-2.fc43.x86_64 binutils-2.45-3.fc44.x86_64 build-reproducibility-srpm-macros-0.6.0-2.fc43.noarch bzip2-1.0.8-21.fc43.x86_64 bzip2-libs-1.0.8-21.fc43.x86_64 ca-certificates-2025.2.80_v9.0.304-2.fc44.noarch coreutils-9.7-5.fc43.x86_64 coreutils-common-9.7-5.fc43.x86_64 cpio-2.15-6.fc43.x86_64 crypto-policies-20250714-4.gitcd6043a.fc44.noarch curl-8.16.0~rc2-1.fc44.x86_64 cyrus-sasl-lib-2.1.28-33.fc44.x86_64 debugedit-5.2-2.fc43.x86_64 diffutils-3.12-3.fc43.x86_64 dwz-0.16-2.fc43.x86_64 ed-1.22.2-1.fc44.x86_64 efi-srpm-macros-6-4.fc43.noarch elfutils-0.193-3.fc43.x86_64 elfutils-debuginfod-client-0.193-3.fc43.x86_64 elfutils-default-yama-scope-0.193-3.fc43.noarch elfutils-libelf-0.193-3.fc43.x86_64 elfutils-libs-0.193-3.fc43.x86_64 fedora-gpg-keys-44-0.1.noarch fedora-release-44-0.2.noarch fedora-release-common-44-0.2.noarch fedora-release-identity-basic-44-0.2.noarch fedora-repos-44-0.1.noarch fedora-repos-rawhide-44-0.1.noarch file-5.46-7.fc44.x86_64 file-libs-5.46-7.fc44.x86_64 filesystem-3.18-50.fc43.x86_64 filesystem-srpm-macros-3.18-50.fc43.noarch findutils-4.10.0-6.fc43.x86_64 fonts-srpm-macros-2.0.5-23.fc43.noarch forge-srpm-macros-0.4.0-3.fc43.noarch fpc-srpm-macros-1.3-15.fc43.noarch gap-srpm-macros-1-1.fc44.noarch gawk-5.3.2-2.fc43.x86_64 gdb-minimal-16.3-5.fc44.x86_64 gdbm-libs-1.23-10.fc43.x86_64 ghc-srpm-macros-1.9.2-3.fc43.noarch glibc-2.42.9000-3.fc44.x86_64 glibc-common-2.42.9000-3.fc44.x86_64 glibc-gconv-extra-2.42.9000-3.fc44.x86_64 glibc-minimal-langpack-2.42.9000-3.fc44.x86_64 gmp-6.3.0-4.fc43.x86_64 gnat-srpm-macros-6-8.fc43.noarch gnupg2-2.4.8-4.fc43.x86_64 gnupg2-dirmngr-2.4.8-4.fc43.x86_64 gnupg2-gpg-agent-2.4.8-4.fc43.x86_64 gnupg2-gpgconf-2.4.8-4.fc43.x86_64 gnupg2-keyboxd-2.4.8-4.fc43.x86_64 gnupg2-verify-2.4.8-4.fc43.x86_64 gnutls-3.8.10-3.fc43.x86_64 go-srpm-macros-3.7.0-4.fc43.noarch gpg-pubkey-36f612dcf27f7d1a48a835e4dbfcf71c6d9f90a6-6786af3b gpg-pubkey-4f50a6114cd5c6976a7f1179655a4b02f577861e-6888bc98 gpg-pubkey-c6e7f081cf80e13146676e88829b606631645531-66b6dccf gpgverify-2.2-3.fc43.noarch grep-3.12-2.fc43.x86_64 gzip-1.14-1.fc44.x86_64 ima-evm-utils-libs-1.6.2-6.fc43.x86_64 info-7.2-6.fc43.x86_64 jansson-2.14-3.fc43.x86_64 java-srpm-macros-1-7.fc43.noarch json-c-0.18-7.fc43.x86_64 kernel-srpm-macros-1.0-27.fc43.noarch keyutils-libs-1.6.3-6.fc43.x86_64 krb5-libs-1.21.3-7.fc43.x86_64 libacl-2.3.2-4.fc43.x86_64 libarchive-3.8.1-3.fc43.x86_64 libassuan-2.5.7-4.fc43.x86_64 libattr-2.5.2-6.fc43.x86_64 libblkid-2.41.1-16.fc44.x86_64 libbrotli-1.1.0-9.fc44.x86_64 libcap-2.76-3.fc44.x86_64 libcap-ng-0.8.5-7.fc44.x86_64 libcom_err-1.47.3-2.fc43.x86_64 libcurl-8.16.0~rc2-1.fc44.x86_64 libeconf-0.7.9-2.fc43.x86_64 libevent-2.1.12-16.fc43.x86_64 libfdisk-2.41.1-16.fc44.x86_64 libffi-3.5.1-2.fc43.x86_64 libfsverity-1.6-3.fc43.x86_64 libgcc-15.2.1-1.fc44.1.x86_64 libgcrypt-1.11.1-2.fc43.x86_64 libgomp-15.2.1-1.fc44.1.x86_64 libgpg-error-1.55-2.fc43.x86_64 libidn2-2.3.8-2.fc43.x86_64 libksba-1.6.7-4.fc43.x86_64 liblastlog2-2.41.1-16.fc44.x86_64 libmount-2.41.1-16.fc44.x86_64 libnghttp2-1.66.0-2.fc43.x86_64 libpkgconf-2.3.0-3.fc43.x86_64 libpsl-0.21.5-6.fc43.x86_64 libselinux-3.9-4.fc44.x86_64 libsemanage-3.9-3.fc44.x86_64 libsepol-3.9-2.fc43.x86_64 libsmartcols-2.41.1-16.fc44.x86_64 libssh-0.11.2-2.fc43.x86_64 libssh-config-0.11.2-2.fc43.noarch libstdc++-15.2.1-1.fc44.1.x86_64 libtasn1-4.20.0-2.fc43.x86_64 libtool-ltdl-2.5.4-7.fc43.x86_64 libunistring-1.1-10.fc43.x86_64 libusb1-1.0.29-3.fc43.x86_64 libuuid-2.41.1-16.fc44.x86_64 libverto-0.3.2-11.fc43.x86_64 libxcrypt-4.4.38-8.fc43.x86_64 libxml2-2.12.10-4.fc44.x86_64 libzstd-1.5.7-2.fc43.x86_64 lua-libs-5.4.8-2.fc43.x86_64 lua-srpm-macros-1-16.fc43.noarch lz4-libs-1.10.0-3.fc43.x86_64 mpfr-4.2.2-2.fc43.x86_64 ncurses-base-6.5-7.20250614.fc43.noarch ncurses-libs-6.5-7.20250614.fc43.x86_64 nettle-3.10.1-2.fc43.x86_64 npth-1.8-3.fc43.x86_64 ocaml-srpm-macros-11-2.fc43.noarch openblas-srpm-macros-2-20.fc43.noarch openldap-2.6.10-3.fc43.x86_64 openssl-libs-3.5.1-3.fc44.x86_64 p11-kit-0.25.5-9.fc43.x86_64 p11-kit-trust-0.25.5-9.fc43.x86_64 package-notes-srpm-macros-0.5-14.fc43.noarch pam-libs-1.7.1-3.fc43.x86_64 patch-2.8-2.fc43.x86_64 pcre2-10.45-1.fc43.1.x86_64 pcre2-syntax-10.45-1.fc43.1.noarch perl-srpm-macros-1-60.fc43.noarch pkgconf-2.3.0-3.fc43.x86_64 pkgconf-m4-2.3.0-3.fc43.noarch pkgconf-pkg-config-2.3.0-3.fc43.x86_64 popt-1.19-9.fc43.x86_64 publicsuffix-list-dafsa-20250616-2.fc43.noarch pyproject-srpm-macros-1.18.3-2.fc43.noarch python-srpm-macros-3.14-6.fc44.noarch qt5-srpm-macros-5.15.17-2.fc43.noarch qt6-srpm-macros-6.9.1-2.fc43.noarch readline-8.3-2.fc43.x86_64 redhat-rpm-config-343-13.fc44.noarch rpm-5.99.92-1.fc44.x86_64 rpm-build-5.99.92-1.fc44.x86_64 rpm-build-libs-5.99.92-1.fc44.x86_64 rpm-libs-5.99.92-1.fc44.x86_64 rpm-sequoia-1.9.0-2.fc43.x86_64 rpm-sign-libs-5.99.92-1.fc44.x86_64 rust-srpm-macros-26.4-1.fc44.noarch sed-4.9-5.fc43.x86_64 setup-2.15.0-26.fc43.noarch shadow-utils-4.18.0-3.fc43.x86_64 sqlite-libs-3.50.2-2.fc43.x86_64 systemd-libs-258~rc3-2.fc44.x86_64 systemd-standalone-sysusers-258~rc3-2.fc44.x86_64 tar-1.35-6.fc43.x86_64 tpm2-tss-4.1.3-8.fc43.x86_64 tree-sitter-srpm-macros-0.4.2-1.fc43.noarch unzip-6.0-68.fc44.x86_64 util-linux-2.41.1-16.fc44.x86_64 util-linux-core-2.41.1-16.fc44.x86_64 which-2.23-3.fc43.x86_64 xxhash-libs-0.8.3-3.fc43.x86_64 xz-5.8.1-2.fc43.x86_64 xz-libs-5.8.1-2.fc43.x86_64 zig-srpm-macros-1-5.fc43.noarch zip-3.0-44.fc43.x86_64 zlib-ng-compat-2.2.5-1.fc43.x86_64 zstd-1.5.7-2.fc43.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1755216000 Wrote: /builddir/build/SRPMS/python-gql-3.5.3-5.fc44.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-1756508389.469990/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-rqu7rodg/python-gql/python-gql.spec) Config(child) 0 minutes 11 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.3-5.fc44.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1756508389.469990/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1756508389.469990/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-1756508389.469990/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.92-1.fc44.x86_64 rpm-sequoia-1.9.0-2.fc43.x86_64 dnf5-5.2.16.0-3.fc44.x86_64 dnf5-plugins-5.2.16.0-3.fc44.x86_64 Finish: chroot init Start: build phase for python-gql-3.5.3-5.fc44.src.rpm Start: build setup for python-gql-3.5.3-5.fc44.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1755216000 Wrote: /builddir/build/SRPMS/python-gql-3.5.3-5.fc44.src.rpm Updating and loading repositories: Copr repository 100% | 5.5 KiB/s | 1.6 KiB | 00m00s fedora 100% | 76.0 KiB/s | 27.4 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Upgrading: python-srpm-macros noarch 3.14-7.fc44 fedora 51.5 KiB replacing python-srpm-macros noarch 3.14-6.fc44 fedora 51.5 KiB Installing: python3-devel x86_64 3.14.0~rc2-1.fc44 copr_base 1.9 MiB Installing dependencies: expat x86_64 2.7.1-3.fc43 fedora 294.2 KiB mpdecimal x86_64 4.0.1-2.fc43 fedora 217.2 KiB pyproject-rpm-macros noarch 1.18.3-2.fc43 fedora 114.5 KiB python-pip-wheel noarch 25.2-2.fc44 copr_base 1.2 MiB python-rpm-macros noarch 3.14-7.fc44 fedora 27.6 KiB python3 x86_64 3.14.0~rc2-1.fc44 copr_base 28.9 KiB python3-libs x86_64 3.14.0~rc2-1.fc44 copr_base 42.9 MiB python3-packaging noarch 25.0-5.fc44 copr_base 607.5 KiB python3-rpm-generators noarch 14-13.fc43 fedora 81.7 KiB python3-rpm-macros noarch 3.14-7.fc44 fedora 6.5 KiB tzdata noarch 2025b-3.fc43 fedora 1.6 MiB Transaction Summary: Installing: 12 packages Upgrading: 1 package Replacing: 1 package Total size of inbound packages is 12 MiB. Need to download 55 KiB. After this operation, 49 MiB extra will be used (install 49 MiB, remove 52 KiB). [ 1/13] python3-devel-0:3.14.0~rc2-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/13] python3-0:3.14.0~rc2-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/13] python3-libs-0:3.14.0~rc2-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/13] expat-0:2.7.1-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/13] mpdecimal-0:4.0.1-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/13] tzdata-0:2025b-3.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/13] python-pip-wheel-0:25.2-2.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/13] pyproject-rpm-macros-0:1.18.3-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/13] python3-rpm-generators-0:14-13. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/13] python3-packaging-0:25.0-5.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/13] python3-rpm-macros-0:3.14-7.fc4 100% | 854.8 KiB/s | 12.0 KiB | 00m00s [12/13] python-rpm-macros-0:3.14-7.fc44 100% | 809.0 KiB/s | 19.4 KiB | 00m00s [13/13] python-srpm-macros-0:3.14-7.fc4 100% | 982.3 KiB/s | 23.6 KiB | 00m00s -------------------------------------------------------------------------------- [13/13] Total 100% | 1.5 MiB/s | 55.0 KiB | 00m00s Running transaction [ 1/16] Verify package files 100% | 276.0 B/s | 13.0 B | 00m00s [ 2/16] Prepare transaction 100% | 583.0 B/s | 14.0 B | 00m00s [ 3/16] Upgrading python-srpm-macros-0: 100% | 51.6 MiB/s | 52.8 KiB | 00m00s [ 4/16] Installing python-rpm-macros-0: 100% | 0.0 B/s | 28.5 KiB | 00m00s [ 5/16] Installing python3-rpm-macros-0 100% | 0.0 B/s | 6.8 KiB | 00m00s [ 6/16] Installing pyproject-rpm-macros 100% | 113.7 MiB/s | 116.5 KiB | 00m00s [ 7/16] Installing python-pip-wheel-0:2 100% | 235.8 MiB/s | 1.2 MiB | 00m00s [ 8/16] Installing tzdata-0:2025b-3.fc4 100% | 67.6 MiB/s | 1.9 MiB | 00m00s [ 9/16] Installing mpdecimal-0:4.0.1-2. 100% | 213.7 MiB/s | 218.8 KiB | 00m00s [10/16] Installing expat-0:2.7.1-3.fc43 100% | 17.0 MiB/s | 296.3 KiB | 00m00s [11/16] Installing python3-libs-0:3.14. 100% | 346.5 MiB/s | 43.3 MiB | 00m00s [12/16] Installing python3-0:3.14.0~rc2 100% | 2.3 MiB/s | 30.7 KiB | 00m00s [13/16] Installing python3-packaging-0: 100% | 201.8 MiB/s | 620.0 KiB | 00m00s [14/16] Installing python3-rpm-generato 100% | 81.0 MiB/s | 82.9 KiB | 00m00s [15/16] Installing python3-devel-0:3.14 100% | 104.7 MiB/s | 2.0 MiB | 00m00s [16/16] Removing python-srpm-macros-0:3 100% | 470.0 B/s | 8.0 B | 00m00s Warning: skipped OpenPGP checks for 5 packages from repository: copr_base Complete! Finish: build setup for python-gql-3.5.3-5.fc44.src.rpm Start: rpmbuild python-gql-3.5.3-5.fc44.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1755216000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.PtDHxr Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KVJ07f + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.3-build + cd /builddir/build/BUILD/python-gql-3.5.3-build + rm -rf gql-3.5.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gql-3.5.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gql-3.5.3 + /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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.aECbz7 + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.3-build + cd gql-3.5.3 + 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.3-build/gql-3.5.3/.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.3-build/gql-3.5.3/.pyproject-builddir + RPM_TOXENV=py314 + FEDORA=44 + 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.3-build/gql-3.5.3/pyproject-wheeldir --output /builddir/build/BUILD/python-gql-3.5.3-build/python-gql-3.5.3-5.fc44.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.3-build/python-gql-3.5.3-5.fc44.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-gql-3.5.3-5.fc44.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Copr repository 100% | 4.3 KiB/s | 1.6 KiB | 00m00s fedora 100% | 58.4 KiB/s | 27.4 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.18.3-2.fc43.noarch" is already installed. Package "python3-devel-3.14.0~rc2-1.fc44.x86_64" is already installed. Package "python3-packaging-25.0-5.fc44.noarch" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 25.2-2.fc44 copr_base 11.3 MiB python3-setuptools noarch 78.1.1-12.fc44 fedora 9.0 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.2-2.fc44.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/2] python3-setuptools-0:78.1.1-12.fc 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% | 125.0 B/s | 2.0 B | 00m00s [2/4] Prepare transaction 100% | 100.0 B/s | 2.0 B | 00m00s [3/4] Installing python3-setuptools-0:7 100% | 230.5 MiB/s | 9.2 MiB | 00m00s [4/4] Installing python3-pip-0:25.2-2.f 100% | 157.9 MiB/s | 11.5 MiB | 00m00s Warning: skipped OpenPGP checks for 1 package from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1755216000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.6N5hMd + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.3-build + cd gql-3.5.3 + 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.3-build/gql-3.5.3/.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.3-build/gql-3.5.3/.pyproject-builddir + RPM_TOXENV=py314 + FEDORA=44 + 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.3-build/gql-3.5.3/pyproject-wheeldir --output /builddir/build/BUILD/python-gql-3.5.3-build/python-gql-3.5.3-5.fc44.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.14/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.3-build/python-gql-3.5.3-5.fc44.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-gql-3.5.3-5.fc44.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Copr repository 100% | 4.0 KiB/s | 1.6 KiB | 00m00s fedora 100% | 54.1 KiB/s | 27.4 KiB | 00m01s Repositories loaded. Package "pyproject-rpm-macros-1.18.3-2.fc43.noarch" is already installed. Package "python3-devel-3.14.0~rc2-1.fc44.x86_64" is already installed. Package "python3-packaging-25.0-5.fc44.noarch" is already installed. Package "python3-pip-25.2-2.fc44.noarch" is already installed. Package "python3-setuptools-78.1.1-12.fc44.noarch" is already installed. Package Arch Version Repository Size Installing: python3-tox-current-env noarch 0.0.16-6.fc44 fedora 78.4 KiB Installing dependencies: python-setuptools-wheel noarch 78.1.1-12.fc44 fedora 1.1 MiB python3-cachetools noarch 6.2.0-1.fc44 copr_base 152.1 KiB python3-chardet noarch 5.2.0-21.fc44 fedora 2.1 MiB python3-colorama noarch 0.4.6-13.fc44 fedora 190.4 KiB python3-distlib noarch 0.4.0-1.fc44 copr_base 1.2 MiB python3-filelock noarch 3.15.4-9.fc44 fedora 97.0 KiB python3-platformdirs noarch 4.2.2-7.fc44 fedora 177.6 KiB python3-pluggy noarch 1.6.0-3.fc44 copr_base 211.0 KiB python3-pyproject-api noarch 1.9.1-4.fc44 fedora 85.0 KiB python3-virtualenv noarch 20.34.0-2.fc44 copr_base 720.0 KiB tox noarch 4.26.0-6.fc44 copr_base 1.4 MiB Transaction Summary: Installing: 12 packages Total size of inbound packages is 3 MiB. Need to download 0 B. After this operation, 7 MiB extra will be used (install 7 MiB, remove 0 B). [ 1/12] python3-tox-current-env-0:0.0.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/12] tox-0:4.26.0-6.fc44.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/12] python3-cachetools-0:6.2.0-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/12] python3-chardet-0:5.2.0-21.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/12] python3-colorama-0:0.4.6-13.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/12] python3-filelock-0:3.15.4-9.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/12] python3-platformdirs-0:4.2.2-7. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/12] python3-pluggy-0:1.6.0-3.fc44.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/12] python3-pyproject-api-0:1.9.1-4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/12] python3-virtualenv-0:20.34.0-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/12] python3-distlib-0:0.4.0-1.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/12] python-setuptools-wheel-0:78.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/14] Verify package files 100% | 1.2 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% | 89.8 MiB/s | 184.0 KiB | 00m00s [ 4/14] Installing python3-filelock-0:3 100% | 101.4 MiB/s | 103.9 KiB | 00m00s [ 5/14] Installing python-setuptools-wh 100% | 573.9 MiB/s | 1.1 MiB | 00m00s [ 6/14] Installing python3-distlib-0:0. 100% | 399.3 MiB/s | 1.2 MiB | 00m00s [ 7/14] Installing python3-virtualenv-0 100% | 38.7 MiB/s | 792.4 KiB | 00m00s [ 8/14] Installing python3-pyproject-ap 100% | 89.0 MiB/s | 91.2 KiB | 00m00s [ 9/14] Installing python3-pluggy-0:1.6 100% | 212.4 MiB/s | 217.5 KiB | 00m00s [10/14] Installing python3-colorama-0:0 100% | 97.8 MiB/s | 200.3 KiB | 00m00s [11/14] Installing python3-chardet-0:5. 100% | 125.4 MiB/s | 2.1 MiB | 00m00s [12/14] Installing python3-cachetools-0 100% | 76.7 MiB/s | 157.0 KiB | 00m00s [13/14] Installing tox-0:4.26.0-6.fc44. 100% | 72.9 MiB/s | 1.5 MiB | 00m00s [14/14] Installing python3-tox-current- 100% | 7.4 MiB/s | 82.9 KiB | 00m00s Warning: skipped OpenPGP checks for 5 packages from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1755216000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.AZUnE9 + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.3-build + cd gql-3.5.3 + 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.3-build/gql-3.5.3/.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.3-build/gql-3.5.3/.pyproject-builddir + RPM_TOXENV=py314 + FEDORA=44 + 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.3-build/gql-3.5.3/pyproject-wheeldir --output /builddir/build/BUILD/python-gql-3.5.3-build/python-gql-3.5.3-5.fc44.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.14/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) py314: OK (0.00 seconds) congratulations :) (0.10 seconds) Handling tox from tox --print-deps-only: py314 Requirement satisfied: tox (installed: tox 4.26.0) py314: OK (0.00 seconds) congratulations :) (0.09 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.3-build/gql-3.5.3/gql-3.5.3.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.14/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.3-build/python-gql-3.5.3-5.fc44.x86_64-pyproject-buildrequires + rm -rfv gql-3.5.3.dist-info/ removed 'gql-3.5.3.dist-info/licenses/LICENSE' removed directory 'gql-3.5.3.dist-info/licenses' removed 'gql-3.5.3.dist-info/METADATA' removed 'gql-3.5.3.dist-info/entry_points.txt' removed 'gql-3.5.3.dist-info/top_level.txt' removed directory 'gql-3.5.3.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-gql-3.5.3-5.fc44.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Copr repository 100% | 18.2 KiB/s | 1.6 KiB | 00m00s fedora 100% | 188.0 KiB/s | 27.4 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.18.3-2.fc43.noarch" is already installed. Package "python3-devel-3.14.0~rc2-1.fc44.x86_64" is already installed. Package "python3-packaging-25.0-5.fc44.noarch" is already installed. Package "python3-pip-25.2-2.fc44.noarch" is already installed. Package "python3-setuptools-78.1.1-12.fc44.noarch" is already installed. Package "tox-4.26.0-6.fc44.noarch" is already installed. Package "python3-tox-current-env-0.0.16-6.fc44.noarch" is already installed. Package Arch Version Repository Size Installing: python3-aiofiles noarch 24.1.0-7.fc44 fedora 86.8 KiB python3-aiohttp x86_64 3.12.15-2.fc44 fedora 4.0 MiB python3-anyio noarch 4.8.0-6.fc44 copr_base 1.2 MiB python3-backoff noarch 2.2.1-12.fc44 copr_base 107.5 KiB python3-botocore noarch 1.40.20-1.fc44 fedora 104.5 MiB python3-graphql-core noarch 3.2.6-2.fc44 fedora 1.7 MiB python3-httpx noarch 0.28.1-4.fc43 copr_base 992.1 KiB python3-parse noarch 1.20.2-6.fc44 fedora 118.2 KiB python3-pytest noarch 8.3.5-8.fc44 fedora 21.6 MiB python3-pytest-asyncio noarch 1.1.0-1.fc44 copr_base 130.7 KiB python3-pytest-console-scripts noarch 1.4.1-11.fc44 fedora 81.5 KiB python3-pytest-cov noarch 6.2.1-1.fc43 copr_base 185.8 KiB python3-requests noarch 2.32.5-1.fc44 copr_base 476.9 KiB python3-requests-toolbelt noarch 1.0.0-13.fc44 copr_base 299.4 KiB python3-vcrpy noarch 7.0.0-5.fc44 copr_base 310.0 KiB python3-websockets x86_64 15.0.1-8.fc44 fedora 1.8 MiB python3-yarl x86_64 1.18.3-5.fc44 copr_base 571.6 KiB Installing dependencies: libyaml x86_64 0.2.5-17.fc43 fedora 134.6 KiB llhttp x86_64 9.3.0-5.fc43 fedora 92.6 KiB python3-aiohappyeyeballs noarch 2.6.1-8.fc44 copr_base 102.5 KiB python3-aiosignal noarch 1.4.0-3.fc44 fedora 24.8 KiB python3-attrs noarch 25.3.0-5.fc44 fedora 410.7 KiB python3-certifi noarch 2025.07.09-2.fc44 fedora 7.4 KiB python3-charset-normalizer noarch 3.4.3-2.fc44 fedora 355.7 KiB python3-coverage x86_64 7.10.2-2.fc44 copr_base 2.0 MiB python3-coverage+toml x86_64 7.10.2-2.fc44 copr_base 19.6 KiB python3-dateutil noarch 1:2.9.0.post0-5.fc44 fedora 877.5 KiB python3-frozenlist x86_64 1.7.0-2.fc44 fedora 147.8 KiB python3-h11 noarch 0.16.0-4.fc44 fedora 279.9 KiB python3-httpcore noarch 1.0.9-4.fc44 fedora 853.9 KiB python3-idna noarch 3.10-5.fc44 fedora 730.6 KiB python3-iniconfig noarch 2.1.0-2.fc44 fedora 42.4 KiB python3-jmespath noarch 1.0.1-12.fc44 copr_base 150.8 KiB python3-multidict x86_64 6.6.4-1.fc44 copr_base 323.3 KiB python3-propcache x86_64 0.2.0-4.fc44 fedora 138.4 KiB python3-pyyaml x86_64 6.0.2-6.fc44 copr_base 793.4 KiB python3-six noarch 1.17.0-6.fc44 fedora 118.0 KiB python3-sniffio noarch 1.3.1-7.fc44 fedora 35.3 KiB python3-urllib3 noarch 2.5.0-2.fc44 fedora 1.1 MiB python3-wrapt x86_64 1.17.1-5.fc44 fedora 199.0 KiB Transaction Summary: Installing: 40 packages Total size of inbound packages is 16 MiB. Need to download 12 MiB. After this operation, 147 MiB extra will be used (install 147 MiB, remove 0 B). [ 1/40] python3-requests-0:2.32.5-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/40] python3-pytest-0:8.3.5-8.fc44.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/40] python3-iniconfig-0:2.1.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/40] python3-urllib3-0:2.5.0-2.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/40] python3-attrs-0:25.3.0-5.fc44.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/40] python3-idna-0:3.10-5.fc44.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/40] python3-pyyaml-0:6.0.2-6.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/40] libyaml-0:0.2.5-17.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/40] python3-wrapt-0:1.17.1-5.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/40] python3-charset-normalizer-0:3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/40] python3-coverage-0:7.10.2-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/40] python3-aiohttp-0:3.12.15-2.fc4 100% | 8.9 MiB/s | 846.7 KiB | 00m00s [13/40] python3-backoff-0:2.2.1-12.fc44 100% | 211.2 KiB/s | 37.4 KiB | 00m00s [14/40] python3-anyio-0:4.8.0-6.fc44.no 100% | 1.3 MiB/s | 251.3 KiB | 00m00s [15/40] python3-graphql-core-0:3.2.6-2. 100% | 23.0 MiB/s | 494.5 KiB | 00m00s [16/40] python3-requests-toolbelt-0:1.0 100% | 736.6 KiB/s | 101.7 KiB | 00m00s [17/40] python3-httpx-0:0.28.1-4.fc43.n 100% | 1.1 MiB/s | 201.1 KiB | 00m00s [18/40] python3-aiofiles-0:24.1.0-7.fc4 100% | 4.1 MiB/s | 42.0 KiB | 00m00s [19/40] python3-parse-0:1.20.2-6.fc44.n 100% | 4.4 MiB/s | 40.7 KiB | 00m00s [20/40] python3-pytest-asyncio-0:1.1.0- 100% | 212.7 KiB/s | 41.5 KiB | 00m00s [21/40] python3-pytest-console-scripts- 100% | 802.3 KiB/s | 28.1 KiB | 00m00s [22/40] python3-pytest-cov-0:6.2.1-1.fc 100% | 360.1 KiB/s | 54.4 KiB | 00m00s [23/40] python3-yarl-0:1.18.3-5.fc44.x8 100% | 184.5 KiB/s | 146.1 KiB | 00m01s [24/40] python3-websockets-0:15.0.1-8.f 100% | 10.2 MiB/s | 334.5 KiB | 00m00s [25/40] llhttp-0:9.3.0-5.fc43.x86_64 100% | 2.2 MiB/s | 38.8 KiB | 00m00s [26/40] python3-dateutil-1:2.9.0.post0- 100% | 24.0 MiB/s | 344.2 KiB | 00m00s [27/40] python3-six-0:1.17.0-6.fc44.noa 100% | 5.8 MiB/s | 41.8 KiB | 00m00s [28/40] python3-vcrpy-0:7.0.0-5.fc44.no 100% | 239.5 KiB/s | 109.5 KiB | 00m00s [29/40] python3-aiohappyeyeballs-0:2.6. 100% | 335.5 KiB/s | 39.3 KiB | 00m00s [30/40] python3-aiosignal-0:1.4.0-3.fc4 100% | 1.2 MiB/s | 19.8 KiB | 00m00s [31/40] python3-frozenlist-0:1.7.0-2.fc 100% | 2.8 MiB/s | 58.3 KiB | 00m00s [32/40] python3-multidict-0:6.6.4-1.fc4 100% | 479.4 KiB/s | 87.2 KiB | 00m00s [33/40] python3-propcache-0:0.2.0-4.fc4 100% | 3.8 MiB/s | 62.3 KiB | 00m00s [34/40] python3-coverage+toml-0:7.10.2- 100% | 124.4 KiB/s | 9.3 KiB | 00m00s [35/40] python3-certifi-0:2025.07.09-2. 100% | 745.6 KiB/s | 14.9 KiB | 00m00s [36/40] python3-httpcore-0:1.0.9-4.fc44 100% | 6.7 MiB/s | 157.3 KiB | 00m00s [37/40] python3-jmespath-0:1.0.1-12.fc4 100% | 106.4 KiB/s | 54.4 KiB | 00m01s [38/40] python3-sniffio-0:1.3.1-7.fc44. 100% | 1.3 MiB/s | 27.5 KiB | 00m00s [39/40] python3-h11-0:0.16.0-4.fc44.noa 100% | 3.3 MiB/s | 81.1 KiB | 00m00s [40/40] python3-botocore-0:1.40.20-1.fc 100% | 1.8 MiB/s | 8.1 MiB | 00m05s >>> Status code: 404 for https://mirror.us.mirhosting.net/fedora/linux/developme >>> Status code: 404 for http://mirror.us.mirhosting.net/fedora/linux/developmen >>> Status code: 404 for http://opencolo.mm.fcix.net/fedora/linux/development/ra >>> Status code: 404 for https://opencolo.mm.fcix.net/fedora/linux/development/r >>> Status code: 404 for http://forksystems.mm.fcix.net/fedora/linux/development >>> Status code: 404 for https://forksystems.mm.fcix.net/fedora/linux/developmen >>> Status code: 404 for http://cofractal-sea.mm.fcix.net/fedora/linux/developme >>> Status code: 404 for https://cofractal-sea.mm.fcix.net/fedora/linux/developm >>> Status code: 404 for http://mirror.math.princeton.edu/pub/fedora/linux/devel >>> Status code: 404 for https://coresite-atl.mm.fcix.net/fedora/linux/developme >>> Status code: 404 for http://coresite-atl.mm.fcix.net/fedora/linux/developmen >>> Status code: 404 for https://ix-denver.mm.fcix.net/fedora/linux/development/ >>> Status code: 404 for http://ix-denver.mm.fcix.net/fedora/linux/development/r >>> Status code: 404 for http://mirror.fcix.net/fedora/linux/development/rawhide >>> Status code: 404 for https://mirror.fcix.net/fedora/linux/development/rawhid >>> Status code: 404 for https://volico.mm.fcix.net/fedora/linux/development/raw >>> Status code: 404 for http://volico.mm.fcix.net/fedora/linux/development/rawh >>> Status code: 404 for http://ziply.mm.fcix.net/fedora/linux/development/rawhi >>> Status code: 404 for https://ziply.mm.fcix.net/fedora/linux/development/rawh >>> Status code: 404 for https://ohioix.mm.fcix.net/fedora/linux/development/raw >>> Status code: 404 for http://ohioix.mm.fcix.net/fedora/linux/development/rawh >>> Status code: 404 for http://paducahix.mm.fcix.net/fedora/linux/development/r >>> Status code: 404 for https://paducahix.mm.fcix.net/fedora/linux/development/ >>> Status code: 404 for https://mirror.servaxnet.com/fedora/linux/development/r >>> Status code: 404 for http://mirror.servaxnet.com/fedora/linux/development/ra >>> Status code: 404 for http://southfront.mm.fcix.net/fedora/linux/development/ >>> Status code: 404 for https://southfront.mm.fcix.net/fedora/linux/development >>> Status code: 404 for http://mirror.us.leaseweb.net/fedora/linux/development/ >>> Status code: 404 for https://solidrock.mm.fcix.net/fedora/linux/development/ >>> Status code: 404 for http://solidrock.mm.fcix.net/fedora/linux/development/r >>> Status code: 404 for https://cofractal-ewr.mm.fcix.net/fedora/linux/developm >>> Status code: 404 for http://cofractal-ewr.mm.fcix.net/fedora/linux/developme >>> Status code: 404 for https://nnenix.mm.fcix.net/fedora/linux/development/raw >>> Status code: 404 for http://nnenix.mm.fcix.net/fedora/linux/development/rawh -------------------------------------------------------------------------------- [40/40] Total 100% | 2.5 MiB/s | 11.8 MiB | 00m05s Running transaction [ 1/42] Verify package files 100% | 727.0 B/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% | 239.9 MiB/s | 737.1 KiB | 00m00s [ 4/42] Installing python3-urllib3-0:2. 100% | 277.8 MiB/s | 1.1 MiB | 00m00s [ 5/42] Installing python3-certifi-0:20 100% | 10.9 MiB/s | 11.2 KiB | 00m00s [ 6/42] Installing python3-coverage-0:7 100% | 112.8 MiB/s | 2.0 MiB | 00m00s [ 7/42] Installing python3-propcache-0: 100% | 140.6 MiB/s | 143.9 KiB | 00m00s [ 8/42] Installing python3-multidict-0: 100% | 320.6 MiB/s | 328.3 KiB | 00m00s [ 9/42] Installing python3-yarl-0:1.18. 100% | 282.6 MiB/s | 578.9 KiB | 00m00s [10/42] Installing python3-frozenlist-0 100% | 148.3 MiB/s | 151.8 KiB | 00m00s [11/42] Installing python3-aiosignal-0: 100% | 27.2 MiB/s | 27.9 KiB | 00m00s [12/42] Installing python3-coverage+tom 100% | 0.0 B/s | 124.0 B | 00m00s [13/42] Installing python3-h11-0:0.16.0 100% | 140.6 MiB/s | 287.9 KiB | 00m00s [14/42] Installing python3-httpcore-0:1 100% | 284.6 MiB/s | 874.4 KiB | 00m00s [15/42] Installing python3-sniffio-0:1. 100% | 40.0 MiB/s | 40.9 KiB | 00m00s [16/42] Installing python3-anyio-0:4.8. 100% | 251.4 MiB/s | 1.3 MiB | 00m00s [17/42] Installing python3-charset-norm 100% | 27.5 MiB/s | 365.8 KiB | 00m00s [18/42] Installing python3-requests-0:2 100% | 238.7 MiB/s | 488.9 KiB | 00m00s [19/42] Installing python3-wrapt-0:1.17 100% | 201.2 MiB/s | 206.0 KiB | 00m00s [20/42] Installing libyaml-0:0.2.5-17.f 100% | 132.8 MiB/s | 136.0 KiB | 00m00s [21/42] Installing python3-pyyaml-0:6.0 100% | 262.8 MiB/s | 807.4 KiB | 00m00s [22/42] Installing python3-attrs-0:25.3 100% | 207.5 MiB/s | 425.0 KiB | 00m00s [23/42] Installing python3-aiohappyeyeb 100% | 105.1 MiB/s | 107.7 KiB | 00m00s [24/42] Installing python3-jmespath-0:1 100% | 12.8 MiB/s | 157.2 KiB | 00m00s [25/42] Installing python3-six-0:1.17.0 100% | 117.5 MiB/s | 120.3 KiB | 00m00s [26/42] Installing python3-dateutil-1:2 100% | 290.1 MiB/s | 891.1 KiB | 00m00s [27/42] Installing python3-iniconfig-0: 100% | 22.7 MiB/s | 46.5 KiB | 00m00s [28/42] Installing python3-pytest-0:8.3 100% | 375.8 MiB/s | 21.8 MiB | 00m00s [29/42] Installing llhttp-0:9.3.0-5.fc4 100% | 91.8 MiB/s | 94.0 KiB | 00m00s [30/42] Installing python3-aiohttp-0:3. 100% | 371.2 MiB/s | 4.1 MiB | 00m00s [31/42] Installing python3-pytest-async 100% | 131.6 MiB/s | 134.8 KiB | 00m00s [32/42] Installing python3-pytest-conso 100% | 82.6 MiB/s | 84.6 KiB | 00m00s [33/42] Installing python3-pytest-cov-0 100% | 31.2 MiB/s | 191.8 KiB | 00m00s [34/42] Installing python3-botocore-0:1 100% | 514.9 MiB/s | 105.0 MiB | 00m00s [35/42] Installing python3-vcrpy-0:7.0. 100% | 107.1 MiB/s | 328.9 KiB | 00m00s [36/42] Installing python3-requests-too 100% | 105.5 MiB/s | 324.0 KiB | 00m00s [37/42] Installing python3-httpx-0:0.28 100% | 246.0 MiB/s | 1.0 MiB | 00m00s [38/42] Installing python3-websockets-0 100% | 102.5 MiB/s | 1.8 MiB | 00m00s [39/42] Installing python3-parse-0:1.20 100% | 117.5 MiB/s | 120.3 KiB | 00m00s [40/42] Installing python3-aiofiles-0:2 100% | 46.4 MiB/s | 95.1 KiB | 00m00s [41/42] Installing python3-graphql-core 100% | 194.0 MiB/s | 1.7 MiB | 00m00s [42/42] Installing python3-backoff-0:2. 100% | 5.3 MiB/s | 114.6 KiB | 00m00s Warning: skipped OpenPGP checks for 15 packages from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1755216000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4P6OKa + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.3-build + cd gql-3.5.3 + 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.3-build/gql-3.5.3/.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.3-build/gql-3.5.3/.pyproject-builddir + RPM_TOXENV=py314 + FEDORA=44 + 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.3-build/gql-3.5.3/pyproject-wheeldir --output /builddir/build/BUILD/python-gql-3.5.3-build/python-gql-3.5.3-5.fc44.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.14/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) py314: OK (0.00 seconds) congratulations :) (0.09 seconds) Handling tox from tox --print-deps-only: py314 Requirement satisfied: tox (installed: tox 4.26.0) py314: OK (0.00 seconds) congratulations :) (0.09 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.3-build/gql-3.5.3/gql-3.5.3.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.14/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.6) 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.12.15) 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.5) 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 15.0.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.40.20) 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.1.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 6.2.1) 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.3-build/python-gql-3.5.3-5.fc44.x86_64-pyproject-buildrequires + rm -rfv gql-3.5.3.dist-info/ removed 'gql-3.5.3.dist-info/licenses/LICENSE' removed directory 'gql-3.5.3.dist-info/licenses' removed 'gql-3.5.3.dist-info/METADATA' removed 'gql-3.5.3.dist-info/top_level.txt' removed 'gql-3.5.3.dist-info/entry_points.txt' removed directory 'gql-3.5.3.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-gql-3.5.3-5.fc44.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Copr repository 100% | 14.1 KiB/s | 1.6 KiB | 00m00s fedora 100% | 162.4 KiB/s | 27.4 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.18.3-2.fc43.noarch" is already installed. Package "python3-devel-3.14.0~rc2-1.fc44.x86_64" is already installed. Package "python3-aiofiles-24.1.0-7.fc44.noarch" is already installed. Package "python3-packaging-25.0-5.fc44.noarch" is already installed. Package "python3-parse-1.20.2-6.fc44.noarch" is already installed. Package "python3-pip-25.2-2.fc44.noarch" is already installed. Package "python3-pytest-8.3.5-8.fc44.noarch" is already installed. Package "python3-pytest-asyncio-1.1.0-1.fc44.noarch" is already installed. Package "python3-pytest-console-scripts-1.4.1-11.fc44.noarch" is already installed. Package "python3-pytest-cov-6.2.1-1.fc43.noarch" is already installed. Package "python3-setuptools-78.1.1-12.fc44.noarch" is already installed. Package "tox-4.26.0-6.fc44.noarch" is already installed. Package "python3-tox-current-env-0.0.16-6.fc44.noarch" is already installed. Package "python3-vcrpy-7.0.0-5.fc44.noarch" is already installed. Package "python3-websockets-15.0.1-8.fc44.x86_64" is already installed. Nothing to do. Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1755216000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Sp5z2l + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.3-build + cd gql-3.5.3 + 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.3-build/gql-3.5.3/.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.3-build/gql-3.5.3/.pyproject-builddir + RPM_TOXENV=py314 + FEDORA=44 + 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.3-build/gql-3.5.3/pyproject-wheeldir --output /builddir/build/BUILD/python-gql-3.5.3-build/python-gql-3.5.3-5.fc44.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.14/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) py314: OK (0.00 seconds) congratulations :) (0.09 seconds) Handling tox from tox --print-deps-only: py314 Requirement satisfied: tox (installed: tox 4.26.0) py314: OK (0.00 seconds) congratulations :) (0.09 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.3-build/gql-3.5.3/gql-3.5.3.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.14/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.6) 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.12.15) 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.5) 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 15.0.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.40.20) 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.1.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 6.2.1) 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.3-build/python-gql-3.5.3-5.fc44.x86_64-pyproject-buildrequires + rm -rfv gql-3.5.3.dist-info/ removed 'gql-3.5.3.dist-info/licenses/LICENSE' removed directory 'gql-3.5.3.dist-info/licenses' removed 'gql-3.5.3.dist-info/METADATA' removed 'gql-3.5.3.dist-info/entry_points.txt' removed 'gql-3.5.3.dist-info/top_level.txt' removed directory 'gql-3.5.3.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sKZWy4 + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.3-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.3 + mkdir -p /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.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.3-build/gql-3.5.3/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/pyproject-wheeldir Processing /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.14/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.3-build/gql-3.5.3/.pyproject-builddir/pip-modern-metadata-a1yjh2y8/gql.egg-info writing /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.pyproject-builddir/pip-modern-metadata-a1yjh2y8/gql.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.pyproject-builddir/pip-modern-metadata-a1yjh2y8/gql.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.pyproject-builddir/pip-modern-metadata-a1yjh2y8/gql.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.pyproject-builddir/pip-modern-metadata-a1yjh2y8/gql.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.pyproject-builddir/pip-modern-metadata-a1yjh2y8/gql.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.pyproject-builddir/pip-modern-metadata-a1yjh2y8/gql.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.pyproject-builddir/pip-modern-metadata-a1yjh2y8/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.3-build/gql-3.5.3/.pyproject-builddir/pip-modern-metadata-a1yjh2y8/gql.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.pyproject-builddir/pip-modern-metadata-a1yjh2y8/gql-3.5.3.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.14/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.14/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.14/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/cli.py -> build/lib/gql copying gql/utils.py -> build/lib/gql copying gql/graphql_request.py -> build/lib/gql copying gql/gql.py -> build/lib/gql copying gql/dsl.py -> build/lib/gql copying gql/client.py -> build/lib/gql copying gql/__version__.py -> build/lib/gql copying gql/__init__.py -> build/lib/gql creating build/lib/gql/utilities copying gql/utilities/update_schema_scalars.py -> build/lib/gql/utilities copying gql/utilities/update_schema_enum.py -> build/lib/gql/utilities copying gql/utilities/serialize_variable_values.py -> build/lib/gql/utilities copying gql/utilities/parse_result.py -> build/lib/gql/utilities copying gql/utilities/node_tree.py -> build/lib/gql/utilities copying gql/utilities/get_introspection_query_ast.py -> build/lib/gql/utilities copying gql/utilities/build_client_schema.py -> build/lib/gql/utilities copying gql/utilities/__init__.py -> build/lib/gql/utilities creating build/lib/gql/transport copying gql/transport/websockets_base.py -> build/lib/gql/transport copying gql/transport/websockets.py -> build/lib/gql/transport copying gql/transport/transport.py -> build/lib/gql/transport copying gql/transport/requests.py -> build/lib/gql/transport copying gql/transport/phoenix_channel_websockets.py -> build/lib/gql/transport copying gql/transport/local_schema.py -> build/lib/gql/transport copying gql/transport/httpx.py -> build/lib/gql/transport copying gql/transport/exceptions.py -> build/lib/gql/transport copying gql/transport/async_transport.py -> build/lib/gql/transport copying gql/transport/appsync_websockets.py -> build/lib/gql/transport copying gql/transport/appsync_auth.py -> build/lib/gql/transport copying gql/transport/aiohttp.py -> build/lib/gql/transport copying gql/transport/__init__.py -> build/lib/gql/transport 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/py.typed -> 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/__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/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 copying build/lib/gql/cli.py -> 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.3-py3.14.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/gql-3.5.3.dist-info/WHEEL creating '/builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.pyproject-builddir/pip-wheel-t07v8umi/.tmp-cq5g7aqg/gql-3.5.3-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.3.dist-info/licenses/LICENSE' adding 'gql-3.5.3.dist-info/METADATA' adding 'gql-3.5.3.dist-info/WHEEL' adding 'gql-3.5.3.dist-info/entry_points.txt' adding 'gql-3.5.3.dist-info/top_level.txt' adding 'gql-3.5.3.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.3-py2.py3-none-any.whl size=74197 sha256=6810615420f006562f0128b0b8a55f628eebd0b733d3d90bdbc4e616c4632ec4 Stored in directory: /builddir/.cache/pip/wheels/12/34/18/521d6eaf35bdb980191d845926d639876c5ca3fabfe30db2e8 Successfully built gql + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9lFFQ3 + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.3-build + '[' /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-gql-3.5.3-build + mkdir /builddir/build/BUILD/python-gql-3.5.3-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.3 ++ ls /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/pyproject-wheeldir/gql-3.5.3-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=gql==3.5.3 + '[' -z gql==3.5.3 ']' + TMPDIR=/builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-gql-3.5.3-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.3-build/gql-3.5.3/pyproject-wheeldir gql==3.5.3 Using pip 25.2 from /usr/lib/python3.14/site-packages/pip (python 3.14) Looking in links: /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/pyproject-wheeldir Processing ./pyproject-wheeldir/gql-3.5.3-py2.py3-none-any.whl Installing collected packages: gql Creating /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/bin/gql-cli to 755 Successfully installed gql-3.5.3 + '[' -d /builddir/build/BUILD/python-gql-3.5.3-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.3-build/BUILDROOT/usr/bin/gql-cli /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/bin/gql-cli: updating + rm -rfv /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-gql-3.5.3-build/python-gql-3.5.3-5.fc44.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages ']' + site_dirs+=("/usr/lib/python3.14/site-packages") + '[' /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib64/python3.14/site-packages '!=' /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages ']' + '[' -d /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib64/python3.14/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.14/site-packages/gql-3.5.3.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql-3.5.3.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.3-build/BUILDROOT --record /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql-3.5.3.dist-info/RECORD --output /builddir/build/BUILD/python-gql-3.5.3-build/python-gql-3.5.3-5.fc44.x86_64-pyproject-record + rm -fv /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql-3.5.3.dist-info/RECORD removed '/builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql-3.5.3.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql-3.5.3.dist-info/REQUESTED removed '/builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql-3.5.3.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-gql-3.5.3-build/python-gql-3.5.3-5.fc44.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.3-build/python-gql-3.5.3-5.fc44.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-gql-3.5.3-build/python-gql-3.5.3-5.fc44.x86_64-pyproject-modules --buildroot /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT --sitelib /usr/lib/python3.14/site-packages --sitearch /usr/lib64/python3.14/site-packages --python-version 3.14 --pyproject-record /builddir/build/BUILD/python-gql-3.5.3-build/python-gql-3.5.3-5.fc44.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/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.3-build/BUILDROOT/usr/lib/python3.14 using python3.14 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/utils.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/graphql_request.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/graphql_request.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/gql.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/dsl.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/dsl.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/client.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/cli.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/__version__.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/__init__.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/cli.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/utilities/__pycache__/update_schema_enum.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/utilities/__pycache__/update_schema_scalars.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/utilities/__pycache__/serialize_variable_values.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/utilities/__pycache__/get_introspection_query_ast.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/utilities/__pycache__/serialize_variable_values.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/utilities/__pycache__/__init__.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/utilities/__pycache__/build_client_schema.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/utilities/__pycache__/node_tree.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/utilities/__pycache__/node_tree.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/__pycache__/client.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/utilities/__pycache__/parse_result.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/transport.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/utilities/__pycache__/parse_result.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/websockets.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/websockets.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/requests.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/requests.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/websockets_base.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/appsync_websockets.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/local_schema.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/phoenix_channel_websockets.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/appsync_websockets.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/appsync_auth.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/websockets_base.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/httpx.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/exceptions.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/aiohttp.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/__init__.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/async_transport.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/httpx.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages/gql/transport/__pycache__/aiohttp.cpython-314.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.3ItG0z + umask 022 + cd /builddir/build/BUILD/python-gql-3.5.3-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.3 + 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.3-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin + PYTHONPATH=/builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib64/python3.14/site-packages:/builddir/build/BUILD/python-gql-3.5.3-build/BUILDROOT/usr/lib/python3.14/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + /usr/bin/pytest /usr/lib/python3.14/site-packages/pytest_asyncio/plugin.py:211: 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.14.0rc2, pytest-8.3.5, pluggy-1.6.0 rootdir: /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3 configfile: setup.cfg plugins: cov-6.2.1, console-scripts-1.4.1, asyncio-1.1.0, anyio-4.8.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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/custom_scalars/test_money.py:557 ___________ ERROR at setup of test_custom_scalar_serialize_variables ___________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/custom_scalars/test_money.py:624 _________________ ERROR at setup of test_update_schema_scalars _________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/custom_scalars/test_money.py:760 _________________ ERROR at setup of test_gql_cli_print_schema __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/custom_scalars/test_money.py:820 _____________________ ERROR at setup of test_aiohttp_query _____________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:43 __________ ERROR at setup of test_aiohttp_ignore_backend_content_type __________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:82 ____________________ ERROR at setup of test_aiohttp_cookies ____________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:111 ________________ ERROR at setup of test_aiohttp_error_code_401 _________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:144 ________________ ERROR at setup of test_aiohttp_error_code_429 _________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:175 ________________ ERROR at setup of test_aiohttp_error_code_500 _________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:256 ___________ ERROR at setup of test_aiohttp_error_code[{"errors": 5}] ___________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:256 ___________ ERROR at setup of test_aiohttp_invalid_protocol[param0] ____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:311 ___________ ERROR at setup of test_aiohttp_invalid_protocol[param1] ____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:311 ___________ ERROR at setup of test_aiohttp_invalid_protocol[param2] ____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:311 ___________ ERROR at setup of test_aiohttp_invalid_protocol[param3] ____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:311 ____________ ERROR at setup of test_aiohttp_subscribe_not_supported ____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:340 _____________ ERROR at setup of test_aiohttp_cannot_connect_twice ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:365 ________ ERROR at setup of test_aiohttp_cannot_execute_if_not_connected ________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:387 __________________ ERROR at setup of test_aiohttp_extra_args ___________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:409 _____________ ERROR at setup of test_aiohttp_query_variable_values _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:488 ___________ ERROR at setup of test_aiohttp_execute_running_in_thread ___________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:522 __________ ERROR at setup of test_aiohttp_subscribe_running_in_thread __________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:550 __________________ ERROR at setup of test_aiohttp_file_upload __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:638 _________ ERROR at setup of test_aiohttp_file_upload_with_content_type _________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:703 __________ ERROR at setup of test_aiohttp_file_upload_without_session __________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:741 ______________ ERROR at setup of test_aiohttp_binary_file_upload _______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:811 _____________ ERROR at setup of test_aiohttp_stream_reader_upload ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:846 ____________ ERROR at setup of test_aiohttp_async_generator_upload _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:883 _____________ ERROR at setup of test_aiohttp_file_upload_two_files _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1037 ___________________ ERROR at setup of test_aiohttp_using_cli ___________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1109 ___________ ERROR at setup of test_aiohttp_using_cli_ep[subprocess] ____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1144 ____________ ERROR at setup of test_aiohttp_using_cli_invalid_param ____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1182 ____________ ERROR at setup of test_aiohttp_using_cli_invalid_query ____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1218 _____________ ERROR at setup of test_aiohttp_query_with_extensions _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1258 ________________ ERROR at setup of test_aiohttp_query_https[0] _________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1285 ________________ ERROR at setup of test_aiohttp_query_https[10] ________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1285 _____________ ERROR at setup of test_aiohttp_error_fetching_schema _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1320 _____________ ERROR at setup of test_aiohttp_reconnecting_session ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1363 ______ ERROR at setup of test_aiohttp_reconnecting_session_retries[False] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1400 ____ ERROR at setup of test_aiohttp_reconnecting_session_retries[] _____ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1434 ________________ ERROR at setup of test_aiohttp_json_serializer ________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1469 _____________ ERROR at setup of test_aiohttp_connector_owner_false _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_aiohttp.py:1514 _________________ ERROR at setup of test_appsync_iam_mutation __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_graphqlws_subscription.py:808 ______________________ ERROR at setup of test_httpx_query ______________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:37 _____________________ ERROR at setup of test_httpx_cookies _____________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:80 _________________ ERROR at setup of test_httpx_error_code_401 __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:117 _________________ ERROR at setup of test_httpx_error_code_429 __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:152 _________________ ERROR at setup of test_httpx_error_code_500 __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:201 ___________________ ERROR at setup of test_httpx_error_code ____________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:233 ______________ ERROR at setup of test_httpx_invalid_protocol[{}] _______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:270 __________ ERROR at setup of test_httpx_invalid_protocol[qlsjfqsdlkj] __________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:270 ______________ ERROR at setup of test_httpx_cannot_connect_twice _______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:301 _________ ERROR at setup of test_httpx_cannot_execute_if_not_connected _________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:327 ______________ ERROR at setup of test_httpx_query_with_extensions ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:366 ___________________ ERROR at setup of test_httpx_file_upload ___________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:421 __________ ERROR at setup of test_httpx_file_upload_with_content_type __________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:481 _________ ERROR at setup of test_httpx_file_upload_additional_headers __________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:549 _______________ ERROR at setup of test_httpx_binary_file_upload ________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:613 ______________ ERROR at setup of test_httpx_file_upload_two_files ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:784 ______________ ERROR at setup of test_httpx_error_fetching_schema ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx.py:875 ______________________ ERROR at setup of test_httpx_query ______________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:43 ___________ ERROR at setup of test_httpx_ignore_backend_content_type ___________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:83 _____________________ ERROR at setup of test_httpx_cookies _____________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:113 _________________ ERROR at setup of test_httpx_error_code_401 __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:147 _________________ ERROR at setup of test_httpx_error_code_429 __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:179 _________________ ERROR at setup of test_httpx_error_code_500 __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:262 ____________ ERROR at setup of test_httpx_error_code[{"errors": 5}] ____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:262 ____________ ERROR at setup of test_httpx_invalid_protocol[param0] _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:318 ____________ ERROR at setup of test_httpx_invalid_protocol[param1] _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:318 ____________ ERROR at setup of test_httpx_invalid_protocol[param2] _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:318 ____________ ERROR at setup of test_httpx_invalid_protocol[param3] _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:318 _____________ ERROR at setup of test_httpx_subscribe_not_supported _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:348 ______________ ERROR at setup of test_httpx_cannot_connect_twice _______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:397 ___________________ ERROR at setup of test_httpx_extra_args ____________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:420 ______________ ERROR at setup of test_httpx_query_variable_values ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:498 ____________ ERROR at setup of test_httpx_execute_running_in_thread ____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:533 ___________ ERROR at setup of test_httpx_subscribe_running_in_thread ___________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:562 ___________________ ERROR at setup of test_httpx_file_upload ___________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:651 ___________ ERROR at setup of test_httpx_file_upload_without_session ___________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:687 _______________ ERROR at setup of test_httpx_binary_file_upload ________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:758 ______________ ERROR at setup of test_httpx_file_upload_two_files ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:908 ____________________ ERROR at setup of test_httpx_using_cli ____________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:981 ____________ ERROR at setup of test_httpx_using_cli_ep[subprocess] _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:1017 _____________ ERROR at setup of test_httpx_using_cli_invalid_param _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:1056 _____________ ERROR at setup of test_httpx_using_cli_invalid_query _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:1093 ______________ ERROR at setup of test_httpx_query_with_extensions ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:1134 ___________________ ERROR at setup of test_httpx_query_https ___________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:1162 ______________ ERROR at setup of test_httpx_error_fetching_schema ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:1197 ______________ ERROR at setup of test_httpx_reconnecting_session _______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:1241 _______ ERROR at setup of test_httpx_reconnecting_session_retries[False] _______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:1279 _____ ERROR at setup of test_httpx_reconnecting_session_retries[] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_httpx_async.py:1312 _________________ ERROR at setup of test_httpx_json_serializer _________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_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.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_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.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_phoenix_channel_subscription.py:370 ____________________ ERROR at setup of test_requests_query _____________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:37 ___________________ ERROR at setup of test_requests_cookies ____________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:80 ________________ ERROR at setup of test_requests_error_code_401 ________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:117 ________________ ERROR at setup of test_requests_error_code_429 ________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:152 ________________ ERROR at setup of test_requests_error_code_500 ________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:201 __________________ ERROR at setup of test_requests_error_code __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:233 _____________ ERROR at setup of test_requests_invalid_protocol[{}] _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:270 ________ ERROR at setup of test_requests_invalid_protocol[qlsjfqsdlkj] _________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:270 _____________ ERROR at setup of test_requests_cannot_connect_twice _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:301 _______ ERROR at setup of test_requests_cannot_execute_if_not_connected ________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:327 ____________ ERROR at setup of test_requests_query_with_extensions _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:366 _________________ ERROR at setup of test_requests_file_upload __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:423 ________ ERROR at setup of test_requests_file_upload_with_content_type _________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:483 ________ ERROR at setup of test_requests_file_upload_additional_headers ________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:551 ______________ ERROR at setup of test_requests_binary_file_upload ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:615 ____________ ERROR at setup of test_requests_file_upload_two_files _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:788 ____________ ERROR at setup of test_requests_error_fetching_schema _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests.py:879 ____________________ ERROR at setup of test_requests_query _____________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:49 ___________ ERROR at setup of test_requests_query_auto_batch_enabled ___________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:140 ___________________ ERROR at setup of test_requests_cookies ____________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:200 ________________ ERROR at setup of test_requests_error_code_401 ________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:274 ________________ ERROR at setup of test_requests_error_code_429 ________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:314 ________________ ERROR at setup of test_requests_error_code_500 ________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:363 __________________ ERROR at setup of test_requests_error_code __________________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:395 _____________ ERROR at setup of test_requests_invalid_protocol[{}] _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:437 ________ ERROR at setup of test_requests_invalid_protocol[qlsjfqsdlkj] _________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:437 ____________ ERROR at setup of test_requests_invalid_protocol[[{}]] ____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:437 _______ ERROR at setup of test_requests_invalid_protocol[[qlsjfqsdlkj]] ________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:437 _____________ ERROR at setup of test_requests_invalid_protocol[[]] _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:437 ____________ ERROR at setup of test_requests_invalid_protocol[[1]] _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_requests_batch.py:468 ____________ ERROR at setup of test_requests_query_with_extensions _____________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_websocket_exceptions.py:163 _____ ERROR at setup of test_websocket_transport_protocol_errors[server0] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server1] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server2] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server3] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server4] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server5] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server6] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server7] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server8] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_websocket_exceptions.py:220 _____ ERROR at setup of test_websocket_transport_protocol_errors[server9] ______ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/tests/test_websocket_query.py:516 _____________ ERROR at setup of test_websocket_using_cli[server0] ______________ file /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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_scoped_runner, _function_scoped_runner, _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, aiohttp_server, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, client_and_graphqlws_server, client_and_server, cov, doctest_namespace, event_loop_policy, fake_credentials_factory, fake_request_factory, fake_session_factory, fake_signer_factory, graphqlws_server, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, run_sync_test, script_cwd, script_launch_mode, script_runner, server, ssl_aiohttp_server, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, ws_ssl_server > use 'pytest --fixtures [testpath]' for help on them. /builddir/build/BUILD/python-gql-3.5.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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.14/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_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.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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.3-build/gql-3.5.3/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.14/site-packages/websockets/legacy/server.py:1178: 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.3-build/gql-3.5.3/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, 31 warnings, 277 errors in 13.38s =========== error: Bad exit status from /var/tmp/rpm-tmp.3ItG0z (%check) Bad exit status from /var/tmp/rpm-tmp.3ItG0z (%check) RPM build errors: Finish: rpmbuild python-gql-3.5.3-5.fc44.src.rpm Finish: build phase for python-gql-3.5.3-5.fc44.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1756508389.469990/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.3-5.fc44.src.rpm) Config(fedora-rawhide-x86_64) 0 minutes 38 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 5656c2750c88473c917245ed4afeb516 -D /var/lib/mock/fedora-rawhide-x86_64-1756508389.469990/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.wo7qdgwx:/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