Warning: Permanently added '3.92.169.97' (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/10886330-fedora-rawhide-i386 --chroot fedora-rawhide-i386 Version: 1.9 PID: 25682 Logging PID: 25684 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 10886330, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-i386', 'enable_net': False, 'fedora_review': False, 'git_hash': 'd843f95e2ea46144641080b88161ed565694754b', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/music/aiohttp/python-aioresponses', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-aioresponses', 'package_version': '0.7.9-2', 'project_dirname': 'aiohttp', 'project_name': 'aiohttp', 'project_owner': 'music', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/music/aiohttp/fedora-rawhide-i386/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None, 'repo_gpgcheck': False}], 'sandbox': 'music/aiohttp--music', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'music', 'tags': [], 'task_id': '10886330-fedora-rawhide-i386', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/music/aiohttp/python-aioresponses /var/lib/copr-rpmbuild/workspace/workdir-b_4lbkck/python-aioresponses --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/music/aiohttp/python-aioresponses', '/var/lib/copr-rpmbuild/workspace/workdir-b_4lbkck/python-aioresponses', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-b_4lbkck/python-aioresponses'... Running: git checkout d843f95e2ea46144641080b88161ed565694754b -- cmd: ['git', 'checkout', 'd843f95e2ea46144641080b88161ed565694754b', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-b_4lbkck/python-aioresponses rc: 0 stdout: stderr: Note: switching to 'd843f95e2ea46144641080b88161ed565694754b'. 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 d843f95 automatic import of python-aioresponses Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-b_4lbkck/python-aioresponses 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 aioresponses-0.7.9.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -H 'Accept-Encoding: identity' -o aioresponses-0.7.9.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/music/aiohttp/python-aioresponses/aioresponses-0.7.9.tar.gz/md5/009604490c7f8601840bf05c1cdb4dc2/aioresponses-0.7.9.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 34072 100 34072 0 0 3.07M 0 0 INFO: Reading stdout from command: md5sum aioresponses-0.7.9.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-b_4lbkck/python-aioresponses/python-aioresponses.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-b_4lbkck/python-aioresponses --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1787261323.367903 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.8 starting (python version = 3.14.5, NVR = mock-6.8-1.fc44), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-b_4lbkck/python-aioresponses/python-aioresponses.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-b_4lbkck/python-aioresponses --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1787261323.367903 -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-b_4lbkck/python-aioresponses/python-aioresponses.spec) Config(fedora-rawhide-i686) Start: clean chroot Finish: clean chroot Mock Version: 6.8 INFO: Mock Version: 6.8 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-i686-bootstrap-1787261323.367903/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-3d216911-9fe9-42ba-9840-6b0c2acf1c13 INFO: Checking that 07b85c3ff63e538c2b71ec75f7a485e8864ddee2e3677e019a15e50f28441c7d image matches host's architecture INFO: Copy content of container 07b85c3ff63e538c2b71ec75f7a485e8864ddee2e3677e019a15e50f28441c7d to /var/lib/mock/fedora-rawhide-i686-bootstrap-1787261323.367903/root INFO: mounting 07b85c3ff63e538c2b71ec75f7a485e8864ddee2e3677e019a15e50f28441c7d with podman image mount INFO: image 07b85c3ff63e538c2b71ec75f7a485e8864ddee2e3677e019a15e50f28441c7d as /var/lib/containers/storage/overlay/9b24b81454fbf86ae1f477ba8527d962860c9f1ea30464356819492b6585f0f1/merged INFO: umounting image 07b85c3ff63e538c2b71ec75f7a485e8864ddee2e3677e019a15e50f28441c7d (/var/lib/containers/storage/overlay/9b24b81454fbf86ae1f477ba8527d962860c9f1ea30464356819492b6585f0f1/merged) with podman image umount INFO: Removing image mock-bootstrap-3d216911-9fe9-42ba-9840-6b0c2acf1c13 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-i686-1787261323.367903/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-6.0.92-2.fc45.x86_64 rpm-sequoia-1.10.2-5.fc45.x86_64 dnf5-5.4.3.0-2.fc46.x86_64 dnf5-plugins-5.4.3.0-2.fc46.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: Copr repository 100% | 299.9 KiB/s | 27.6 KiB | 00m00s local 100% | 56.8 MiB/s | 12.3 MiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash i686 0:5.3.15-2.fc45 local 8.6 MiB bzip2 i686 0:1.0.8-24.fc45 local 85.4 KiB coreutils i686 0:9.11-6.fc45 local 5.8 MiB cpio i686 0:2.15-10.fc45 local 1.1 MiB diffutils i686 0:3.12-6.fc45 local 1.6 MiB fedora-release noarch 0:46-0.1 local 0.0 B findutils i686 1:4.11.0-2.fc45 local 2.0 MiB gawk i686 0:5.4.1-1.fc45 local 2.2 MiB glibc-minimal-langpack i686 0:2.44-2.fc46 local 0.0 B grep i686 0:3.12-4.fc45 local 1.0 MiB gzip i686 0:1.14-4.fc45 local 396.7 KiB info i686 0:7.3-3.fc45 local 370.9 KiB patch i686 0:2.8-5.fc45 local 233.7 KiB redhat-rpm-config noarch 0:344-5.fc45 local 184.2 KiB rpm-build i686 0:6.0.92-2.fc45 local 300.3 KiB sed i686 0:4.10-2.fc45 local 865.6 KiB shadow-utils i686 2:4.20.0-1.fc45 local 3.8 MiB tar i686 2:1.35-9.fc45 local 3.0 MiB unzip i686 0:6.0-71.fc45 local 451.5 KiB util-linux i686 0:2.42.2-3.fc45 local 3.4 MiB which i686 0:2.25-2.fc45 local 78.3 KiB xz i686 1:5.8.3-2.fc45 local 1.4 MiB Installing dependencies: R-srpm-macros noarch 0:1.3.7-3.fc45 local 3.5 KiB add-determinism i686 0:0.7.3-3.fc45 local 2.0 MiB alternatives i686 0:1.33-6.fc45 local 61.3 KiB ansible-srpm-macros noarch 0:1-22.fc45 local 35.7 KiB audit-libs i686 0:4.2.1-2.fc45 local 400.3 KiB binutils i686 0:2.47.50-4.fc46 local 24.4 MiB build-reproducibility-srpm-macros noarch 0:0.7.3-3.fc45 local 1.2 KiB bzip2-libs i686 0:1.0.8-24.fc45 local 79.7 KiB ca-certificates noarch 0:2025.2.80_v9.0.304-9.fc45 local 2.6 MiB cmake-srpm-macros noarch 0:4.3.0-5.fc45 local 524.0 B coreutils-common i686 0:9.11-6.fc45 local 10.9 MiB crypto-policies noarch 0:20260713-2.gitc42da77.fc45 local 134.3 KiB curl i686 0:8.21.0-5.fc45 local 487.2 KiB cyrus-sasl-lib i686 0:2.1.28-37.fc45 local 2.5 MiB debugedit i686 0:5.3-3.fc45 local 225.6 KiB dwz i686 0:0.17-3.fc45 local 309.1 KiB ed i686 0:1.22.5-3.fc45 local 148.6 KiB efi-srpm-macros noarch 0:6-9.fc45 local 40.3 KiB elfutils i686 0:0.195-3.fc45 local 2.7 MiB elfutils-debuginfod-client i686 0:0.195-3.fc45 local 78.2 KiB elfutils-libelf i686 0:0.195-3.fc45 local 1.2 MiB elfutils-libs i686 0:0.195-3.fc45 local 749.8 KiB erlang-srpm-macros noarch 0:0.3.11-2.fc45 local 1.9 KiB fedora-gpg-keys noarch 0:46-0.3 local 130.3 KiB fedora-release-common noarch 0:46-0.1 local 4.6 KiB fedora-release-identity-basic noarch 0:46-0.1 local 664.0 B fedora-repos noarch 0:46-0.3 local 4.9 KiB fedora-repos-rawhide noarch 0:46-0.3 local 2.2 KiB file i686 0:5.47-3.fc45 local 96.2 KiB file-libs i686 0:5.47-3.fc45 local 12.2 MiB filesystem i686 0:3.18-59.fc45 local 94.0 B filesystem-srpm-macros noarch 0:3.18-59.fc45 local 38.2 KiB fips-provider i686 0:1.5.2-3.fc45 local 3.9 MiB fonts-srpm-macros noarch 1:5.0.0-4.fc45 local 55.8 KiB forge-srpm-macros noarch 0:0.4.0-5.fc45 local 38.9 KiB fpc-srpm-macros noarch 0:1.3-17.fc45 local 144.0 B gap-srpm-macros noarch 0:2-3.fc45 local 2.1 KiB gdb-minimal i686 0:17.2-4.fc45 local 14.7 MiB gdbm-libs i686 1:1.23-12.fc45 local 132.2 KiB ghc-srpm-macros noarch 0:1.10-2.fc45 local 792.0 B glibc i686 0:2.44-2.fc46 local 6.0 MiB glibc-common i686 0:2.44-2.fc46 local 1.0 MiB glibc-gconv-extra i686 0:2.44-2.fc46 local 7.2 MiB gmp i686 1:6.3.0-6.fc45 local 738.2 KiB gnat-srpm-macros noarch 0:7-3.fc45 local 1.0 KiB gnome-srpm-macros noarch 0:1.0-2.fc45 local 3.5 KiB gnulib-l10n noarch 0:20241231-4.fc45 local 655.0 KiB gnupg2 i686 0:2.4.9-18.fc45 local 6.6 MiB gnupg2-dirmngr i686 0:2.4.9-18.fc45 local 661.7 KiB gnupg2-gpg-agent i686 0:2.4.9-18.fc45 local 680.4 KiB gnupg2-gpgconf i686 0:2.4.9-18.fc45 local 253.8 KiB gnupg2-keyboxd i686 0:2.4.9-18.fc45 local 204.0 KiB gnupg2-verify i686 0:2.4.9-18.fc45 local 363.2 KiB gnutls i686 0:3.8.13-3.fc45 local 4.0 MiB go-srpm-macros noarch 0:3.8.0-3.fc45 local 61.9 KiB gpgverify noarch 0:2.2-5.fc45 local 8.7 KiB ima-evm-utils-libs i686 0:1.6.2-12.fc45 local 51.8 KiB jansson i686 0:2.14-5.fc45 local 84.2 KiB java-srpm-macros noarch 0:1-9.fc45 local 870.0 B json-c i686 0:0.18-9.fc45 local 85.9 KiB kernel-srpm-macros noarch 0:1.0-30.fc45 local 1.9 KiB keyutils-libs i686 0:1.6.3-8.fc45 local 53.4 KiB krb5-libs i686 0:1.22.2-9.fc45 local 2.3 MiB libacl i686 0:2.4.0-2.fc45 local 43.1 KiB libarchive i686 0:3.8.9-1.fc46 local 1.0 MiB libassuan i686 0:2.5.7-6.fc45 local 167.1 KiB libattr i686 0:2.6.0-2.fc45 local 23.5 KiB libblkid i686 0:2.42.2-3.fc45 local 301.2 KiB libbrotli i686 0:1.2.0-6.fc45 local 850.8 KiB libcap i686 0:2.78-2.fc45 local 197.2 KiB libcap-ng i686 0:0.9.3-5.fc45 local 67.2 KiB libcbor i686 0:0.14.0-3.fc45 local 82.7 KiB libcom_err i686 0:1.47.4-2.fc45 local 62.2 KiB libcurl i686 0:8.21.0-5.fc45 local 1.1 MiB libeconf i686 0:0.7.9-4.fc45 local 64.0 KiB libevent i686 0:2.1.12-19.fc45 local 1.0 MiB libfdisk i686 0:2.42.2-3.fc45 local 431.7 KiB libffi i686 0:3.5.2-3.fc45 local 78.8 KiB libfido2 i686 0:1.17.0-5.fc45 local 259.9 KiB libfsverity i686 0:1.7-4.fc45 local 23.7 KiB libgcc i686 0:16.1.1-4.fc45.1 local 297.7 KiB libgcrypt i686 0:1.12.2-2.fc45 local 1.3 MiB libgomp i686 0:16.1.1-4.fc45.1 local 576.5 KiB libgpg-error i686 0:1.61-2.fc45 local 944.1 KiB libidn2 i686 0:2.3.8-4.fc45 local 551.7 KiB libksba i686 0:1.8.0-3.fc45 local 418.5 KiB liblastlog2 i686 0:2.42.2-3.fc45 local 32.1 KiB libmount i686 0:2.42.2-3.fc45 local 432.0 KiB libnghttp2 i686 0:1.69.0-5.fc45 local 169.4 KiB libnghttp3 i686 0:1.18.0-1.fc45 local 171.3 KiB libpkgconf i686 0:2.5.1-2.fc45 local 88.7 KiB libpsl i686 0:0.23.1-1.fc45 local 79.7 KiB libselinux i686 0:3.11-4.fc45 local 220.5 KiB libselinux-utils i686 0:3.11-4.fc45 local 262.0 KiB libsemanage i686 0:3.11-3.fc45 local 327.9 KiB libsepol i686 0:3.11-2.fc45 local 905.8 KiB libsmartcols i686 0:2.42.2-3.fc45 local 191.8 KiB libssh i686 0:0.12.2-1.fc45 local 763.2 KiB libssh-config noarch 0:0.12.2-1.fc45 local 277.0 B libstdc++ i686 0:16.1.1-4.fc45.1 local 3.1 MiB libtasn1 i686 0:4.21.0-2.fc45 local 179.9 KiB libtool-ltdl i686 0:2.5.4-11.fc45 local 73.3 KiB libunistring i686 0:1.1-12.fc45 local 1.7 MiB libusb1 i686 0:1.0.30-2.fc45 local 183.3 KiB libuuid i686 0:2.42.2-3.fc45 local 40.5 KiB libverto i686 0:0.3.2-13.fc45 local 24.6 KiB libxcrypt i686 0:4.5.2-4.fc45 local 304.5 KiB libxml2 i686 0:2.13.9-4.fc45 local 1.8 MiB libzstd i686 0:1.5.7-6.fc45 local 923.8 KiB linkdupes i686 0:0.7.3-3.fc45 local 784.5 KiB lua-libs i686 0:5.5.1-1.fc45 local 329.6 KiB lua-srpm-macros noarch 0:1-18.fc45 local 1.3 KiB lz4-libs i686 0:1.10.0-5.fc45 local 160.6 KiB mpfr i686 0:4.2.2-4.fc45 local 987.7 KiB ncurses-base noarch 0:6.6-3.fc45 local 329.7 KiB ncurses-libs i686 0:6.6-3.fc45 local 960.6 KiB nettle i686 0:4.0-5.fc45 local 792.0 KiB ngtcp2 i686 0:1.22.1-3.fc45 local 389.7 KiB ngtcp2-crypto-ossl i686 0:1.22.1-3.fc45 local 50.9 KiB npth i686 0:1.8-5.fc45 local 48.8 KiB ocaml-srpm-macros noarch 0:11-4.fc45 local 1.9 KiB openblas-srpm-macros noarch 0:2-22.fc45 local 112.0 B openldap i686 0:2.6.14-1.fc46 local 684.4 KiB openssl-libs i686 1:4.0.1-5.fc45 local 6.0 MiB p11-kit i686 0:0.26.5-1.fc45 local 2.7 MiB p11-kit-trust i686 0:0.26.5-1.fc45 local 416.5 KiB package-notes-srpm-macros noarch 0:0.20-2.fc45 local 1.6 KiB pam-libs i686 0:1.7.2-4.fc45 local 128.2 KiB pcre2 i686 0:10.47-1.fc45.2 local 705.0 KiB pcre2-syntax noarch 0:10.47-1.fc45.2 local 281.9 KiB perl-srpm-macros noarch 0:1-65.fc45 local 861.0 B pkgconf i686 0:2.5.1-2.fc45 local 87.2 KiB pkgconf-m4 noarch 0:2.5.1-2.fc45 local 14.3 KiB pkgconf-pkg-config i686 0:2.5.1-2.fc45 local 979.0 B policycoreutils i686 0:3.11-2.fc45 local 857.6 KiB popt i686 0:1.19-11.fc45 local 135.7 KiB publicsuffix-list-dafsa noarch 0:20260624-2.fc45 local 71.3 KiB pyproject-srpm-macros noarch 0:1.23.2-1.fc45 local 3.4 KiB python-srpm-macros noarch 0:3.15-2.fc45 local 51.6 KiB qt5-srpm-macros noarch 0:5.15.18-3.fc45 local 500.0 B qt6-srpm-macros noarch 0:6.11.1-2.fc45 local 472.0 B readline i686 0:8.3-6.fc45 local 487.8 KiB redhat-systemd-presets noarch 0:102-3.fc45 local 1.0 KiB redhat-systemd-presets-common noarch 0:102-3.fc45 local 16.9 KiB rpm i686 0:6.0.92-2.fc45 local 3.0 MiB rpm-build-libs i686 0:6.0.92-2.fc45 local 283.0 KiB rpm-libs i686 0:6.0.92-2.fc45 local 1.1 MiB rpm-plugin-selinux i686 0:6.0.92-2.fc45 local 11.1 KiB rpm-sequoia i686 0:1.10.2-5.fc45 local 2.8 MiB rpm-sign-libs i686 0:6.0.92-2.fc45 local 34.9 KiB rust-srpm-macros noarch 0:28.5-2.fc45 local 5.5 KiB selinux-policy noarch 0:45.13-1.fc46 local 32.1 KiB selinux-policy-targeted noarch 0:45.13-1.fc46 local 19.0 MiB setup noarch 0:2.15.1-2.fc45 local 725.6 KiB sqlite-libs i686 0:3.53.4-1.fc45 local 1.7 MiB systemd-libs i686 0:261.2-1.fc45 local 2.7 MiB systemd-standalone-sysusers i686 0:261.2-1.fc45 local 930.7 KiB tpm2-tss i686 0:4.2.0-1.fc45 local 1.7 MiB tree-sitter-srpm-macros noarch 0:0.4.6-2.fc45 local 8.6 KiB util-linux-core i686 0:2.42.2-3.fc45 local 1.4 MiB xxhash-libs i686 0:0.8.3-5.fc45 local 117.4 KiB xz-libs i686 1:5.8.3-2.fc45 local 233.1 KiB zig-srpm-macros noarch 0:1-9.fc45 local 1.3 KiB zip i686 0:3.0-46.fc45 local 698.0 KiB zlib-ng-compat i686 0:2.3.3-6.fc45 local 185.0 KiB zstd i686 0:1.5.7-6.fc45 local 511.4 KiB Installing groups: build Transaction Summary: Installing: 188 packages Total size of inbound packages is 71 MiB. Need to download 71 MiB. After this operation, 224 MiB extra will be used (install 224 MiB, remove 0 B). [ 1/188] bzip2-0:1.0.8-24.fc45.i686 100% | 1.4 MiB/s | 52.3 KiB | 00m00s [ 2/188] cpio-0:2.15-10.fc45.i686 100% | 4.8 MiB/s | 293.0 KiB | 00m00s [ 3/188] coreutils-0:9.11-6.fc45.i686 100% | 10.8 MiB/s | 1.2 MiB | 00m00s [ 4/188] bash-0:5.3.15-2.fc45.i686 100% | 14.7 MiB/s | 1.9 MiB | 00m00s [ 5/188] diffutils-0:3.12-6.fc45.i686 100% | 10.4 MiB/s | 392.9 KiB | 00m00s [ 6/188] fedora-release-0:46-0.1.noarc 100% | 914.7 KiB/s | 11.9 KiB | 00m00s [ 7/188] glibc-minimal-langpack-0:2.44 100% | 8.4 MiB/s | 120.2 KiB | 00m00s [ 8/188] findutils-1:4.11.0-2.fc45.i68 100% | 25.3 MiB/s | 570.3 KiB | 00m00s [ 9/188] gawk-0:5.4.1-1.fc45.i686 100% | 37.1 MiB/s | 1.1 MiB | 00m00s [ 10/188] grep-0:3.12-4.fc45.i686 100% | 18.0 MiB/s | 294.5 KiB | 00m00s [ 11/188] gzip-0:1.14-4.fc45.i686 100% | 11.2 MiB/s | 172.4 KiB | 00m00s [ 12/188] patch-0:2.8-5.fc45.i686 100% | 8.4 MiB/s | 120.3 KiB | 00m00s [ 13/188] info-0:7.3-3.fc45.i686 100% | 12.7 MiB/s | 194.9 KiB | 00m00s [ 14/188] redhat-rpm-config-0:344-5.fc4 100% | 5.0 MiB/s | 71.5 KiB | 00m00s [ 15/188] rpm-build-0:6.0.92-2.fc45.i68 100% | 10.6 MiB/s | 152.1 KiB | 00m00s [ 16/188] sed-0:4.10-2.fc45.i686 100% | 18.2 MiB/s | 316.3 KiB | 00m00s [ 17/188] shadow-utils-2:4.20.0-1.fc45. 100% | 50.6 MiB/s | 1.4 MiB | 00m00s [ 18/188] tar-2:1.35-9.fc45.i686 100% | 38.9 MiB/s | 875.9 KiB | 00m00s [ 19/188] unzip-0:6.0-71.fc45.i686 100% | 8.6 MiB/s | 194.0 KiB | 00m00s [ 20/188] util-linux-0:2.42.2-3.fc45.i6 100% | 63.2 MiB/s | 1.3 MiB | 00m00s [ 21/188] which-0:2.25-2.fc45.i686 100% | 2.6 MiB/s | 42.0 KiB | 00m00s [ 22/188] xz-1:5.8.3-2.fc45.i686 100% | 36.6 MiB/s | 636.8 KiB | 00m00s [ 23/188] filesystem-0:3.18-59.fc45.i68 100% | 81.4 MiB/s | 1.8 MiB | 00m00s [ 24/188] ncurses-libs-0:6.6-3.fc45.i68 100% | 17.7 MiB/s | 362.3 KiB | 00m00s [ 25/188] glibc-0:2.44-2.fc46.i686 100% | 64.7 MiB/s | 2.3 MiB | 00m00s [ 26/188] bzip2-libs-0:1.0.8-24.fc45.i6 100% | 3.0 MiB/s | 42.9 KiB | 00m00s [ 27/188] coreutils-common-0:9.11-6.fc4 100% | 76.5 MiB/s | 2.1 MiB | 00m00s [ 28/188] gmp-1:6.3.0-6.fc45.i686 100% | 18.1 MiB/s | 314.6 KiB | 00m00s [ 29/188] libacl-0:2.4.0-2.fc45.i686 100% | 1.8 MiB/s | 29.1 KiB | 00m00s [ 30/188] libattr-0:2.6.0-2.fc45.i686 100% | 1.4 MiB/s | 18.7 KiB | 00m00s [ 31/188] libcap-0:2.78-2.fc45.i686 100% | 6.3 MiB/s | 90.3 KiB | 00m00s [ 32/188] libselinux-0:3.11-4.fc45.i686 100% | 7.5 MiB/s | 108.0 KiB | 00m00s [ 33/188] fedora-release-common-0:46-0. 100% | 867.2 KiB/s | 18.2 KiB | 00m00s [ 34/188] systemd-libs-0:261.2-1.fc45.i 100% | 41.5 MiB/s | 977.8 KiB | 00m00s [ 35/188] openssl-libs-1:4.0.1-5.fc45.i 100% | 86.3 MiB/s | 2.3 MiB | 00m00s [ 36/188] mpfr-0:4.2.2-4.fc45.i686 100% | 24.2 MiB/s | 396.4 KiB | 00m00s [ 37/188] readline-0:8.3-6.fc45.i686 100% | 16.4 MiB/s | 234.8 KiB | 00m00s [ 38/188] glibc-common-0:2.44-2.fc46.i6 100% | 27.3 MiB/s | 418.6 KiB | 00m00s [ 39/188] ed-0:1.22.5-3.fc45.i686 100% | 5.8 MiB/s | 83.6 KiB | 00m00s [ 40/188] pcre2-0:10.47-1.fc45.2.i686 100% | 15.5 MiB/s | 270.3 KiB | 00m00s [ 41/188] R-srpm-macros-0:1.3.7-3.fc45. 100% | 796.4 KiB/s | 11.1 KiB | 00m00s [ 42/188] ansible-srpm-macros-0:1-22.fc 100% | 1.4 MiB/s | 19.8 KiB | 00m00s [ 43/188] build-reproducibility-srpm-ma 100% | 773.8 KiB/s | 10.8 KiB | 00m00s [ 44/188] cmake-srpm-macros-0:4.3.0-5.f 100% | 646.1 KiB/s | 10.3 KiB | 00m00s [ 45/188] dwz-0:0.17-3.fc45.i686 100% | 8.7 MiB/s | 142.4 KiB | 00m00s [ 46/188] efi-srpm-macros-0:6-9.fc45.no 100% | 1.4 MiB/s | 21.4 KiB | 00m00s [ 47/188] erlang-srpm-macros-0:0.3.11-2 100% | 767.4 KiB/s | 10.0 KiB | 00m00s [ 48/188] file-0:5.47-3.fc45.i686 100% | 3.7 MiB/s | 49.4 KiB | 00m00s [ 49/188] fonts-srpm-macros-1:5.0.0-4.f 100% | 1.9 MiB/s | 27.2 KiB | 00m00s [ 50/188] filesystem-srpm-macros-0:3.18 100% | 1.8 MiB/s | 26.4 KiB | 00m00s [ 51/188] forge-srpm-macros-0:0.4.0-5.f 100% | 1.4 MiB/s | 19.7 KiB | 00m00s [ 52/188] fpc-srpm-macros-0:1.3-17.fc45 100% | 597.1 KiB/s | 7.8 KiB | 00m00s [ 53/188] gap-srpm-macros-0:2-3.fc45.no 100% | 716.0 KiB/s | 9.3 KiB | 00m00s [ 54/188] ghc-srpm-macros-0:1.10-2.fc45 100% | 606.7 KiB/s | 8.5 KiB | 00m00s [ 55/188] gnat-srpm-macros-0:7-3.fc45.n 100% | 535.6 KiB/s | 8.6 KiB | 00m00s [ 56/188] gnome-srpm-macros-0:1.0-2.fc4 100% | 464.6 KiB/s | 8.8 KiB | 00m00s [ 57/188] go-srpm-macros-0:3.8.0-3.fc45 100% | 713.0 KiB/s | 27.8 KiB | 00m00s [ 58/188] java-srpm-macros-0:1-9.fc45.n 100% | 230.1 KiB/s | 8.3 KiB | 00m00s [ 59/188] kernel-srpm-macros-0:1.0-30.f 100% | 259.1 KiB/s | 8.3 KiB | 00m00s [ 60/188] lua-srpm-macros-0:1-18.fc45.n 100% | 668.0 KiB/s | 8.7 KiB | 00m00s [ 61/188] ocaml-srpm-macros-0:11-4.fc45 100% | 639.4 KiB/s | 9.0 KiB | 00m00s [ 62/188] openblas-srpm-macros-0:2-22.f 100% | 500.8 KiB/s | 7.5 KiB | 00m00s [ 63/188] pyproject-srpm-macros-0:1.23. 100% | 1.2 MiB/s | 15.6 KiB | 00m00s [ 64/188] package-notes-srpm-macros-0:0 100% | 656.1 KiB/s | 10.5 KiB | 00m00s [ 65/188] perl-srpm-macros-0:1-65.fc45. 100% | 522.0 KiB/s | 8.4 KiB | 00m00s [ 66/188] python-srpm-macros-0:3.15-2.f 100% | 1.7 MiB/s | 23.9 KiB | 00m00s [ 67/188] qt6-srpm-macros-0:6.11.1-2.fc 100% | 654.1 KiB/s | 9.2 KiB | 00m00s [ 68/188] qt5-srpm-macros-0:5.15.18-3.f 100% | 537.6 KiB/s | 8.1 KiB | 00m00s [ 69/188] tree-sitter-srpm-macros-0:0.4 100% | 933.5 KiB/s | 14.0 KiB | 00m00s [ 70/188] rust-srpm-macros-0:28.5-2.fc4 100% | 758.1 KiB/s | 11.4 KiB | 00m00s [ 71/188] rpm-0:6.0.92-2.fc45.i686 100% | 31.0 MiB/s | 540.3 KiB | 00m00s [ 72/188] zig-srpm-macros-0:1-9.fc45.no 100% | 629.5 KiB/s | 8.8 KiB | 00m00s [ 73/188] zip-0:3.0-46.fc45.i686 100% | 16.3 MiB/s | 267.8 KiB | 00m00s [ 74/188] debugedit-0:5.3-3.fc45.i686 100% | 5.6 MiB/s | 92.0 KiB | 00m00s [ 75/188] elfutils-0:0.195-3.fc45.i686 100% | 19.2 MiB/s | 589.8 KiB | 00m00s [ 76/188] elfutils-libelf-0:0.195-3.fc4 100% | 12.4 MiB/s | 215.6 KiB | 00m00s [ 77/188] binutils-0:2.47.50-4.fc46.i68 100% | 97.5 MiB/s | 5.3 MiB | 00m00s [ 78/188] libgcc-0:16.1.1-4.fc45.1.i686 100% | 9.7 MiB/s | 149.3 KiB | 00m00s [ 79/188] libarchive-0:3.8.9-1.fc46.i68 100% | 27.8 MiB/s | 484.6 KiB | 00m00s [ 80/188] libstdc++-0:16.1.1-4.fc45.1.i 100% | 48.0 MiB/s | 1.1 MiB | 00m00s [ 81/188] pkgconf-pkg-config-0:2.5.1-2. 100% | 677.2 KiB/s | 9.5 KiB | 00m00s [ 82/188] popt-0:1.19-11.fc45.i686 100% | 4.1 MiB/s | 62.2 KiB | 00m00s [ 83/188] rpm-build-libs-0:6.0.92-2.fc4 100% | 8.5 MiB/s | 139.7 KiB | 00m00s [ 84/188] rpm-libs-0:6.0.92-2.fc45.i686 100% | 31.0 MiB/s | 507.3 KiB | 00m00s [ 85/188] zstd-0:1.5.7-6.fc45.i686 100% | 12.8 MiB/s | 196.0 KiB | 00m00s [ 86/188] audit-libs-0:4.2.1-2.fc45.i68 100% | 8.5 MiB/s | 148.0 KiB | 00m00s [ 87/188] libsemanage-0:3.11-3.fc45.i68 100% | 8.3 MiB/s | 136.3 KiB | 00m00s [ 88/188] libeconf-0:0.7.9-4.fc45.i686 100% | 2.0 MiB/s | 37.3 KiB | 00m00s [ 89/188] libxcrypt-0:4.5.2-4.fc45.i686 100% | 10.0 MiB/s | 132.7 KiB | 00m00s [ 90/188] setup-0:2.15.1-2.fc45.noarch 100% | 10.6 MiB/s | 151.5 KiB | 00m00s [ 91/188] pam-libs-0:1.7.2-4.fc45.i686 100% | 3.5 MiB/s | 60.5 KiB | 00m00s [ 92/188] libblkid-0:2.42.2-3.fc45.i686 100% | 10.2 MiB/s | 146.4 KiB | 00m00s [ 93/188] libcap-ng-0:0.9.3-5.fc45.i686 100% | 2.3 MiB/s | 35.5 KiB | 00m00s [ 94/188] libfdisk-0:2.42.2-3.fc45.i686 100% | 12.0 MiB/s | 184.3 KiB | 00m00s [ 95/188] libsmartcols-0:2.42.2-3.fc45. 100% | 5.3 MiB/s | 91.6 KiB | 00m00s [ 96/188] liblastlog2-0:2.42.2-3.fc45.i 100% | 884.8 KiB/s | 25.7 KiB | 00m00s [ 97/188] libmount-0:2.42.2-3.fc45.i686 100% | 5.8 MiB/s | 185.4 KiB | 00m00s [ 98/188] libuuid-0:2.42.2-3.fc45.i686 100% | 1.7 MiB/s | 29.7 KiB | 00m00s [ 99/188] util-linux-core-0:2.42.2-3.fc 100% | 33.5 MiB/s | 583.3 KiB | 00m00s [100/188] zlib-ng-compat-0:2.3.3-6.fc45 100% | 7.4 MiB/s | 98.6 KiB | 00m00s [101/188] xz-libs-1:5.8.3-2.fc45.i686 100% | 8.3 MiB/s | 126.9 KiB | 00m00s [102/188] ncurses-base-0:6.6-3.fc45.noa 100% | 3.9 MiB/s | 63.5 KiB | 00m00s [103/188] glibc-gconv-extra-0:2.44-2.fc 100% | 72.8 MiB/s | 1.7 MiB | 00m00s [104/188] gnulib-l10n-0:20241231-4.fc45 100% | 9.3 MiB/s | 143.2 KiB | 00m00s [105/188] libsepol-0:3.11-2.fc45.i686 100% | 21.4 MiB/s | 373.2 KiB | 00m00s [106/188] crypto-policies-0:20260713-2. 100% | 4.5 MiB/s | 73.9 KiB | 00m00s [107/188] ca-certificates-0:2025.2.80_v 100% | 47.0 MiB/s | 963.4 KiB | 00m00s [108/188] fips-provider-0:1.5.2-3.fc45. 100% | 78.2 MiB/s | 1.6 MiB | 00m00s [109/188] fedora-repos-0:46-0.3.noarch 100% | 562.3 KiB/s | 9.6 KiB | 00m00s [110/188] redhat-systemd-presets-0:102- 100% | 610.2 KiB/s | 8.5 KiB | 00m00s [111/188] add-determinism-0:0.7.3-3.fc4 100% | 44.9 MiB/s | 874.5 KiB | 00m00s [112/188] linkdupes-0:0.7.3-3.fc45.i686 100% | 18.8 MiB/s | 365.6 KiB | 00m00s [113/188] pcre2-syntax-0:10.47-1.fc45.2 100% | 7.3 MiB/s | 165.1 KiB | 00m00s [114/188] alternatives-0:1.33-6.fc45.i6 100% | 3.0 MiB/s | 39.9 KiB | 00m00s [115/188] curl-0:8.21.0-5.fc45.i686 100% | 13.6 MiB/s | 251.4 KiB | 00m00s [116/188] file-libs-0:5.47-3.fc45.i686 100% | 39.0 MiB/s | 879.2 KiB | 00m00s [117/188] elfutils-debuginfod-client-0: 100% | 3.6 MiB/s | 48.3 KiB | 00m00s [118/188] jansson-0:2.14-5.fc45.i686 100% | 3.3 MiB/s | 47.9 KiB | 00m00s [119/188] libzstd-0:1.5.7-6.fc45.i686 100% | 23.7 MiB/s | 364.2 KiB | 00m00s [120/188] elfutils-libs-0:0.195-3.fc45. 100% | 17.1 MiB/s | 315.0 KiB | 00m00s [121/188] libxml2-0:2.13.9-4.fc45.i686 100% | 33.2 MiB/s | 747.0 KiB | 00m00s [122/188] lz4-libs-0:1.10.0-5.fc45.i686 100% | 3.9 MiB/s | 80.0 KiB | 00m00s [123/188] pkgconf-0:2.5.1-2.fc45.i686 100% | 3.4 MiB/s | 49.4 KiB | 00m00s [124/188] pkgconf-m4-0:2.5.1-2.fc45.noa 100% | 1.0 MiB/s | 13.8 KiB | 00m00s [125/188] libgomp-0:16.1.1-4.fc45.1.i68 100% | 20.4 MiB/s | 397.7 KiB | 00m00s [126/188] lua-libs-0:5.5.1-1.fc45.i686 100% | 9.9 MiB/s | 163.0 KiB | 00m00s [127/188] rpm-sign-libs-0:6.0.92-2.fc45 100% | 1.3 MiB/s | 27.4 KiB | 00m00s [128/188] sqlite-libs-0:3.53.4-1.fc45.i 100% | 39.7 MiB/s | 853.2 KiB | 00m00s [129/188] rpm-sequoia-0:1.10.2-5.fc45.i 100% | 44.2 MiB/s | 1.0 MiB | 00m00s [130/188] libffi-0:3.5.2-3.fc45.i686 100% | 3.0 MiB/s | 39.5 KiB | 00m00s [131/188] p11-kit-trust-0:0.26.5-1.fc45 100% | 9.8 MiB/s | 151.0 KiB | 00m00s [132/188] p11-kit-0:0.26.5-1.fc45.i686 100% | 31.5 MiB/s | 547.6 KiB | 00m00s [133/188] fedora-gpg-keys-0:46-0.3.noar 100% | 9.2 MiB/s | 132.1 KiB | 00m00s [134/188] fedora-repos-rawhide-0:46-0.3 100% | 601.6 KiB/s | 9.0 KiB | 00m00s [135/188] redhat-systemd-presets-common 100% | 944.9 KiB/s | 13.2 KiB | 00m00s [136/188] json-c-0:0.18-9.fc45.i686 100% | 3.5 MiB/s | 49.5 KiB | 00m00s [137/188] libpkgconf-0:2.5.1-2.fc45.i68 100% | 3.2 MiB/s | 45.5 KiB | 00m00s [138/188] ima-evm-utils-libs-0:1.6.2-12 100% | 2.3 MiB/s | 30.7 KiB | 00m00s [139/188] gnupg2-0:2.4.9-18.fc45.i686 100% | 79.1 MiB/s | 1.7 MiB | 00m00s [140/188] libfsverity-0:1.7-4.fc45.i686 100% | 1.4 MiB/s | 19.7 KiB | 00m00s [141/188] libtasn1-0:4.21.0-2.fc45.i686 100% | 5.4 MiB/s | 77.4 KiB | 00m00s [142/188] gpgverify-0:2.2-5.fc45.noarch 100% | 870.0 KiB/s | 11.3 KiB | 00m00s [143/188] gnupg2-dirmngr-0:2.4.9-18.fc4 100% | 18.1 MiB/s | 297.3 KiB | 00m00s [144/188] gnupg2-gpg-agent-0:2.4.9-18.f 100% | 18.0 MiB/s | 294.7 KiB | 00m00s [145/188] gnupg2-gpgconf-0:2.4.9-18.fc4 100% | 9.1 MiB/s | 121.5 KiB | 00m00s [146/188] gnupg2-keyboxd-0:2.4.9-18.fc4 100% | 6.1 MiB/s | 99.4 KiB | 00m00s [147/188] gnupg2-verify-0:2.4.9-18.fc45 100% | 10.3 MiB/s | 179.7 KiB | 00m00s [148/188] libassuan-0:2.5.7-6.fc45.i686 100% | 4.3 MiB/s | 70.7 KiB | 00m00s [149/188] libgcrypt-0:1.12.2-2.fc45.i68 100% | 35.1 MiB/s | 574.4 KiB | 00m00s [150/188] libgpg-error-0:1.61-2.fc45.i6 100% | 15.3 MiB/s | 251.5 KiB | 00m00s [151/188] npth-0:1.8-5.fc45.i686 100% | 854.9 KiB/s | 25.6 KiB | 00m00s [152/188] tpm2-tss-0:4.2.0-1.fc45.i686 100% | 21.1 MiB/s | 388.8 KiB | 00m00s [153/188] libksba-0:1.8.0-3.fc45.i686 100% | 10.0 MiB/s | 173.6 KiB | 00m00s [154/188] openldap-0:2.6.14-1.fc46.i686 100% | 16.6 MiB/s | 288.3 KiB | 00m00s [155/188] gnutls-0:3.8.13-3.fc45.i686 100% | 29.9 MiB/s | 1.4 MiB | 00m00s [156/188] libidn2-0:2.3.8-4.fc45.i686 100% | 11.9 MiB/s | 170.5 KiB | 00m00s [157/188] libusb1-0:1.0.30-2.fc45.i686 100% | 3.0 MiB/s | 86.9 KiB | 00m00s [158/188] libunistring-0:1.1-12.fc45.i6 100% | 31.8 MiB/s | 553.7 KiB | 00m00s [159/188] nettle-0:4.0-5.fc45.i686 100% | 27.2 MiB/s | 446.2 KiB | 00m00s [160/188] cyrus-sasl-lib-0:2.1.28-37.fc 100% | 47.3 MiB/s | 871.9 KiB | 00m00s [161/188] libevent-0:2.1.12-19.fc45.i68 100% | 19.8 MiB/s | 304.4 KiB | 00m00s [162/188] libtool-ltdl-0:2.5.4-11.fc45. 100% | 2.2 MiB/s | 38.5 KiB | 00m00s [163/188] gdbm-libs-1:1.23-12.fc45.i686 100% | 4.6 MiB/s | 61.3 KiB | 00m00s [164/188] fedora-release-identity-basic 100% | 904.1 KiB/s | 12.7 KiB | 00m00s [165/188] systemd-standalone-sysusers-0 100% | 27.7 MiB/s | 425.8 KiB | 00m00s [166/188] xxhash-libs-0:0.8.3-5.fc45.i6 100% | 3.1 MiB/s | 47.8 KiB | 00m00s [167/188] libcurl-0:8.21.0-5.fc45.i686 100% | 26.4 MiB/s | 514.5 KiB | 00m00s [168/188] krb5-libs-0:1.22.2-9.fc45.i68 100% | 45.2 MiB/s | 832.5 KiB | 00m00s [169/188] libbrotli-0:1.2.0-6.fc45.i686 100% | 22.1 MiB/s | 339.1 KiB | 00m00s [170/188] libnghttp2-0:1.69.0-5.fc45.i6 100% | 5.7 MiB/s | 81.5 KiB | 00m00s [171/188] libnghttp3-0:1.18.0-1.fc45.i6 100% | 5.4 MiB/s | 83.4 KiB | 00m00s [172/188] libpsl-0:0.23.1-1.fc45.i686 100% | 4.4 MiB/s | 68.1 KiB | 00m00s [173/188] gdb-minimal-0:17.2-4.fc45.i68 100% | 66.8 MiB/s | 5.1 MiB | 00m00s [174/188] libssh-0:0.12.2-1.fc45.i686 100% | 17.0 MiB/s | 312.7 KiB | 00m00s [175/188] ngtcp2-0:1.22.1-3.fc45.i686 100% | 12.7 MiB/s | 182.6 KiB | 00m00s [176/188] ngtcp2-crypto-ossl-0:1.22.1-3 100% | 2.1 MiB/s | 29.7 KiB | 00m00s [177/188] keyutils-libs-0:1.6.3-8.fc45. 100% | 2.1 MiB/s | 31.9 KiB | 00m00s [178/188] libcom_err-0:1.47.4-2.fc45.i6 100% | 2.0 MiB/s | 27.0 KiB | 00m00s [179/188] libverto-0:0.3.2-13.fc45.i686 100% | 1.6 MiB/s | 21.2 KiB | 00m00s [180/188] publicsuffix-list-dafsa-0:202 100% | 3.7 MiB/s | 61.1 KiB | 00m00s [181/188] libfido2-0:1.17.0-5.fc45.i686 100% | 7.3 MiB/s | 112.5 KiB | 00m00s [182/188] libssh-config-0:0.12.2-1.fc45 100% | 687.6 KiB/s | 8.9 KiB | 00m00s [183/188] libcbor-0:0.14.0-3.fc45.i686 100% | 3.0 MiB/s | 40.1 KiB | 00m00s [184/188] policycoreutils-0:3.11-2.fc45 100% | 14.5 MiB/s | 236.8 KiB | 00m00s [185/188] selinux-policy-0:45.13-1.fc46 100% | 2.6 MiB/s | 36.7 KiB | 00m00s [186/188] libselinux-utils-0:3.11-4.fc4 100% | 4.0 MiB/s | 113.5 KiB | 00m00s [187/188] rpm-plugin-selinux-0:6.0.92-2 100% | 663.7 KiB/s | 17.9 KiB | 00m00s [188/188] selinux-policy-targeted-0:45. 100% | 104.9 MiB/s | 6.6 MiB | 00m00s -------------------------------------------------------------------------------- [188/188] Total 100% | 54.5 MiB/s | 71.4 MiB | 00m01s Running transaction [ 1/190] Verify package files 100% | 688.0 B/s | 188.0 B | 00m00s >>> Running %pretrans scriptlet: filesystem-0:3.18-59.fc45.i686 >>> Finished %pretrans scriptlet: filesystem-0:3.18-59.fc45.i686 >>> [RPM] failed to open /var/lib/mock/fedora-rawhide-i686-1787261323.367903/root/etc/group for id/name lookup: No such file or directory [ 2/190] Prepare transaction 100% | 3.3 KiB/s | 188.0 B | 00m00s [ 3/190] Installing redhat-systemd-pre 100% | 0.0 B/s | 1.5 KiB | 00m00s [ 4/190] Installing redhat-systemd-pre 100% | 0.0 B/s | 18.1 KiB | 00m00s [ 5/190] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 6/190] Installing publicsuffix-list- 100% | 0.0 B/s | 72.0 KiB | 00m00s [ 7/190] Installing fedora-release-ide 100% | 0.0 B/s | 920.0 B | 00m00s [ 8/190] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.5 KiB | 00m00s [ 9/190] Installing fedora-gpg-keys-0: 100% | 44.4 MiB/s | 181.7 KiB | 00m00s [ 10/190] Installing fedora-repos-0:46- 100% | 0.0 B/s | 5.9 KiB | 00m00s [ 11/190] Installing fedora-release-com 100% | 0.0 B/s | 8.0 KiB | 00m00s [ 12/190] Installing fedora-release-0:4 100% | 17.3 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.1-2.fc45.noarch >>> Finished sysusers scriptlet: setup-0:2.15.1-2.fc45.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. >>> [ 13/190] Installing setup-0:2.15.1-2.f 100% | 44.6 MiB/s | 731.3 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 14/190] Installing filesystem-0:3.18- 100% | 2.7 MiB/s | 253.1 KiB | 00m00s [ 15/190] Installing pkgconf-m4-0:2.5.1 100% | 0.0 B/s | 14.7 KiB | 00m00s [ 16/190] Installing pcre2-syntax-0:10. 100% | 277.7 MiB/s | 284.3 KiB | 00m00s [ 17/190] Installing gnulib-l10n-0:2024 100% | 215.5 MiB/s | 661.9 KiB | 00m00s [ 18/190] Installing coreutils-common-0 100% | 405.8 MiB/s | 11.0 MiB | 00m00s [ 19/190] Installing ncurses-base-0:6.6 100% | 115.7 MiB/s | 355.3 KiB | 00m00s [ 20/190] Installing rust-srpm-macros-0 100% | 0.0 B/s | 6.4 KiB | 00m00s [ 21/190] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 748.0 B | 00m00s [ 22/190] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [ 23/190] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [ 24/190] Installing package-notes-srpm 100% | 0.0 B/s | 2.1 KiB | 00m00s [ 25/190] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [ 26/190] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.1 KiB | 00m00s [ 27/190] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [ 28/190] Installing gnome-srpm-macros- 100% | 0.0 B/s | 4.1 KiB | 00m00s [ 29/190] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [ 30/190] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 31/190] Installing gap-srpm-macros-0: 100% | 0.0 B/s | 2.7 KiB | 00m00s [ 32/190] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [ 33/190] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [ 34/190] Installing libgcc-0:16.1.1-4. 100% | 292.4 MiB/s | 299.4 KiB | 00m00s [ 35/190] Installing bash-0:5.3.15-2.fc 100% | 260.5 MiB/s | 8.6 MiB | 00m00s [ 36/190] Installing glibc-common-0:2.4 100% | 51.2 MiB/s | 1.0 MiB | 00m00s [ 37/190] Installing glibc-gconv-extra- 100% | 303.9 MiB/s | 7.3 MiB | 00m00s [ 38/190] Installing glibc-0:2.44-2.fc4 100% | 157.4 MiB/s | 6.0 MiB | 00m00s [ 39/190] Installing ncurses-libs-0:6.6 100% | 236.0 MiB/s | 966.6 KiB | 00m00s [ 40/190] Installing glibc-minimal-lang 100% | 20.2 KiB/s | 124.0 B | 00m00s [ 41/190] Installing crypto-policies-0: 100% | 38.9 MiB/s | 159.5 KiB | 00m00s [ 42/190] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [ 43/190] Installing zlib-ng-compat-0:2 100% | 181.5 MiB/s | 185.8 KiB | 00m00s [ 44/190] Installing bzip2-libs-0:1.0.8 100% | 0.0 B/s | 80.8 KiB | 00m00s [ 45/190] Installing libgpg-error-0:1.6 100% | 46.4 MiB/s | 950.0 KiB | 00m00s [ 46/190] Installing libstdc++-0:16.1.1 100% | 386.9 MiB/s | 3.1 MiB | 00m00s [ 47/190] Installing libzstd-0:1.5.7-6. 100% | 451.7 MiB/s | 925.1 KiB | 00m00s [ 48/190] Installing elfutils-libelf-0: 100% | 388.4 MiB/s | 1.2 MiB | 00m00s [ 49/190] Installing libassuan-0:2.5.7- 100% | 165.0 MiB/s | 169.0 KiB | 00m00s [ 50/190] Installing libgcrypt-0:1.12.2 100% | 324.4 MiB/s | 1.3 MiB | 00m00s [ 51/190] Installing readline-0:8.3-6.f 100% | 239.2 MiB/s | 490.0 KiB | 00m00s [ 52/190] Installing gmp-1:6.3.0-6.fc45 100% | 361.5 MiB/s | 740.4 KiB | 00m00s [ 53/190] Installing libacl-0:2.4.0-2.f 100% | 0.0 B/s | 43.9 KiB | 00m00s [ 54/190] Installing systemd-libs-0:261 100% | 380.3 MiB/s | 2.7 MiB | 00m00s [ 55/190] Installing libuuid-0:2.42.2-3 100% | 0.0 B/s | 41.6 KiB | 00m00s [ 56/190] Installing xz-libs-1:5.8.3-2. 100% | 228.7 MiB/s | 234.2 KiB | 00m00s [ 57/190] Installing popt-0:1.19-11.fc4 100% | 69.5 MiB/s | 142.3 KiB | 00m00s [ 58/190] Installing sqlite-libs-0:3.53 100% | 336.4 MiB/s | 1.7 MiB | 00m00s [ 59/190] Installing npth-0:1.8-5.fc45. 100% | 0.0 B/s | 49.9 KiB | 00m00s [ 60/190] Installing elfutils-libs-0:0. 100% | 367.0 MiB/s | 751.7 KiB | 00m00s [ 61/190] Installing libblkid-0:2.42.2- 100% | 295.3 MiB/s | 302.4 KiB | 00m00s [ 62/190] Installing libsepol-0:3.11-2. 100% | 442.7 MiB/s | 906.7 KiB | 00m00s [ 63/190] Installing gnupg2-gpgconf-0:2 100% | 15.6 MiB/s | 255.9 KiB | 00m00s [ 64/190] Installing pcre2-0:10.47-1.fc 100% | 344.9 MiB/s | 706.4 KiB | 00m00s [ 65/190] Installing libselinux-0:3.11- 100% | 216.5 MiB/s | 221.7 KiB | 00m00s [ 66/190] Installing grep-0:3.12-4.fc45 100% | 52.9 MiB/s | 1.0 MiB | 00m00s [ 67/190] Installing sed-0:4.10-2.fc45. 100% | 44.9 MiB/s | 874.1 KiB | 00m00s [ 68/190] Installing findutils-1:4.11.0 100% | 98.4 MiB/s | 2.0 MiB | 00m00s [ 69/190] Installing libxcrypt-0:4.5.2- 100% | 300.0 MiB/s | 307.2 KiB | 00m00s [ 70/190] Installing libtasn1-0:4.21.0- 100% | 177.5 MiB/s | 181.7 KiB | 00m00s [ 71/190] Installing libunistring-0:1.1 100% | 347.5 MiB/s | 1.7 MiB | 00m00s [ 72/190] Installing libidn2-0:2.3.8-4. 100% | 181.6 MiB/s | 557.8 KiB | 00m00s [ 73/190] Installing xz-1:5.8.3-2.fc45. 100% | 70.4 MiB/s | 1.4 MiB | 00m00s [ 74/190] Installing libmount-0:2.42.2- 100% | 211.5 MiB/s | 433.1 KiB | 00m00s [ 75/190] Installing gnupg2-verify-0:2. 100% | 22.3 MiB/s | 364.6 KiB | 00m00s [ 76/190] Installing mpfr-0:4.2.2-4.fc4 100% | 322.0 MiB/s | 989.3 KiB | 00m00s [ 77/190] Installing gawk-0:5.4.1-1.fc4 100% | 105.6 MiB/s | 2.2 MiB | 00m00s [ 78/190] Installing dwz-0:0.17-3.fc45. 100% | 19.0 MiB/s | 310.5 KiB | 00m00s [ 79/190] Installing libksba-0:1.8.0-3. 100% | 205.6 MiB/s | 421.0 KiB | 00m00s [ 80/190] Installing unzip-0:6.0-71.fc4 100% | 26.1 MiB/s | 455.0 KiB | 00m00s [ 81/190] Installing file-libs-0:5.47-3 100% | 717.5 MiB/s | 12.2 MiB | 00m00s [ 82/190] Installing file-0:5.47-3.fc45 100% | 6.4 MiB/s | 97.7 KiB | 00m00s [ 83/190] Installing diffutils-0:3.12-6 100% | 78.1 MiB/s | 1.6 MiB | 00m00s [ 84/190] Installing libattr-0:2.6.0-2. 100% | 0.0 B/s | 24.5 KiB | 00m00s [ 85/190] Installing libeconf-0:0.7.9-4 100% | 64.1 MiB/s | 65.7 KiB | 00m00s [ 86/190] Installing libcap-ng-0:0.9.3- 100% | 67.5 MiB/s | 69.1 KiB | 00m00s [ 87/190] Installing audit-libs-0:4.2.1 100% | 196.7 MiB/s | 402.7 KiB | 00m00s [ 88/190] Installing pam-libs-0:1.7.2-4 100% | 127.4 MiB/s | 130.5 KiB | 00m00s [ 89/190] Installing libcap-0:2.78-2.fc 100% | 11.6 MiB/s | 202.2 KiB | 00m00s [ 90/190] Installing libsemanage-0:3.11 100% | 322.0 MiB/s | 329.7 KiB | 00m00s [ 91/190] Installing libsmartcols-0:2.4 100% | 188.4 MiB/s | 192.9 KiB | 00m00s [ 92/190] Installing alternatives-0:1.3 100% | 4.1 MiB/s | 62.8 KiB | 00m00s [ 93/190] Installing lua-libs-0:5.5.1-1 100% | 323.3 MiB/s | 331.1 KiB | 00m00s [ 94/190] Installing libffi-0:3.5.2-3.f 100% | 78.3 MiB/s | 80.2 KiB | 00m00s [ 95/190] Installing p11-kit-0:0.26.5-1 100% | 119.8 MiB/s | 2.8 MiB | 00m00s [ 96/190] Installing p11-kit-trust-0:0. 100% | 17.8 MiB/s | 418.2 KiB | 00m00s [ 97/190] Installing json-c-0:0.18-9.fc 100% | 85.1 MiB/s | 87.2 KiB | 00m00s [ 98/190] Installing ngtcp2-0:1.22.1-3. 100% | 191.0 MiB/s | 391.3 KiB | 00m00s [ 99/190] Installing util-linux-core-0: 100% | 68.9 MiB/s | 1.4 MiB | 00m00s [100/190] Installing liblastlog2-0:2.42 100% | 6.6 MiB/s | 34.0 KiB | 00m00s [101/190] Installing zip-0:3.0-46.fc45. 100% | 38.1 MiB/s | 701.9 KiB | 00m00s [102/190] Installing gnupg2-keyboxd-0:2 100% | 40.1 MiB/s | 205.2 KiB | 00m00s [103/190] Installing libpsl-0:0.23.1-1. 100% | 78.9 MiB/s | 80.8 KiB | 00m00s [104/190] Installing tar-2:1.35-9.fc45. 100% | 125.6 MiB/s | 3.0 MiB | 00m00s [105/190] Installing linkdupes-0:0.7.3- 100% | 45.1 MiB/s | 785.9 KiB | 00m00s [106/190] Installing libselinux-utils-0 100% | 15.9 MiB/s | 276.2 KiB | 00m00s [107/190] Installing libfdisk-0:2.42.2- 100% | 422.7 MiB/s | 432.8 KiB | 00m00s [108/190] Installing fips-provider-0:1. 100% | 387.0 MiB/s | 3.9 MiB | 00m00s [109/190] Installing openssl-libs-1:4.0 100% | 372.2 MiB/s | 6.0 MiB | 00m00s [110/190] Installing coreutils-0:9.11-6 100% | 171.1 MiB/s | 5.8 MiB | 00m00s [111/190] Installing ca-certificates-0: 100% | 1.6 MiB/s | 2.4 MiB | 00m02s [112/190] Installing gzip-0:1.14-4.fc45 100% | 20.7 MiB/s | 402.3 KiB | 00m00s [113/190] Installing util-linux-0:2.42. 100% | 94.7 MiB/s | 3.5 MiB | 00m00s [114/190] Installing policycoreutils-0: 100% | 32.0 MiB/s | 886.0 KiB | 00m00s [115/190] Installing selinux-policy-0:4 100% | 2.0 MiB/s | 34.5 KiB | 00m00s [116/190] Installing selinux-policy-tar 100% | 222.6 MiB/s | 15.1 MiB | 00m00s [117/190] Installing rpm-sequoia-0:1.10 100% | 347.2 MiB/s | 2.8 MiB | 00m00s [118/190] Installing libfsverity-0:1.7- 100% | 0.0 B/s | 24.7 KiB | 00m00s [119/190] Installing libevent-0:2.1.12- 100% | 339.4 MiB/s | 1.0 MiB | 00m00s [120/190] Installing ngtcp2-crypto-ossl 100% | 0.0 B/s | 51.7 KiB | 00m00s [121/190] Installing libxml2-0:2.13.9-4 100% | 86.3 MiB/s | 1.8 MiB | 00m00s [122/190] Installing libusb1-0:1.0.30-2 100% | 30.1 MiB/s | 185.0 KiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.2.0-1.fc45.i686 >>> Finished sysusers scriptlet: tpm2-tss-0:4.2.0-1.fc45.i686 >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [123/190] Installing tpm2-tss-0:4.2.0-1 100% | 285.6 MiB/s | 1.7 MiB | 00m00s [124/190] Installing ima-evm-utils-libs 100% | 0.0 B/s | 53.1 KiB | 00m00s [125/190] Installing gnupg2-gpg-agent-0 100% | 30.4 MiB/s | 684.4 KiB | 00m00s [126/190] Installing nettle-0:4.0-5.fc4 100% | 258.8 MiB/s | 795.1 KiB | 00m00s [127/190] Installing gnutls-0:3.8.13-3. 100% | 397.8 MiB/s | 4.0 MiB | 00m00s [128/190] Installing zstd-0:1.5.7-6.fc4 100% | 29.6 MiB/s | 514.9 KiB | 00m00s [129/190] Installing bzip2-0:1.0.8-24.f 100% | 5.5 MiB/s | 89.9 KiB | 00m00s [130/190] Installing add-determinism-0: 100% | 101.8 MiB/s | 2.0 MiB | 00m00s [131/190] Installing build-reproducibil 100% | 0.0 B/s | 1.5 KiB | 00m00s [132/190] Installing cpio-0:2.15-10.fc4 100% | 58.4 MiB/s | 1.1 MiB | 00m00s [133/190] Installing ed-0:1.22.5-3.fc45 100% | 9.8 MiB/s | 150.9 KiB | 00m00s [134/190] Installing patch-0:2.8-5.fc45 100% | 14.4 MiB/s | 235.2 KiB | 00m00s [135/190] Installing jansson-0:2.14-5.f 100% | 83.6 MiB/s | 85.6 KiB | 00m00s [136/190] Installing lz4-libs-0:1.10.0- 100% | 157.9 MiB/s | 161.7 KiB | 00m00s [137/190] Installing libarchive-0:3.8.9 100% | 346.8 MiB/s | 1.0 MiB | 00m00s [138/190] Installing libgomp-0:16.1.1-4 100% | 282.2 MiB/s | 577.9 KiB | 00m00s [139/190] Installing libpkgconf-0:2.5.1 100% | 87.7 MiB/s | 89.8 KiB | 00m00s [140/190] Installing pkgconf-0:2.5.1-2. 100% | 5.8 MiB/s | 89.7 KiB | 00m00s [141/190] Installing pkgconf-pkg-config 100% | 117.7 KiB/s | 1.8 KiB | 00m00s [142/190] Installing libtool-ltdl-0:2.5 100% | 72.6 MiB/s | 74.4 KiB | 00m00s [143/190] Installing gdbm-libs-1:1.23-1 100% | 130.8 MiB/s | 133.9 KiB | 00m00s [144/190] Installing cyrus-sasl-lib-0:2 100% | 118.5 MiB/s | 2.5 MiB | 00m00s [145/190] Installing openldap-0:2.6.14- 100% | 224.0 MiB/s | 688.2 KiB | 00m00s [146/190] Installing gnupg2-dirmngr-0:2 100% | 29.5 MiB/s | 664.5 KiB | 00m00s [147/190] Installing gnupg2-0:2.4.9-18. 100% | 205.6 MiB/s | 6.6 MiB | 00m00s [148/190] Installing gpgverify-0:2.2-5. 100% | 0.0 B/s | 9.4 KiB | 00m00s [149/190] Installing systemd-standalone 100% | 50.5 MiB/s | 931.4 KiB | 00m00s [150/190] Installing rpm-libs-0:6.0.92- 100% | 277.5 MiB/s | 1.1 MiB | 00m00s [151/190] Installing rpm-sign-libs-0:6. 100% | 0.0 B/s | 35.7 KiB | 00m00s [152/190] Installing rpm-build-libs-0:6 100% | 277.2 MiB/s | 283.8 KiB | 00m00s [153/190] Installing xxhash-libs-0:0.8. 100% | 116.0 MiB/s | 118.8 KiB | 00m00s [154/190] Installing libbrotli-0:1.2.0- 100% | 277.7 MiB/s | 853.1 KiB | 00m00s [155/190] Installing libnghttp2-0:1.69. 100% | 166.6 MiB/s | 170.6 KiB | 00m00s [156/190] Installing libnghttp3-0:1.18. 100% | 168.6 MiB/s | 172.7 KiB | 00m00s [157/190] Installing keyutils-libs-0:1. 100% | 0.0 B/s | 54.8 KiB | 00m00s [158/190] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 63.2 KiB | 00m00s [159/190] Installing libverto-0:0.3.2-1 100% | 0.0 B/s | 26.4 KiB | 00m00s [160/190] Installing krb5-libs-0:1.22.2 100% | 336.2 MiB/s | 2.4 MiB | 00m00s [161/190] Installing libcbor-0:0.14.0-3 100% | 82.2 MiB/s | 84.1 KiB | 00m00s [162/190] Installing libfido2-0:1.17.0- 100% | 255.3 MiB/s | 261.4 KiB | 00m00s [163/190] Installing libssh-0:0.12.2-1. 100% | 249.1 MiB/s | 765.3 KiB | 00m00s [164/190] Installing libcurl-0:8.21.0-5 100% | 362.4 MiB/s | 1.1 MiB | 00m00s [165/190] Installing elfutils-debuginfo 100% | 4.9 MiB/s | 80.5 KiB | 00m00s [166/190] Installing binutils-0:2.47.50 100% | 329.8 MiB/s | 24.4 MiB | 00m00s [167/190] Installing elfutils-0:0.195-3 100% | 121.0 MiB/s | 2.7 MiB | 00m00s [168/190] Installing gdb-minimal-0:17.2 100% | 282.8 MiB/s | 14.7 MiB | 00m00s [169/190] Installing debugedit-0:5.3-3. 100% | 14.0 MiB/s | 228.9 KiB | 00m00s [170/190] Installing curl-0:8.21.0-5.fc 100% | 20.8 MiB/s | 489.8 KiB | 00m00s [171/190] Installing rpm-0:6.0.92-2.fc4 100% | 75.5 MiB/s | 2.5 MiB | 00m00s [172/190] Installing cmake-srpm-macros- 100% | 0.0 B/s | 804.0 B | 00m00s [173/190] Installing efi-srpm-macros-0: 100% | 10.1 MiB/s | 41.3 KiB | 00m00s [174/190] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [175/190] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [176/190] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 9.6 KiB | 00m00s [177/190] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [178/190] Installing redhat-rpm-config- 100% | 185.9 MiB/s | 190.4 KiB | 00m00s [179/190] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [180/190] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [181/190] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 63.0 KiB | 00m00s [182/190] Installing R-srpm-macros-0:1. 100% | 0.0 B/s | 4.4 KiB | 00m00s [183/190] Installing python-srpm-macros 100% | 0.0 B/s | 52.9 KiB | 00m00s [184/190] Installing rpm-build-0:6.0.92 100% | 16.8 MiB/s | 310.3 KiB | 00m00s [185/190] Installing erlang-srpm-macros 100% | 0.0 B/s | 2.5 KiB | 00m00s [186/190] Installing pyproject-srpm-mac 100% | 0.0 B/s | 4.0 KiB | 00m00s [187/190] Installing rpm-plugin-selinux 100% | 0.0 B/s | 12.1 KiB | 00m00s [188/190] Installing which-0:2.25-2.fc4 100% | 4.6 MiB/s | 80.5 KiB | 00m00s [189/190] Installing shadow-utils-2:4.2 100% | 130.1 MiB/s | 3.9 MiB | 00m00s [190/190] Installing info-0:7.3-3.fc45. 100% | 53.8 KiB/s | 371.3 KiB | 00m07s Warning: skipped OpenPGP checks for 188 packages from repository: local Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: R-srpm-macros-1.3.7-3.fc45.noarch add-determinism-0.7.3-3.fc45.i686 alternatives-1.33-6.fc45.i686 ansible-srpm-macros-1-22.fc45.noarch audit-libs-4.2.1-2.fc45.i686 bash-5.3.15-2.fc45.i686 binutils-2.47.50-4.fc46.i686 build-reproducibility-srpm-macros-0.7.3-3.fc45.noarch bzip2-1.0.8-24.fc45.i686 bzip2-libs-1.0.8-24.fc45.i686 ca-certificates-2025.2.80_v9.0.304-9.fc45.noarch cmake-srpm-macros-4.3.0-5.fc45.noarch coreutils-9.11-6.fc45.i686 coreutils-common-9.11-6.fc45.i686 cpio-2.15-10.fc45.i686 crypto-policies-20260713-2.gitc42da77.fc45.noarch curl-8.21.0-5.fc45.i686 cyrus-sasl-lib-2.1.28-37.fc45.i686 debugedit-5.3-3.fc45.i686 diffutils-3.12-6.fc45.i686 dwz-0.17-3.fc45.i686 ed-1.22.5-3.fc45.i686 efi-srpm-macros-6-9.fc45.noarch elfutils-0.195-3.fc45.i686 elfutils-debuginfod-client-0.195-3.fc45.i686 elfutils-libelf-0.195-3.fc45.i686 elfutils-libs-0.195-3.fc45.i686 erlang-srpm-macros-0.3.11-2.fc45.noarch fedora-gpg-keys-46-0.3.noarch fedora-release-46-0.1.noarch fedora-release-common-46-0.1.noarch fedora-release-identity-basic-46-0.1.noarch fedora-repos-46-0.3.noarch fedora-repos-rawhide-46-0.3.noarch file-5.47-3.fc45.i686 file-libs-5.47-3.fc45.i686 filesystem-3.18-59.fc45.i686 filesystem-srpm-macros-3.18-59.fc45.noarch findutils-4.11.0-2.fc45.i686 fips-provider-1.5.2-3.fc45.i686 fonts-srpm-macros-5.0.0-4.fc45.noarch forge-srpm-macros-0.4.0-5.fc45.noarch fpc-srpm-macros-1.3-17.fc45.noarch gap-srpm-macros-2-3.fc45.noarch gawk-5.4.1-1.fc45.i686 gdb-minimal-17.2-4.fc45.i686 gdbm-libs-1.23-12.fc45.i686 ghc-srpm-macros-1.10-2.fc45.noarch glibc-2.44-2.fc46.i686 glibc-common-2.44-2.fc46.i686 glibc-gconv-extra-2.44-2.fc46.i686 glibc-minimal-langpack-2.44-2.fc46.i686 gmp-6.3.0-6.fc45.i686 gnat-srpm-macros-7-3.fc45.noarch gnome-srpm-macros-1.0-2.fc45.noarch gnulib-l10n-20241231-4.fc45.noarch gnupg2-2.4.9-18.fc45.i686 gnupg2-dirmngr-2.4.9-18.fc45.i686 gnupg2-gpg-agent-2.4.9-18.fc45.i686 gnupg2-gpgconf-2.4.9-18.fc45.i686 gnupg2-keyboxd-2.4.9-18.fc45.i686 gnupg2-verify-2.4.9-18.fc45.i686 gnutls-3.8.13-3.fc45.i686 go-srpm-macros-3.8.0-3.fc45.noarch gpgverify-2.2-5.fc45.noarch grep-3.12-4.fc45.i686 gzip-1.14-4.fc45.i686 ima-evm-utils-libs-1.6.2-12.fc45.i686 info-7.3-3.fc45.i686 jansson-2.14-5.fc45.i686 java-srpm-macros-1-9.fc45.noarch json-c-0.18-9.fc45.i686 kernel-srpm-macros-1.0-30.fc45.noarch keyutils-libs-1.6.3-8.fc45.i686 krb5-libs-1.22.2-9.fc45.i686 libacl-2.4.0-2.fc45.i686 libarchive-3.8.9-1.fc46.i686 libassuan-2.5.7-6.fc45.i686 libattr-2.6.0-2.fc45.i686 libblkid-2.42.2-3.fc45.i686 libbrotli-1.2.0-6.fc45.i686 libcap-2.78-2.fc45.i686 libcap-ng-0.9.3-5.fc45.i686 libcbor-0.14.0-3.fc45.i686 libcom_err-1.47.4-2.fc45.i686 libcurl-8.21.0-5.fc45.i686 libeconf-0.7.9-4.fc45.i686 libevent-2.1.12-19.fc45.i686 libfdisk-2.42.2-3.fc45.i686 libffi-3.5.2-3.fc45.i686 libfido2-1.17.0-5.fc45.i686 libfsverity-1.7-4.fc45.i686 libgcc-16.1.1-4.fc45.1.i686 libgcrypt-1.12.2-2.fc45.i686 libgomp-16.1.1-4.fc45.1.i686 libgpg-error-1.61-2.fc45.i686 libidn2-2.3.8-4.fc45.i686 libksba-1.8.0-3.fc45.i686 liblastlog2-2.42.2-3.fc45.i686 libmount-2.42.2-3.fc45.i686 libnghttp2-1.69.0-5.fc45.i686 libnghttp3-1.18.0-1.fc45.i686 libpkgconf-2.5.1-2.fc45.i686 libpsl-0.23.1-1.fc45.i686 libselinux-3.11-4.fc45.i686 libselinux-utils-3.11-4.fc45.i686 libsemanage-3.11-3.fc45.i686 libsepol-3.11-2.fc45.i686 libsmartcols-2.42.2-3.fc45.i686 libssh-0.12.2-1.fc45.i686 libssh-config-0.12.2-1.fc45.noarch libstdc++-16.1.1-4.fc45.1.i686 libtasn1-4.21.0-2.fc45.i686 libtool-ltdl-2.5.4-11.fc45.i686 libunistring-1.1-12.fc45.i686 libusb1-1.0.30-2.fc45.i686 libuuid-2.42.2-3.fc45.i686 libverto-0.3.2-13.fc45.i686 libxcrypt-4.5.2-4.fc45.i686 libxml2-2.13.9-4.fc45.i686 libzstd-1.5.7-6.fc45.i686 linkdupes-0.7.3-3.fc45.i686 lua-libs-5.5.1-1.fc45.i686 lua-srpm-macros-1-18.fc45.noarch lz4-libs-1.10.0-5.fc45.i686 mpfr-4.2.2-4.fc45.i686 ncurses-base-6.6-3.fc45.noarch ncurses-libs-6.6-3.fc45.i686 nettle-4.0-5.fc45.i686 ngtcp2-1.22.1-3.fc45.i686 ngtcp2-crypto-ossl-1.22.1-3.fc45.i686 npth-1.8-5.fc45.i686 ocaml-srpm-macros-11-4.fc45.noarch openblas-srpm-macros-2-22.fc45.noarch openldap-2.6.14-1.fc46.i686 openssl-libs-4.0.1-5.fc45.i686 p11-kit-0.26.5-1.fc45.i686 p11-kit-trust-0.26.5-1.fc45.i686 package-notes-srpm-macros-0.20-2.fc45.noarch pam-libs-1.7.2-4.fc45.i686 patch-2.8-5.fc45.i686 pcre2-10.47-1.fc45.2.i686 pcre2-syntax-10.47-1.fc45.2.noarch perl-srpm-macros-1-65.fc45.noarch pkgconf-2.5.1-2.fc45.i686 pkgconf-m4-2.5.1-2.fc45.noarch pkgconf-pkg-config-2.5.1-2.fc45.i686 policycoreutils-3.11-2.fc45.i686 popt-1.19-11.fc45.i686 publicsuffix-list-dafsa-20260624-2.fc45.noarch pyproject-srpm-macros-1.23.2-1.fc45.noarch python-srpm-macros-3.15-2.fc45.noarch qt5-srpm-macros-5.15.18-3.fc45.noarch qt6-srpm-macros-6.11.1-2.fc45.noarch readline-8.3-6.fc45.i686 redhat-rpm-config-344-5.fc45.noarch redhat-systemd-presets-102-3.fc45.noarch redhat-systemd-presets-common-102-3.fc45.noarch rpm-6.0.92-2.fc45.i686 rpm-build-6.0.92-2.fc45.i686 rpm-build-libs-6.0.92-2.fc45.i686 rpm-libs-6.0.92-2.fc45.i686 rpm-plugin-selinux-6.0.92-2.fc45.i686 rpm-sequoia-1.10.2-5.fc45.i686 rpm-sign-libs-6.0.92-2.fc45.i686 rust-srpm-macros-28.5-2.fc45.noarch sed-4.10-2.fc45.i686 selinux-policy-45.13-1.fc46.noarch selinux-policy-targeted-45.13-1.fc46.noarch setup-2.15.1-2.fc45.noarch shadow-utils-4.20.0-1.fc45.i686 sqlite-libs-3.53.4-1.fc45.i686 systemd-libs-261.2-1.fc45.i686 systemd-standalone-sysusers-261.2-1.fc45.i686 tar-1.35-9.fc45.i686 tpm2-tss-4.2.0-1.fc45.i686 tree-sitter-srpm-macros-0.4.6-2.fc45.noarch unzip-6.0-71.fc45.i686 util-linux-2.42.2-3.fc45.i686 util-linux-core-2.42.2-3.fc45.i686 which-2.25-2.fc45.i686 xxhash-libs-0.8.3-5.fc45.i686 xz-5.8.3-2.fc45.i686 xz-libs-5.8.3-2.fc45.i686 zig-srpm-macros-1-9.fc45.noarch zip-3.0-46.fc45.i686 zlib-ng-compat-2.3.3-6.fc45.i686 zstd-1.5.7-6.fc45.i686 Start: buildsrpm Start: rpmbuild -bs Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/python-aioresponses-0.7.9-2.fc46.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-i686-1787261323.367903/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-b_4lbkck/python-aioresponses/python-aioresponses.spec) Config(child) 0 minutes 19 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-aioresponses-0.7.9-2.fc46.src.rpm) Config(fedora-rawhide-i686) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-i686-bootstrap-1787261323.367903/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-i686-bootstrap-1787261323.367903/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-i686-1787261323.367903/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-6.0.92-2.fc45.x86_64 rpm-sequoia-1.10.2-5.fc45.x86_64 dnf5-5.4.3.0-2.fc46.x86_64 dnf5-plugins-5.4.3.0-2.fc46.x86_64 Finish: chroot init Start: build phase for python-aioresponses-0.7.9-2.fc46.src.rpm Start: build setup for python-aioresponses-0.7.9-2.fc46.src.rpm Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/python-aioresponses-0.7.9-2.fc46.src.rpm Updating and loading repositories: local 100% | 205.5 KiB/s | 3.5 KiB | 00m00s Copr repository 100% | 6.3 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-ddt noarch 0:1.7.2-10.fc45 local 35.2 KiB python3-devel i686 0:3.15.0~rc1-1.fc45 local 2.4 MiB python3-pytest noarch 0:9.1.1-1.fc45 local 24.3 MiB python3-pytest-asyncio noarch 0:1.4.0-4.fc45 local 171.5 KiB Installing dependencies: expat i686 0:2.8.1-2.fc45 local 326.1 KiB mpdecimal i686 0:4.0.1-4.fc45 local 216.3 KiB pyproject-rpm-macros noarch 0:1.23.2-1.fc45 local 156.3 KiB python-pip-wheel noarch 0:26.1.2-2.fc45 local 1.2 MiB python-rpm-macros noarch 0:3.15-2.fc45 local 28.0 KiB python3 i686 0:3.15.0~rc1-1.fc45 local 27.9 KiB python3-iniconfig noarch 0:2.3.0-5.fc45 local 49.6 KiB python3-libs i686 0:3.15.0~rc1-1.fc45 local 46.5 MiB python3-packaging noarch 0:26.3-1.fc46 local 1.3 MiB python3-pluggy noarch 0:1.6.0-8.fc45 local 216.0 KiB python3-pygments noarch 0:2.20.0-5.fc45 local 11.3 MiB python3-rpm-generators noarch 0:14-33.fc46 local 81.9 KiB python3-rpm-macros noarch 0:3.15-2.fc45 local 6.5 KiB tzdata noarch 0:2026c-1.fc45 local 1.2 MiB Transaction Summary: Installing: 18 packages Total size of inbound packages is 18 MiB. Need to download 18 MiB. After this operation, 90 MiB extra will be used (install 90 MiB, remove 0 B). [ 1/18] python3-ddt-0:1.7.2-10.fc45.noa 100% | 638.0 KiB/s | 22.3 KiB | 00m00s [ 2/18] python3-pytest-asyncio-0:1.4.0- 100% | 1.5 MiB/s | 46.7 KiB | 00m00s [ 3/18] python3-0:3.15.0~rc1-1.fc45.i68 100% | 1.6 MiB/s | 26.9 KiB | 00m00s [ 4/18] python3-devel-0:3.15.0~rc1-1.fc 100% | 4.1 MiB/s | 431.8 KiB | 00m00s [ 5/18] python3-iniconfig-0:2.3.0-5.fc4 100% | 1.6 MiB/s | 25.8 KiB | 00m00s [ 6/18] python3-packaging-0:26.3-1.fc46 100% | 10.1 MiB/s | 280.5 KiB | 00m00s [ 7/18] python3-pluggy-0:1.6.0-8.fc45.n 100% | 1.3 MiB/s | 55.8 KiB | 00m00s [ 8/18] python3-libs-0:3.15.0~rc1-1.fc4 100% | 56.3 MiB/s | 10.6 MiB | 00m00s [ 9/18] expat-0:2.8.1-2.fc45.i686 100% | 7.7 MiB/s | 134.6 KiB | 00m00s [10/18] python3-pygments-0:2.20.0-5.fc4 100% | 22.7 MiB/s | 2.5 MiB | 00m00s [11/18] mpdecimal-0:4.0.1-4.fc45.i686 100% | 5.5 MiB/s | 101.4 KiB | 00m00s [12/18] tzdata-0:2026c-1.fc45.noarch 100% | 16.7 MiB/s | 427.4 KiB | 00m00s [13/18] python-pip-wheel-0:26.1.2-2.fc4 100% | 23.0 MiB/s | 1.2 MiB | 00m00s [14/18] python-rpm-macros-0:3.15-2.fc45 100% | 1.5 MiB/s | 19.8 KiB | 00m00s [15/18] python3-rpm-generators-0:14-33. 100% | 2.0 MiB/s | 28.5 KiB | 00m00s [16/18] python3-rpm-macros-0:3.15-2.fc4 100% | 815.2 KiB/s | 12.2 KiB | 00m00s [17/18] python3-pytest-0:9.1.1-1.fc45.n 100% | 5.6 MiB/s | 2.4 MiB | 00m00s [18/18] pyproject-rpm-macros-0:1.23.2-1 100% | 189.8 KiB/s | 54.8 KiB | 00m00s -------------------------------------------------------------------------------- [18/18] Total 100% | 21.3 MiB/s | 18.3 MiB | 00m01s Running transaction [ 1/20] Verify package files 100% | 268.0 B/s | 18.0 B | 00m00s [ 2/20] Prepare transaction 100% | 514.0 B/s | 18.0 B | 00m00s [ 3/20] Installing python-rpm-macros-0: 100% | 28.2 MiB/s | 28.9 KiB | 00m00s [ 4/20] Installing python3-rpm-macros-0 100% | 0.0 B/s | 6.8 KiB | 00m00s [ 5/20] Installing pyproject-rpm-macros 100% | 51.6 MiB/s | 158.6 KiB | 00m00s [ 6/20] Installing tzdata-0:2026c-1.fc4 100% | 55.7 MiB/s | 1.5 MiB | 00m00s [ 7/20] Installing python-pip-wheel-0:2 100% | 622.9 MiB/s | 1.2 MiB | 00m00s [ 8/20] Installing mpdecimal-0:4.0.1-4. 100% | 212.7 MiB/s | 217.8 KiB | 00m00s [ 9/20] Installing expat-0:2.8.1-2.fc45 100% | 14.6 MiB/s | 328.2 KiB | 00m00s [10/20] Installing python3-libs-0:3.15. 100% | 350.0 MiB/s | 46.9 MiB | 00m00s [11/20] Installing python3-0:3.15.0~rc1 100% | 1.8 MiB/s | 29.7 KiB | 00m00s [12/20] Installing python3-packaging-0: 100% | 326.5 MiB/s | 1.3 MiB | 00m00s [13/20] Installing python3-rpm-generato 100% | 0.0 B/s | 83.0 KiB | 00m00s [14/20] Installing python3-iniconfig-0: 100% | 52.7 MiB/s | 54.0 KiB | 00m00s [15/20] Installing python3-pluggy-0:1.6 100% | 108.6 MiB/s | 222.4 KiB | 00m00s [16/20] Installing python3-pygments-0:2 100% | 213.6 MiB/s | 11.5 MiB | 00m00s [17/20] Installing python3-pytest-0:9.1 100% | 370.3 MiB/s | 24.4 MiB | 00m00s [18/20] Installing python3-pytest-async 100% | 85.4 MiB/s | 175.0 KiB | 00m00s [19/20] Installing python3-devel-0:3.15 100% | 100.0 MiB/s | 2.5 MiB | 00m00s [20/20] Installing python3-ddt-0:1.7.2- 100% | 2.0 MiB/s | 37.3 KiB | 00m00s Warning: skipped OpenPGP checks for 18 packages from repository: local Complete! Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/python-aioresponses-0.7.9-2.fc46.src.rpm Updating and loading repositories: local 100% | 205.5 KiB/s | 3.5 KiB | 00m00s Copr repository 100% | 3.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Nothing to do. Package "python3-devel-3.15.0~rc1-1.fc45.i686" is already installed. Package "python3-ddt-1.7.2-10.fc45.noarch" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "python3-pytest-asyncio-1.4.0-4.fc45.noarch" is already installed. Finish: build setup for python-aioresponses-0.7.9-2.fc46.src.rpm Start: rpmbuild python-aioresponses-0.7.9-2.fc46.src.rpm Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1784160000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.teXPKv Creating(rpmbuild.env): /builddir/build/BUILD/python-aioresponses-0.7.9-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/python-aioresponses-0.7.9-build" RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu" RPM_LD_FLAGS="-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 " RPM_ARCH="i386" RPM_OS="linux" RPM_BUILD_NCPUS="4" RPM_SPECPARTS_DIR="/builddir/build/BUILD/python-aioresponses-0.7.9-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="python-aioresponses" RPM_PACKAGE_VERSION="0.7.9" RPM_PACKAGE_RELEASE="2.fc46" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sQeeQJ + umask 022 + cd /builddir/build/BUILD/python-aioresponses-0.7.9-build + cd /builddir/build/BUILD/python-aioresponses-0.7.9-build + rm -rf aioresponses-0.7.9 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/aioresponses-0.7.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd aioresponses-0.7.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e '/flake\|tox\|coverage\|pytest-cov\|pytest-html\|Sphinx/d' requirements-dev.txt -i + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.oXQBNl + umask 022 + cd /builddir/build/BUILD/python-aioresponses-0.7.9-build + cd aioresponses-0.7.9 + 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-aioresponses-0.7.9-build/.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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=46 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-aioresponses-0.7.9-build/pyproject-wheeldir --output /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-dep-overrides 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-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-aioresponses-0.7.9-2.fc46.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: local 100% | 205.5 KiB/s | 3.5 KiB | 00m00s Copr repository 100% | 6.4 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.23.2-1.fc45.noarch" is already installed. Package "python3-devel-3.15.0~rc1-1.fc45.i686" is already installed. Package "python3-ddt-1.7.2-10.fc45.noarch" is already installed. Package "python3-packaging-26.3-1.fc46.noarch" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "python3-pytest-asyncio-1.4.0-4.fc45.noarch" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 0:26.1.2-2.fc45 local 12.1 MiB python3-setuptools noarch 0:83.0.0-2.fc45 local 7.3 MiB Transaction Summary: Installing: 2 packages Total size of inbound packages is 4 MiB. Need to download 4 MiB. After this operation, 19 MiB extra will be used (install 19 MiB, remove 0 B). [1/2] python3-pip-0:26.1.2-2.fc45.noarc 100% | 23.2 MiB/s | 2.5 MiB | 00m00s [2/2] python3-setuptools-0:83.0.0-2.fc4 100% | 12.1 MiB/s | 1.6 MiB | 00m00s -------------------------------------------------------------------------------- [2/2] Total 100% | 26.0 MiB/s | 4.1 MiB | 00m00s Running transaction [1/4] Verify package files 100% | 142.0 B/s | 2.0 B | 00m00s [2/4] Prepare transaction 100% | 95.0 B/s | 2.0 B | 00m00s [3/4] Installing python3-setuptools-0:8 100% | 225.8 MiB/s | 7.5 MiB | 00m00s [4/4] Installing python3-pip-0:26.1.2-2 100% | 164.4 MiB/s | 12.3 MiB | 00m00s Warning: skipped OpenPGP checks for 2 packages from repository: local Complete! Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1784160000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.3PxA71 + umask 022 + cd /builddir/build/BUILD/python-aioresponses-0.7.9-build + cd aioresponses-0.7.9 + 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-aioresponses-0.7.9-build/.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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=46 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-aioresponses-0.7.9-build/pyproject-wheeldir --output /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-dep-overrides Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools>=40.8 (installed: setuptools 83.0.0) /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() Handling pbr from get_requires_for_build_wheel Requirement not satisfied: pbr Exiting dependency generation pass: get_requires_for_build_wheel + cat /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-aioresponses-0.7.9-2.fc46.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: local 100% | 183.9 KiB/s | 3.5 KiB | 00m00s Copr repository 100% | 3.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.23.2-1.fc45.noarch" is already installed. Package "python3-devel-3.15.0~rc1-1.fc45.i686" is already installed. Package "python3-ddt-1.7.2-10.fc45.noarch" is already installed. Package "python3-packaging-26.3-1.fc46.noarch" is already installed. Package "python3-pip-26.1.2-2.fc45.noarch" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "python3-pytest-asyncio-1.4.0-4.fc45.noarch" is already installed. Package "python3-setuptools-83.0.0-2.fc45.noarch" is already installed. Total size of inbound packages is 7 MiB. Need to download 7 MiB. After this operation, 32 MiB extra will be used (install 32 MiB, remove 0 B). Package Arch Version Repository Size Installing: python3-pbr noarch 0:7.0.3-6.fc45 local 711.1 KiB Installing dependencies: git-core i686 0:2.55.0-2.fc45 local 26.3 MiB less i686 0:704-4.fc46 local 489.1 KiB libedit i686 0:3.1-60.20260512cvs.fc45 local 243.6 KiB openssh i686 0:10.4p1-4.fc45 local 1.6 MiB openssh-clients i686 0:10.4p1-4.fc45 local 2.6 MiB Transaction Summary: Installing: 6 packages [1/6] less-0:704-4.fc46.i686 100% | 3.2 MiB/s | 234.6 KiB | 00m00s [2/6] python3-pbr-0:7.0.3-6.fc45.noarch 100% | 2.4 MiB/s | 203.7 KiB | 00m00s [3/6] libedit-0:3.1-60.20260512cvs.fc45 100% | 3.4 MiB/s | 115.1 KiB | 00m00s [4/6] openssh-clients-0:10.4p1-4.fc45.i 100% | 15.8 MiB/s | 842.1 KiB | 00m00s [5/6] openssh-0:10.4p1-4.fc45.i686 100% | 11.5 MiB/s | 378.4 KiB | 00m00s [6/6] git-core-0:2.55.0-2.fc45.i686 100% | 20.8 MiB/s | 5.6 MiB | 00m00s -------------------------------------------------------------------------------- [6/6] Total 100% | 24.6 MiB/s | 7.3 MiB | 00m00s Running transaction [1/8] Verify package files 100% | 230.0 B/s | 6.0 B | 00m00s [2/8] Prepare transaction 100% | 333.0 B/s | 6.0 B | 00m00s [3/8] Installing openssh-0:10.4p1-4.fc4 100% | 75.2 MiB/s | 1.6 MiB | 00m00s [4/8] Installing libedit-0:3.1-60.20260 100% | 239.6 MiB/s | 245.3 KiB | 00m00s [5/8] Installing openssh-clients-0:10.4 100% | 92.3 MiB/s | 2.6 MiB | 00m00s [6/8] Installing less-0:704-4.fc46.i686 100% | 26.7 MiB/s | 492.9 KiB | 00m00s [7/8] Installing git-core-0:2.55.0-2.fc 100% | 355.3 MiB/s | 26.3 MiB | 00m00s [8/8] Installing python3-pbr-0:7.0.3-6. 100% | 23.7 MiB/s | 753.5 KiB | 00m00s Warning: skipped OpenPGP checks for 6 packages from repository: local Complete! Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1784160000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.FabRGO + umask 022 + cd /builddir/build/BUILD/python-aioresponses-0.7.9-build + cd aioresponses-0.7.9 + 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-aioresponses-0.7.9-build/.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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=46 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-aioresponses-0.7.9-build/pyproject-wheeldir --output /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-dep-overrides Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools>=40.8 (installed: setuptools 83.0.0) /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() Handling pbr from get_requires_for_build_wheel Requirement satisfied: pbr (installed: pbr 7.0.3) /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_info writing aioresponses.egg-info/PKG-INFO writing dependency_links to aioresponses.egg-info/dependency_links.txt writing requirements to aioresponses.egg-info/requires.txt writing top-level names to aioresponses.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt creating '/builddir/build/BUILD/python-aioresponses-0.7.9-build/aioresponses-0.7.9/aioresponses-0.7.9.dist-info' /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:119: 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. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() Handling packaging>=22.0 from hook generated metadata: Requires-Dist (aioresponses) Requirement satisfied: packaging>=22.0 (installed: packaging 26.3) Handling aiohttp<4.0,>=3.8 from hook generated metadata: Requires-Dist (aioresponses) Requirement not satisfied: aiohttp<4.0,>=3.8 + cat /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-buildrequires + rm -rfv aioresponses-0.7.9.dist-info/ removed 'aioresponses-0.7.9.dist-info/licenses/AUTHORS.rst' removed 'aioresponses-0.7.9.dist-info/licenses/AUTHORS' removed 'aioresponses-0.7.9.dist-info/licenses/LICENSE' removed directory 'aioresponses-0.7.9.dist-info/licenses' removed 'aioresponses-0.7.9.dist-info/METADATA' removed 'aioresponses-0.7.9.dist-info/pbr.json' removed 'aioresponses-0.7.9.dist-info/top_level.txt' removed directory 'aioresponses-0.7.9.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-aioresponses-0.7.9-2.fc46.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: local 100% | 205.5 KiB/s | 3.5 KiB | 00m00s Copr repository 100% | 3.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.23.2-1.fc45.noarch" is already installed. Package "python3-devel-3.15.0~rc1-1.fc45.i686" is already installed. Package "python3-ddt-1.7.2-10.fc45.noarch" is already installed. Package "python3-packaging-26.3-1.fc46.noarch" is already installed. Package "python3-packaging-26.3-1.fc46.noarch" is already installed. Package "python3-pbr-7.0.3-6.fc45.noarch" is already installed. Package "python3-pip-26.1.2-2.fc45.noarch" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "python3-pytest-asyncio-1.4.0-4.fc45.noarch" is already installed. Package "python3-setuptools-83.0.0-2.fc45.noarch" is already installed. Package Arch Version Repository Size Installing: python3-aiohttp i686 0:3.14.3-1.fc46 copr_base 4.5 MiB Installing dependencies: llhttp i686 0:9.4.2-2.fc45 local 96.4 KiB python3-aiohappyeyeballs noarch 0:2.7.1-2.fc45 local 88.8 KiB python3-aiosignal noarch 0:1.4.0-9.fc45 local 25.0 KiB python3-attrs noarch 0:26.1.0-4.fc45 local 441.4 KiB python3-frozenlist i686 0:1.8.0-9.fc45 local 160.4 KiB python3-idna noarch 0:3.18-2.fc45 local 523.7 KiB python3-multidict i686 0:6.7.1-4.fc45 local 336.0 KiB python3-propcache i686 0:0.5.2-4.fc45 local 154.0 KiB python3-yarl i686 0:1.22.0-5.fc45 local 550.5 KiB Transaction Summary: Installing: 10 packages Total size of inbound packages is 2 MiB. Need to download 2 MiB. After this operation, 7 MiB extra will be used (install 7 MiB, remove 0 B). [ 1/10] python3-aiohttp-0:3.14.3-1.fc46 100% | 67.2 MiB/s | 894.3 KiB | 00m00s [ 2/10] python3-aiosignal-0:1.4.0-9.fc4 100% | 758.5 KiB/s | 19.7 KiB | 00m00s [ 3/10] llhttp-0:9.4.2-2.fc45.i686 100% | 984.4 KiB/s | 39.4 KiB | 00m00s [ 4/10] python3-aiohappyeyeballs-0:2.7. 100% | 992.3 KiB/s | 39.7 KiB | 00m00s [ 5/10] python3-multidict-0:6.7.1-4.fc4 100% | 2.8 MiB/s | 89.7 KiB | 00m00s [ 6/10] python3-frozenlist-0:1.8.0-9.fc 100% | 1.9 MiB/s | 65.6 KiB | 00m00s [ 7/10] python3-attrs-0:26.1.0-4.fc45.n 100% | 3.5 MiB/s | 128.5 KiB | 00m00s [ 8/10] python3-propcache-0:0.5.2-4.fc4 100% | 3.9 MiB/s | 60.7 KiB | 00m00s [ 9/10] python3-idna-0:3.18-2.fc45.noar 100% | 6.4 MiB/s | 97.8 KiB | 00m00s [10/10] python3-yarl-0:1.22.0-5.fc45.i6 100% | 4.6 MiB/s | 140.4 KiB | 00m00s -------------------------------------------------------------------------------- [10/10] Total 100% | 2.9 MiB/s | 1.5 MiB | 00m01s Running transaction [ 1/12] Verify package files 100% | 1.6 KiB/s | 10.0 B | 00m00s [ 2/12] Prepare transaction 100% | 588.0 B/s | 10.0 B | 00m00s [ 3/12] Installing python3-idna-0:3.18- 100% | 26.0 MiB/s | 531.6 KiB | 00m00s [ 4/12] Installing python3-attrs-0:26.1 100% | 222.5 MiB/s | 455.7 KiB | 00m00s [ 5/12] Installing python3-aiohappyeyeb 100% | 91.6 MiB/s | 93.8 KiB | 00m00s [ 6/12] Installing python3-propcache-0: 100% | 155.3 MiB/s | 159.0 KiB | 00m00s [ 7/12] Installing python3-multidict-0: 100% | 333.0 MiB/s | 341.0 KiB | 00m00s [ 8/12] Installing python3-frozenlist-0 100% | 160.6 MiB/s | 164.4 KiB | 00m00s [ 9/12] Installing python3-aiosignal-0: 100% | 27.3 MiB/s | 28.0 KiB | 00m00s [10/12] Installing python3-yarl-0:1.22. 100% | 272.2 MiB/s | 557.5 KiB | 00m00s [11/12] Installing llhttp-0:9.4.2-2.fc4 100% | 95.5 MiB/s | 97.8 KiB | 00m00s [12/12] Installing python3-aiohttp-0:3. 100% | 195.8 MiB/s | 4.5 MiB | 00m00s Warning: skipped OpenPGP checks for 10 packages from repositories: copr_base, local Complete! Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1784160000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.xj0eku + umask 022 + cd /builddir/build/BUILD/python-aioresponses-0.7.9-build + cd aioresponses-0.7.9 + 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-aioresponses-0.7.9-build/.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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=46 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-aioresponses-0.7.9-build/pyproject-wheeldir --output /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-dep-overrides Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools>=40.8 (installed: setuptools 83.0.0) /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() Handling pbr from get_requires_for_build_wheel Requirement satisfied: pbr (installed: pbr 7.0.3) /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_info writing aioresponses.egg-info/PKG-INFO writing dependency_links to aioresponses.egg-info/dependency_links.txt writing requirements to aioresponses.egg-info/requires.txt writing top-level names to aioresponses.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt creating '/builddir/build/BUILD/python-aioresponses-0.7.9-build/aioresponses-0.7.9/aioresponses-0.7.9.dist-info' /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:119: 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. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() Handling packaging>=22.0 from hook generated metadata: Requires-Dist (aioresponses) Requirement satisfied: packaging>=22.0 (installed: packaging 26.3) Handling aiohttp<4.0,>=3.8 from hook generated metadata: Requires-Dist (aioresponses) Requirement satisfied: aiohttp<4.0,>=3.8 (installed: aiohttp 3.14.3) + cat /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-buildrequires + rm -rfv aioresponses-0.7.9.dist-info/ removed 'aioresponses-0.7.9.dist-info/licenses/AUTHORS.rst' removed 'aioresponses-0.7.9.dist-info/licenses/AUTHORS' removed 'aioresponses-0.7.9.dist-info/licenses/LICENSE' removed directory 'aioresponses-0.7.9.dist-info/licenses' removed 'aioresponses-0.7.9.dist-info/METADATA' removed 'aioresponses-0.7.9.dist-info/top_level.txt' removed 'aioresponses-0.7.9.dist-info/pbr.json' removed directory 'aioresponses-0.7.9.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-aioresponses-0.7.9-2.fc46.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: local 100% | 205.5 KiB/s | 3.5 KiB | 00m00s Copr repository 100% | 41.2 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Nothing to do. Package "pyproject-rpm-macros-1.23.2-1.fc45.noarch" is already installed. Package "python3-devel-3.15.0~rc1-1.fc45.i686" is already installed. Package "python3-ddt-1.7.2-10.fc45.noarch" is already installed. Package "python3-packaging-26.3-1.fc46.noarch" is already installed. Package "python3-packaging-26.3-1.fc46.noarch" is already installed. Package "python3-pbr-7.0.3-6.fc45.noarch" is already installed. Package "python3-pip-26.1.2-2.fc45.noarch" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "python3-pytest-asyncio-1.4.0-4.fc45.noarch" is already installed. Package "python3-setuptools-83.0.0-2.fc45.noarch" is already installed. Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1784160000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.qKc8UH + umask 022 + cd /builddir/build/BUILD/python-aioresponses-0.7.9-build + cd aioresponses-0.7.9 + 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-aioresponses-0.7.9-build/.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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=46 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-aioresponses-0.7.9-build/pyproject-wheeldir --output /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-dep-overrides Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools>=40.8 (installed: setuptools 83.0.0) /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() Handling pbr from get_requires_for_build_wheel Requirement satisfied: pbr (installed: pbr 7.0.3) /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_info writing aioresponses.egg-info/PKG-INFO writing dependency_links to aioresponses.egg-info/dependency_links.txt writing requirements to aioresponses.egg-info/requires.txt writing top-level names to aioresponses.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt creating '/builddir/build/BUILD/python-aioresponses-0.7.9-build/aioresponses-0.7.9/aioresponses-0.7.9.dist-info' /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:119: 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. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() Handling packaging>=22.0 from hook generated metadata: Requires-Dist (aioresponses) Requirement satisfied: packaging>=22.0 (installed: packaging 26.3) Handling aiohttp<4.0,>=3.8 from hook generated metadata: Requires-Dist (aioresponses) Requirement satisfied: aiohttp<4.0,>=3.8 (installed: aiohttp 3.14.3) + cat /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-buildrequires + rm -rfv aioresponses-0.7.9.dist-info/ removed 'aioresponses-0.7.9.dist-info/licenses/AUTHORS.rst' removed 'aioresponses-0.7.9.dist-info/licenses/AUTHORS' removed 'aioresponses-0.7.9.dist-info/licenses/LICENSE' removed directory 'aioresponses-0.7.9.dist-info/licenses' removed 'aioresponses-0.7.9.dist-info/METADATA' removed 'aioresponses-0.7.9.dist-info/pbr.json' removed 'aioresponses-0.7.9.dist-info/top_level.txt' removed directory 'aioresponses-0.7.9.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SrMjzF + umask 022 + cd /builddir/build/BUILD/python-aioresponses-0.7.9-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd aioresponses-0.7.9 + mkdir -p /builddir/build/BUILD/python-aioresponses-0.7.9-build/.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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-aioresponses-0.7.9-build/pyproject-wheeldir Processing ./. Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running dist_info creating /builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir/pip-modern-metadata-mjhyerqo/aioresponses.egg-info writing /builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir/pip-modern-metadata-mjhyerqo/aioresponses.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir/pip-modern-metadata-mjhyerqo/aioresponses.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir/pip-modern-metadata-mjhyerqo/aioresponses.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir/pip-modern-metadata-mjhyerqo/aioresponses.egg-info/top_level.txt [pbr] Processing SOURCES.txt writing manifest file '/builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir/pip-modern-metadata-mjhyerqo/aioresponses.egg-info/SOURCES.txt' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no files found matching '*.rst' under directory 'docs' warning: no files found matching 'conf.py' under directory 'docs' warning: no files found matching 'Makefile' under directory 'docs' warning: no files found matching 'make.bat' under directory 'docs' 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' adding license file 'LICENSE' adding license file 'AUTHORS' adding license file 'AUTHORS.rst' writing manifest file '/builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir/pip-modern-metadata-mjhyerqo/aioresponses.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir/pip-modern-metadata-mjhyerqo/aioresponses-0.7.9.dist-info' /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:119: 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. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: aioresponses Building wheel for aioresponses (pyproject.toml): started Running command Building wheel for aioresponses (pyproject.toml) /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:119: 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. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/aioresponses copying aioresponses/core.py -> build/lib/aioresponses copying aioresponses/compat.py -> build/lib/aioresponses copying aioresponses/__init__.py -> build/lib/aioresponses running egg_info writing aioresponses.egg-info/PKG-INFO writing dependency_links to aioresponses.egg-info/dependency_links.txt writing requirements to aioresponses.egg-info/requires.txt writing top-level names to aioresponses.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt copying aioresponses/py.typed -> build/lib/aioresponses installing to build/bdist.linux-i686/wheel running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating build/bdist.linux-i686/wheel creating build/bdist.linux-i686/wheel/aioresponses copying build/lib/aioresponses/py.typed -> build/bdist.linux-i686/wheel/./aioresponses copying build/lib/aioresponses/__init__.py -> build/bdist.linux-i686/wheel/./aioresponses copying build/lib/aioresponses/compat.py -> build/bdist.linux-i686/wheel/./aioresponses copying build/lib/aioresponses/core.py -> build/bdist.linux-i686/wheel/./aioresponses running install_egg_info Copying aioresponses.egg-info to build/bdist.linux-i686/wheel/./aioresponses-0.7.9-py3.15.egg-info running install_scripts creating build/bdist.linux-i686/wheel/aioresponses-0.7.9.dist-info/WHEEL creating '/builddir/.cache/pip/wheels/c3/ab/e0/88943d1f946fdaa7cbb6a01db826df1fb7610c30af57d6f874/tmp9x9wedrf/.tmp-87ebl900/aioresponses-0.7.9-py2.py3-none-any.whl' and adding 'build/bdist.linux-i686/wheel' to it adding 'aioresponses/__init__.py' adding 'aioresponses/compat.py' adding 'aioresponses/core.py' adding 'aioresponses/py.typed' adding 'aioresponses-0.7.9.dist-info/licenses/AUTHORS' adding 'aioresponses-0.7.9.dist-info/licenses/AUTHORS.rst' adding 'aioresponses-0.7.9.dist-info/licenses/LICENSE' adding 'aioresponses-0.7.9.dist-info/METADATA' adding 'aioresponses-0.7.9.dist-info/WHEEL' adding 'aioresponses-0.7.9.dist-info/top_level.txt' adding 'aioresponses-0.7.9.dist-info/RECORD' removing build/bdist.linux-i686/wheel Building wheel for aioresponses (pyproject.toml): finished with status 'done' Created wheel for aioresponses: filename=aioresponses-0.7.9-py2.py3-none-any.whl size=12576 sha256=78a263d6609e541c77da3ee1be3d45350049da701c11e61825d441b9eded875c Stored in directory: /builddir/.cache/pip/wheels/c3/ab/e0/88943d1f946fdaa7cbb6a01db826df1fb7610c30af57d6f874 Successfully built aioresponses + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fTyh8p + umask 022 + cd /builddir/build/BUILD/python-aioresponses-0.7.9-build + '[' /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-aioresponses-0.7.9-build + mkdir /builddir/build/BUILD/python-aioresponses-0.7.9-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd aioresponses-0.7.9 ++ ls /builddir/build/BUILD/python-aioresponses-0.7.9-build/pyproject-wheeldir/aioresponses-0.7.9-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=aioresponses==0.7.9 + '[' -z aioresponses==0.7.9 ']' + PIP_CONFIG_FILE=/dev/null + TMPDIR=/builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-aioresponses-0.7.9-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-aioresponses-0.7.9-build/pyproject-wheeldir aioresponses==0.7.9 Using pip 26.1.2 from /usr/lib/python3.15/site-packages/pip (python 3.15) Looking in links: /builddir/build/BUILD/python-aioresponses-0.7.9-build/pyproject-wheeldir Processing /builddir/build/BUILD/python-aioresponses-0.7.9-build/pyproject-wheeldir/aioresponses-0.7.9-py2.py3-none-any.whl Installing collected packages: aioresponses Successfully installed aioresponses-0.7.9 + '[' -d /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/bin ']' + rm -f /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages ']' + site_dirs+=("/usr/lib/python3.15/site-packages") + '[' /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages '!=' /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost %dir /usr/lib/python3.15/site-packages/aioresponses-0.7.9.dist-info' +++ basename /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages/aioresponses-0.7.9.dist-info ++ PYTHONPATH=/usr/lib/rpm/redhat ++ /usr/bin/python3 -sBc 'import sys; from pyproject_save_files import canonical_name_from_distinfo; print(canonical_name_from_distinfo(sys.argv[1]))' aioresponses-0.7.9.dist-info + _normalized=aioresponses + echo '%ghost %dir /usr/lib/python3.15/site-packages/aioresponses-0.7.9.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages/aioresponses-0.7.9.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-aioresponses-0.7.9-build/BUILDROOT --record /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages/aioresponses-0.7.9.dist-info/RECORD --output /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-record + rm -fv /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages/aioresponses-0.7.9.dist-info/RECORD removed '/builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages/aioresponses-0.7.9.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages/aioresponses-0.7.9.dist-info/REQUESTED removed '/builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages/aioresponses-0.7.9.dist-info/REQUESTED' + '[' -f /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-dep-overrides ']' ++ wc -l /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-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-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-files --output-modules /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-modules --buildroot /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT --sitelib /usr/lib/python3.15/site-packages --sitearch /usr/lib/python3.15/site-packages --python-version 3.15 --pyproject-record /builddir/build/BUILD/python-aioresponses-0.7.9-build/python-aioresponses-0.7.9-2.fc46.i386-pyproject-record --prefix /usr aioresponses + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /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-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15 using python3.15 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j4 /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages/aioresponses/__pycache__/__init__.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages/aioresponses/__pycache__/compat.cpython-315.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages/aioresponses/__pycache__/core.cpython-315.opt-1.pyc: rewriting with normalized contents Scanned 9 directories and 17 files, processed 3 inodes, 3 modified (0 replaced + 3 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr Scanned 8 directories and 17 files, considered 17 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.y58tIZ + umask 022 + cd /builddir/build/BUILD/python-aioresponses-0.7.9-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd aioresponses-0.7.9 + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu ' + 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-aioresponses-0.7.9-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin + PYTHONPATH=/builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages:/builddir/build/BUILD/python-aioresponses-0.7.9-build/BUILDROOT/usr/lib/python3.15/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-aioresponses-0.7.9-build/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + /usr/bin/pytest -v -k 'not test_address_as_instance_of_url_combined_with_pass_through and not test_pass_through_with_origin_params and not test_pass_through_unmatched_requests' ============================= test session starts ============================== platform linux -- Python 3.15.0rc1, pytest-9.1.1, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-aioresponses-0.7.9-build/aioresponses-0.7.9 configfile: setup.cfg testpaths: tests plugins: asyncio-1.4.0 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collecting ... collected 84 items / 3 deselected / 81 selected tests/test_aioresponses.py::AIOResponsesTestCase::test_assert_any_call FAILED [ 1%] tests/test_aioresponses.py::AIOResponsesTestCase::test_assert_any_call_not_called FAILED [ 2%] tests/test_aioresponses.py::AIOResponsesTestCase::test_assert_called FAILED [ 3%] tests/test_aioresponses.py::AIOResponsesTestCase::test_assert_called_twice FAILED [ 4%] tests/test_aioresponses.py::AIOResponsesTestCase::test_assert_not_called FAILED [ 6%] tests/test_aioresponses.py::AIOResponsesTestCase::test_base_url_1___http___example_com_____api_foo_bar_fragment__ FAILED [ 7%] tests/test_aioresponses.py::AIOResponsesTestCase::test_base_url_2___http___example_com______api_foo_bar_fragment__ FAILED [ 8%] tests/test_aioresponses.py::AIOResponsesTestCase::test_binary_body FAILED [ 9%] tests/test_aioresponses.py::AIOResponsesTestCase::test_binary_body_via_callback FAILED [ 11%] tests/test_aioresponses.py::AIOResponsesTestCase::test_callback FAILED [ 12%] tests/test_aioresponses.py::AIOResponsesTestCase::test_callback_coroutine FAILED [ 13%] tests/test_aioresponses.py::AIOResponsesTestCase::test_custom_response_class FAILED [ 14%] tests/test_aioresponses.py::AIOResponsesTestCase::test_exception_requests_are_tracked PASSED [ 16%] tests/test_aioresponses.py::AIOResponsesTestCase::test_exceptions_in_the_middle_of_responses FAILED [ 17%] tests/test_aioresponses.py::AIOResponsesTestCase::test_integer_repeat_once FAILED [ 18%] tests/test_aioresponses.py::AIOResponsesTestCase::test_integer_repeat_twice FAILED [ 19%] tests/test_aioresponses.py::AIOResponsesTestCase::test_method_dont_match PASSED [ 20%] tests/test_aioresponses.py::AIOResponsesTestCase::test_mocking_as_context_manager FAILED [ 22%] tests/test_aioresponses.py::AIOResponsesTestCase::test_mocking_as_decorator FAILED [ 23%] tests/test_aioresponses.py::AIOResponsesTestCase::test_mocking_as_decorator_wrong_mocked_arg_name PASSED [ 24%] tests/test_aioresponses.py::AIOResponsesTestCase::test_multiple_requests FAILED [ 25%] tests/test_aioresponses.py::AIOResponsesTestCase::test_passing_argument FAILED [ 27%] tests/test_aioresponses.py::AIOResponsesTestCase::test_possible_race_condition FAILED [ 28%] tests/test_aioresponses.py::AIOResponsesTestCase::test_post_with_data FAILED [ 29%] tests/test_aioresponses.py::AIOResponsesTestCase::test_post_with_data_selected_field_to_compare FAILED [ 30%] tests/test_aioresponses.py::AIOResponsesTestCase::test_raise_for_status FAILED [ 32%] tests/test_aioresponses.py::AIOResponsesTestCase::test_raising_exception PASSED [ 33%] tests/test_aioresponses.py::AIOResponsesTestCase::test_request_does_not_match_regexp PASSED [ 34%] tests/test_aioresponses.py::AIOResponsesTestCase::test_request_failure_in_case_session_is_closed PASSED [ 35%] tests/test_aioresponses.py::AIOResponsesTestCase::test_request_raise_for_status FAILED [ 37%] tests/test_aioresponses.py::AIOResponsesTestCase::test_request_retrieval_in_case_no_response PASSED [ 38%] tests/test_aioresponses.py::AIOResponsesTestCase::test_request_should_match_regexp FAILED [ 39%] tests/test_aioresponses.py::AIOResponsesTestCase::test_request_with_non_deepcopyable_parameter FAILED [ 40%] tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_instance FAILED [ 41%] tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_instance_and_params_handling FAILED [ 43%] tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_instance_and_status_code FAILED [ 44%] tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_response_cookies FAILED [ 45%] tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_response_headers FAILED [ 46%] tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_response_multidict_headers FAILED [ 48%] tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_response_raw_headers FAILED [ 49%] tests/test_aioresponses.py::AIOResponsesTestCase::test_session_headers FAILED [ 50%] tests/test_aioresponses.py::AIOResponsesTestCase::test_shortcut_method_1_HEAD PASSED [ 51%] tests/test_aioresponses.py::AIOResponsesTestCase::test_shortcut_method_2_GET PASSED [ 53%] tests/test_aioresponses.py::AIOResponsesTestCase::test_shortcut_method_3_POST PASSED [ 54%] tests/test_aioresponses.py::AIOResponsesTestCase::test_shortcut_method_4_PUT PASSED [ 55%] tests/test_aioresponses.py::AIOResponsesTestCase::test_shortcut_method_5_PATCH PASSED [ 56%] tests/test_aioresponses.py::AIOResponsesTestCase::test_shortcut_method_6_DELETE PASSED [ 58%] tests/test_aioresponses.py::AIOResponsesTestCase::test_shortcut_method_7_OPTIONS PASSED [ 59%] tests/test_aioresponses.py::AIOResponsesTestCase::test_streaming FAILED [ 60%] tests/test_aioresponses.py::AIOResponsesTestCase::test_streaming_up_to FAILED [ 61%] tests/test_aioresponses.py::AIOResponsesTestCase::test_timeout PASSED [ 62%] tests/test_aioresponses.py::AIOResponsesTestCase::test_unknown_request PASSED [ 64%] tests/test_aioresponses.py::AIOResponsesRaiseForStatusSessionTestCase::test_callable_raise_for_status FAILED [ 65%] tests/test_aioresponses.py::AIOResponsesRaiseForStatusSessionTestCase::test_do_not_raise_for_status FAILED [ 66%] tests/test_aioresponses.py::AIOResponsesRaiseForStatusSessionTestCase::test_raise_for_status FAILED [ 67%] tests/test_aioresponses.py::AIOResponseRedirectTest::test_post_redirect_followed FAILED [ 69%] tests/test_aioresponses.py::AIOResponseRedirectTest::test_redirect_followed FAILED [ 70%] tests/test_aioresponses.py::AIOResponseRedirectTest::test_redirect_missing_location_header FAILED [ 71%] tests/test_aioresponses.py::AIOResponseRedirectTest::test_redirect_missing_mocked_match FAILED [ 72%] tests/test_aioresponses.py::AIOResponseRedirectTest::test_relative_url_redirect_followed FAILED [ 74%] tests/test_aioresponses.py::AIOResponseRedirectTest::test_request_info FAILED [ 75%] tests/test_aioresponses.py::AIOResponseRedirectTest::test_request_info_with_original_request_headers FAILED [ 76%] tests/test_async_generator_body.py::test_async_generator_body_exception PASSED [ 77%] tests/test_compat.py::CompatTestCase::test_base_without_params_returns_corrected_url__as_str_1_True PASSED [ 79%] tests/test_compat.py::CompatTestCase::test_base_without_params_returns_corrected_url__as_str_2_False PASSED [ 80%] tests/test_compat.py::CompatTestCase::test_both_with_params_returns_corrected_url__as_str_1_True PASSED [ 81%] tests/test_compat.py::CompatTestCase::test_both_with_params_returns_corrected_url__as_str_2_False PASSED [ 82%] tests/test_compat.py::CompatTestCase::test_empty_params_returns_same_url__as_str_1_True PASSED [ 83%] tests/test_compat.py::CompatTestCase::test_empty_params_returns_same_url__as_str_2_False PASSED [ 85%] tests/test_compat.py::CompatTestCase::test_no_params_returns_same_url__as_str_1_True PASSED [ 86%] tests/test_compat.py::CompatTestCase::test_no_params_returns_same_url__as_str_2_False PASSED [ 87%] tests/test_compat.py::CompatTestCase::test_normalize_url_01___http___example_com_api_var2_baz_var1_foo____http___example_com_api_var1_foo_var2_baz___True_ PASSED [ 88%] tests/test_compat.py::CompatTestCase::test_normalize_url_02___http___example_com_api_var2_baz_var1_foo____http___example_com_api_var1_foo_var2_baz___False_ PASSED [ 90%] tests/test_compat.py::CompatTestCase::test_normalize_url_03___https___example_com_api_var3_gaz_3Bdar_var1_foo_bar_var1_bar_baz_var2_baz_26gaz____https___example_com_api_var1_bar_baz_var1_foo_bar_var2_baz_26gaz_var3_gaz_3Bdar___True_ PASSED [ 91%] tests/test_compat.py::CompatTestCase::test_normalize_url_04___https___example_com_api_var3_gaz_3Bdar_var1_foo_bar_var1_bar_baz_var2_baz_26gaz____https___example_com_api_var1_bar_baz_var1_foo_bar_var2_baz_26gaz_var3_gaz_3Bdar___False_ PASSED [ 92%] tests/test_compat.py::CompatTestCase::test_normalize_url_05___https___example_com_api_var3_gaz_3Bdar_var1_foo_3Abar_var1_bar_2Fbaz_var2_baz_26gaz____https___example_com_api_var1_bar_baz_var1_foo_bar_var2_baz_26gaz_var3_gaz_3Bdar___True_ PASSED [ 93%] tests/test_compat.py::CompatTestCase::test_normalize_url_06___https___example_com_api_var3_gaz_3Bdar_var1_foo_3Abar_var1_bar_2Fbaz_var2_baz_26gaz____https___example_com_api_var1_bar_baz_var1_foo_bar_var2_baz_26gaz_var3_gaz_3Bdar___False_ PASSED [ 95%] tests/test_compat.py::CompatTestCase::test_normalize_url_07___https___example_com_api_var_путь____https___example_com_api_var__D0_BF_D1_83_D1_82_D1_8C___True_ PASSED [ 96%] tests/test_compat.py::CompatTestCase::test_normalize_url_08___https___example_com_api_var_путь____https___example_com_api_var__D0_BF_D1_83_D1_82_D1_8C___False_ PASSED [ 97%] tests/test_compat.py::CompatTestCase::test_normalize_url_09___https___example_com_api_var__D0_BF_D1_83_D1_82_D1_8C____https___example_com_api_var__D0_BF_D1_83_D1_82_D1_8C___True_ PASSED [ 98%] tests/test_compat.py::CompatTestCase::test_normalize_url_10___https___example_com_api_var__D0_BF_D1_83_D1_82_D1_8C____https___example_com_api_var__D0_BF_D1_83_D1_82_D1_8C___False_ PASSED [100%] =================================== FAILURES =================================== __________________ AIOResponsesTestCase.test_assert_any_call ___________________ self = m = @aioresponses() async def test_assert_any_call(self, m: aioresponses): http_bin_url = "http://httpbin.org" m.get(self.url) m.get(http_bin_url) > await self.session.get(self.url) tests/test_aioresponses.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _____________ AIOResponsesTestCase.test_assert_any_call_not_called _____________ self = m = @aioresponses() async def test_assert_any_call_not_called(self, m: aioresponses): http_bin_url = "http://httpbin.org" m.get(self.url) > response = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:715: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ___________________ AIOResponsesTestCase.test_assert_called ____________________ self = m = @aioresponses() def test_assert_called(self, m: aioresponses): m.get(self.url) with self.assertRaises(AssertionError): m.assert_called() > self.run_async(self.session.get(self.url)) tests/test_aioresponses.py:663: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_aioresponses.py:50: in run_async return self.loop.run_until_complete(coroutine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/asyncio/base_events.py:724: in run_until_complete return future.result() ^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/aiohttp/client.py:1677: in send return self._coro.send(arg) ^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ________________ AIOResponsesTestCase.test_assert_called_twice _________________ self = m = @aioresponses() async def test_assert_called_twice(self, m: aioresponses): m.get(self.url, repeat=True) m.assert_not_called() > await self.session.get(self.url) tests/test_aioresponses.py:678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _________________ AIOResponsesTestCase.test_assert_not_called __________________ self = m = @aioresponses() def test_assert_not_called(self, m: aioresponses): m.get(self.url) m.assert_not_called() > self.run_async(self.session.get(self.url)) tests/test_aioresponses.py:654: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_aioresponses.py:50: in run_async return self.loop.run_until_complete(coroutine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/asyncio/base_events.py:724: in run_until_complete return future.result() ^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/aiohttp/client.py:1677: in send return self._coro.send(arg) ^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _ AIOResponsesTestCase.test_base_url_1___http___example_com_____api_foo_bar_fragment__ _ self = base_url = 'http://example.com', relative_url = '/api?foo=bar#fragment' m = @unpack @data( ("http://example.com", "/api?foo=bar#fragment"), ("http://example.com/", "/api?foo=bar#fragment") ) @aioresponses() @skipIf(condition=AIOHTTP_VERSION < Version('3.8.0'), reason='aiohttp must be >= 3.8.0') async def test_base_url(self, base_url, relative_url, m): m.get(self.url, status=200) self.session = ClientSession(base_url=base_url) > response = await self.session.get(relative_url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ------------------------------ Captured log call ------------------------------- ERROR asyncio:base_events.py:1897 Unclosed client session client_session: source_traceback: Object created at (most recent call last): File "/usr/bin/pytest", line 6, in sys.exit(_console_main()) File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 253, in _console_main code = _main(prog=_get_prog_name(sys.argv)) File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 229, in _main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 377, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 330, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 384, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 408, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 118, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 139, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 249, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 250, in lambda: runtest_hook(item=item, **kwds), File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/usr/lib/python3.15/site-packages/_pytest/unittest.py", line 391, in runtest testcase(result=self) File "/usr/lib/python3.15/unittest/case.py", line 747, in __call__ return self.run(*args, **kwds) File "/usr/lib/python3.15/unittest/async_case.py", line 147, in run return super().run(result) File "/usr/lib/python3.15/unittest/case.py", line 687, in run self._callSetUp() File "/usr/lib/python3.15/unittest/async_case.py", line 99, in _callSetUp self._callAsync(self.asyncSetUp) File "/usr/lib/python3.15/unittest/async_case.py", line 120, in _callAsync return self._asyncioRunner.run( File "/usr/lib/python3.15/asyncio/runners.py", line 128, in run return self._loop.run_until_complete(task) File "/usr/lib/python3.15/asyncio/base_events.py", line 711, in run_until_complete self.run_forever() File "/usr/lib/python3.15/asyncio/base_events.py", line 682, in run_forever self._run_once() File "/usr/lib/python3.15/asyncio/base_events.py", line 2063, in _run_once handle._run() File "/usr/lib/python3.15/asyncio/events.py", line 94, in _run self._context.run(self._callback, *self._args) File "/builddir/build/BUILD/python-aioresponses-0.7.9-build/aioresponses-0.7.9/tests/base.py", line 46, in asyncSetUp await self.setup() File "/builddir/build/BUILD/python-aioresponses-0.7.9-build/aioresponses-0.7.9/tests/test_aioresponses.py", line 42, in setup self.session = ClientSession() _ AIOResponsesTestCase.test_base_url_2___http___example_com______api_foo_bar_fragment__ _ self = base_url = 'http://example.com/', relative_url = '/api?foo=bar#fragment' m = @unpack @data( ("http://example.com", "/api?foo=bar#fragment"), ("http://example.com/", "/api?foo=bar#fragment") ) @aioresponses() @skipIf(condition=AIOHTTP_VERSION < Version('3.8.0'), reason='aiohttp must be >= 3.8.0') async def test_base_url(self, base_url, relative_url, m): m.get(self.url, status=200) self.session = ClientSession(base_url=base_url) > response = await self.session.get(relative_url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ------------------------------ Captured log call ------------------------------- ERROR asyncio:base_events.py:1897 Unclosed client session client_session: source_traceback: Object created at (most recent call last): File "/usr/bin/pytest", line 6, in sys.exit(_console_main()) File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 253, in _console_main code = _main(prog=_get_prog_name(sys.argv)) File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 229, in _main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 377, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 330, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 384, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 408, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 118, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 139, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 249, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 250, in lambda: runtest_hook(item=item, **kwds), File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/usr/lib/python3.15/site-packages/_pytest/unittest.py", line 391, in runtest testcase(result=self) File "/usr/lib/python3.15/unittest/case.py", line 747, in __call__ return self.run(*args, **kwds) File "/usr/lib/python3.15/unittest/async_case.py", line 147, in run return super().run(result) File "/usr/lib/python3.15/unittest/case.py", line 687, in run self._callSetUp() File "/usr/lib/python3.15/unittest/async_case.py", line 99, in _callSetUp self._callAsync(self.asyncSetUp) File "/usr/lib/python3.15/unittest/async_case.py", line 120, in _callAsync return self._asyncioRunner.run( File "/usr/lib/python3.15/asyncio/runners.py", line 128, in run return self._loop.run_until_complete(task) File "/usr/lib/python3.15/asyncio/base_events.py", line 711, in run_until_complete self.run_forever() File "/usr/lib/python3.15/asyncio/base_events.py", line 682, in run_forever self._run_once() File "/usr/lib/python3.15/asyncio/base_events.py", line 2063, in _run_once handle._run() File "/usr/lib/python3.15/asyncio/events.py", line 94, in _run self._context.run(self._callback, *self._args) File "/builddir/build/BUILD/python-aioresponses-0.7.9-build/aioresponses-0.7.9/tests/base.py", line 46, in asyncSetUp await self.setup() File "/builddir/build/BUILD/python-aioresponses-0.7.9-build/aioresponses-0.7.9/tests/test_aioresponses.py", line 42, in setup self.session = ClientSession() ____________________ AIOResponsesTestCase.test_binary_body _____________________ self = m = @aioresponses() async def test_binary_body(self, m): body = b'Invalid utf-8: \x95\x00\x85' m.get(self.url, body=body) > resp = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200 body = b'Invalid utf-8: \x95\x00\x85', content_type = 'application/json' payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ______________ AIOResponsesTestCase.test_binary_body_via_callback ______________ self = m = @aioresponses() async def test_binary_body_via_callback(self, m): body = b'\x00\x01\x02\x80\x81\x82\x83\x84\x85' def callback(url, **kwargs): return CallbackResult(body=body) m.get(self.url, callback=callback) > resp = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'GET' request_headers = , status = 200 body = b'\x00\x01\x02\x80\x81\x82\x83\x84\x85' content_type = 'application/json', payload = None, headers = None response_class = , reason = None def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ______________________ AIOResponsesTestCase.test_callback ______________________ self = m = @aioresponses() def test_callback(self, m): body = b'New body' def callback(url, **kwargs): self.assertEqual(str(url), self.url) self.assertEqual(kwargs, {'allow_redirects': True}) return CallbackResult(body=body) m.get(self.url, callback=callback) > response = self.run_async(self.request(self.url)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:624: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_aioresponses.py:50: in run_async return self.loop.run_until_complete(coroutine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/asyncio/base_events.py:724: in run_until_complete return future.result() ^^^^^^^^^^^^^^^ tests/test_aioresponses.py:53: in request return await self.session.get(url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'GET' request_headers = , status = 200, body = b'New body' content_type = 'application/json', payload = None, headers = None response_class = , reason = None def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _________________ AIOResponsesTestCase.test_callback_coroutine _________________ self = m = @aioresponses() def test_callback_coroutine(self, m): body = b'New body' event = asyncio.Event() async def callback(url, **kwargs): await event.wait() self.assertEqual(str(url), self.url) self.assertEqual(kwargs, {'allow_redirects': True}) return CallbackResult(body=body) m.get(self.url, callback=callback) future = asyncio.ensure_future(self.request(self.url)) self.run_async(asyncio.wait([future], timeout=0)) assert not future.done() event.set() self.run_async(asyncio.wait([future], timeout=0)) assert future.done() > response = future.result() ^^^^^^^^^^^^^^^ tests/test_aioresponses.py:646: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_aioresponses.py:53: in request return await self.session.get(url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'GET' request_headers = , status = 200, body = b'New body' content_type = 'application/json', payload = None, headers = None response_class = , reason = None def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _______________ AIOResponsesTestCase.test_custom_response_class ________________ self = m = @aioresponses() async def test_custom_response_class(self, m): class CustomClientResponse(ClientResponse): pass m.get(self.url, body='Test', response_class=CustomClientResponse) > resp = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:566: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'Test' content_type = 'application/json', payload = None, headers = response_class = .CustomClientResponse'> reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _______ AIOResponsesTestCase.test_exceptions_in_the_middle_of_responses ________ self = mocked = @aioresponses() def test_exceptions_in_the_middle_of_responses(self, mocked): mocked.get(self.url, payload={}, status=204) mocked.get(self.url, exception=ValueError('oops'), ) mocked.get(self.url, payload={}, status=204) mocked.get(self.url, exception=ValueError('oops'), ) mocked.get(self.url, payload={}, status=200) async def doit(): return (await self.session.get(self.url)) > self.assertEqual(self.run_async(doit()).status, 204) ^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:580: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_aioresponses.py:50: in run_async return self.loop.run_until_complete(coroutine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/asyncio/base_events.py:724: in run_until_complete return future.result() ^^^^^^^^^^^^^^^ tests/test_aioresponses.py:578: in doit return (await self.session.get(self.url)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 204, body = b'{}' content_type = 'application/json', payload = {}, headers = response_class = reason = 'No Content' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ________________ AIOResponsesTestCase.test_integer_repeat_once _________________ self = m = @aioresponses() async def test_integer_repeat_once(self, m: aioresponses): m.get(self.url, repeat=1) m.assert_not_called() > await self.session.get(self.url) tests/test_aioresponses.py:687: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ________________ AIOResponsesTestCase.test_integer_repeat_twice ________________ self = m = @aioresponses() async def test_integer_repeat_twice(self, m: aioresponses): m.get(self.url, repeat=2) m.assert_not_called() > await self.session.get(self.url) tests/test_aioresponses.py:695: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _____________ AIOResponsesTestCase.test_mocking_as_context_manager _____________ self = async def test_mocking_as_context_manager(self): with aioresponses() as aiomock: aiomock.add(self.url, payload={'foo': 'bar'}) > resp = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'{"foo": "bar"}' content_type = 'application/json', payload = {'foo': 'bar'} headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ________________ AIOResponsesTestCase.test_mocking_as_decorator ________________ self = def test_mocking_as_decorator(self): @aioresponses() def foo(loop, m): m.add(self.url, payload={'foo': 'bar'}) resp = loop.run_until_complete(self.session.get(self.url)) self.assertEqual(resp.status, 200) payload = loop.run_until_complete(resp.json()) self.assertDictEqual(payload, {'foo': 'bar'}) > foo(self.loop) tests/test_aioresponses.py:362: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aioresponses/core.py:291: in wrapped return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:357: in foo resp = loop.run_until_complete(self.session.get(self.url)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/asyncio/base_events.py:724: in run_until_complete return future.result() ^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/aiohttp/client.py:1677: in send return self._coro.send(arg) ^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'{"foo": "bar"}' content_type = 'application/json', payload = {'foo': 'bar'} headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _________________ AIOResponsesTestCase.test_multiple_requests __________________ self = async def test_multiple_requests(self): """Ensure that requests are saved the way they would have been sent.""" with aioresponses() as m: m.get(self.url, status=200) m.get(self.url, status=201) m.get(self.url, status=202) json_content_as_ref = [1] > resp = await self.session.get( self.url, json=json_content_as_ref ) tests/test_aioresponses.py:445: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError __________________ AIOResponsesTestCase.test_passing_argument __________________ self = async def test_passing_argument(self): @aioresponses(param='mocked') async def foo(mocked): mocked.add(self.url, payload={'foo': 'bar'}) resp = await self.session.get(self.url) self.assertEqual(resp.status, 200) > await foo() tests/test_aioresponses.py:371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aioresponses/core.py:285: in wrapped return await f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:368: in foo resp = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'{"foo": "bar"}' content_type = 'application/json', payload = {'foo': 'bar'} headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ______________ AIOResponsesTestCase.test_possible_race_condition _______________ self = async def test_possible_race_condition(self): async def random_sleep_cb(url, **kwargs): await asyncio.sleep(uniform(0.1, 1)) return CallbackResult(body='test') with aioresponses() as mocked: for i in range(20): mocked.get( 'http://example.org/id-{}'.format(i), callback=random_sleep_cb ) tasks = [ self.session.get('http://example.org/id-{}'.format(i)) for i in range(20) ] > await asyncio.gather(*tasks) tests/test_aioresponses.py:753: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.15/site-packages/aiohttp/client.py:1677: in send return self._coro.send(arg) ^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.org/id-9') url = URL('http://example.org/id-9'), method = 'GET' request_headers = , status = 200, body = b'test' content_type = 'application/json', payload = None, headers = None response_class = , reason = None def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ___________________ AIOResponsesTestCase.test_post_with_data ___________________ self = m = @aioresponses() def test_post_with_data(self, m: aioresponses): body = {'foo': 'bar'} payload = {'spam': 'eggs'} user_agent = {'User-Agent': 'aioresponses'} m.post( self.url, payload=payload, headers=dict(connection='keep-alive'), body=body, ) > response = self.run_async( self.session.post( self.url, data=payload, headers=user_agent ) ) tests/test_aioresponses.py:210: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_aioresponses.py:50: in run_async return self.loop.run_until_complete(coroutine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/asyncio/base_events.py:724: in run_until_complete return future.result() ^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/aiohttp/client.py:1677: in send return self._coro.send(arg) ^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'post' request_headers = {'User-Agent': 'aioresponses'}, status = 200 body = b'{"spam": "eggs"}', content_type = 'application/json' payload = {'spam': 'eggs'}, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ______ AIOResponsesTestCase.test_post_with_data_selected_field_to_compare ______ self = m = @aioresponses() def test_post_with_data_selected_field_to_compare(self, m: aioresponses): body = {'foo': 'bar'} payload = {'spam': 'eggs'} user_agent = {'User-Agent': 'aioresponses'} m.post( self.url, payload=payload, headers=dict(connection='keep-alive'), body=body, ) > response = self.run_async( self.session.post( self.url, data=payload, headers=user_agent ) ) tests/test_aioresponses.py:263: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_aioresponses.py:50: in run_async return self.loop.run_until_complete(coroutine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/asyncio/base_events.py:724: in run_until_complete return future.result() ^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/aiohttp/client.py:1677: in send return self._coro.send(arg) ^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'post' request_headers = {'User-Agent': 'aioresponses'}, status = 200 body = b'{"spam": "eggs"}', content_type = 'application/json' payload = {'spam': 'eggs'}, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError __________________ AIOResponsesTestCase.test_raise_for_status __________________ self = m = @aioresponses() async def test_raise_for_status(self, m): m.get(self.url, status=400) with self.assertRaises(ClientResponseError) as cm: > response = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:159: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ______________ AIOResponsesTestCase.test_request_raise_for_status ______________ self = m = @aioresponses() @skipIf(condition=AIOHTTP_VERSION < MINIMUM_AIOHTTP_VERSION, reason='aiohttp<3.4.0 does not support raise_for_status ' 'arguments for requests') async def test_request_raise_for_status(self, m): m.get(self.url, status=400) with self.assertRaises(ClientResponseError) as cm: > await self.session.get(self.url, raise_for_status=True) tests/test_aioresponses.py:170: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ____________ AIOResponsesTestCase.test_request_should_match_regexp _____________ self = mocked = @aioresponses() async def test_request_should_match_regexp(self, mocked): mocked.get( re.compile(r'^http://example\.com/api\?foo=.*$'), payload={}, status=200 ) > response = await self.request(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_aioresponses.py:53: in request return await self.session.get(url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('re.compile('^http://example\\.com/api\\?foo=.*$')') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'{}' content_type = 'application/json', payload = {}, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ______ AIOResponsesTestCase.test_request_with_non_deepcopyable_parameter _______ self = async def test_request_with_non_deepcopyable_parameter(self): def non_deep_copyable(): """A generator does not allow deepcopy.""" for line in ["header1,header2", "v1,v2", "v10,v20"]: yield line generator_value = non_deep_copyable() with aioresponses() as m: m.get(self.url, status=200) > resp = await self.session.get(self.url, data=generator_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:489: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _________________ AIOResponsesTestCase.test_returned_instance __________________ self = m = @aioresponses() def test_returned_instance(self, m): m.get(self.url) > response = self.run_async(self.session.get(self.url)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_aioresponses.py:50: in run_async return self.loop.run_until_complete(coroutine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/asyncio/base_events.py:724: in run_until_complete return future.result() ^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/aiohttp/client.py:1677: in send return self._coro.send(arg) ^^^^^^^^^^^^^^^^^^^^ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _______ AIOResponsesTestCase.test_returned_instance_and_params_handling ________ self = m = @aioresponses() async def test_returned_instance_and_params_handling(self, m): expected_url = 'http://example.com/api?foo=bar&x=42#fragment' m.get(expected_url) > response = await self.session.get(self.url, params={'x': 42}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar&x=42#fragment') url = URL('http://example.com/api?foo=bar&x=42#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _________ AIOResponsesTestCase.test_returned_instance_and_status_code __________ self = m = @aioresponses() async def test_returned_instance_and_status_code(self, m): m.get(self.url, status=204) > response = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 204, body = b'' content_type = 'application/json', payload = None, headers = response_class = reason = 'No Content' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _____________ AIOResponsesTestCase.test_returned_response_cookies ______________ self = m = @aioresponses() async def test_returned_response_cookies(self, m): m.get(self.url, headers={'Set-Cookie': 'cookie=value'}) > response = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _____________ AIOResponsesTestCase.test_returned_response_headers ______________ self = m = @aioresponses() async def test_returned_response_headers(self, m): m.get(self.url, content_type='text/html', headers={'Connection': 'keep-alive'}) > response = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'text/html', payload = None headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ________ AIOResponsesTestCase.test_returned_response_multidict_headers _________ self = m = @aioresponses() async def test_returned_response_multidict_headers(self, m): header_name = 'x-custom-header' header_values = ['foo', 'bar'] m.get( self.url, content_type='text/html', headers=CIMultiDict([(header_name, value) for value in header_values]), ) > response = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'text/html', payload = None headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ___________ AIOResponsesTestCase.test_returned_response_raw_headers ____________ self = m = @aioresponses() async def test_returned_response_raw_headers(self, m): m.get(self.url, content_type='text/html', headers={'Connection': 'keep-alive'}) > response = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'text/html', payload = None headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError __________________ AIOResponsesTestCase.test_session_headers ___________________ self = m = @aioresponses() @skipIf(condition=AIOHTTP_VERSION < Version('3.8.0'), reason='aiohttp must be >= 3.8.0') async def test_session_headers(self, m): m.get(self.url) self.session = ClientSession(headers={"Authorization": "Bearer foobar"}) > response = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200 body = b'', content_type = 'application/json', payload = None headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ------------------------------ Captured log call ------------------------------- ERROR asyncio:base_events.py:1897 Unclosed client session client_session: source_traceback: Object created at (most recent call last): File "/usr/bin/pytest", line 6, in sys.exit(_console_main()) File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 253, in _console_main code = _main(prog=_get_prog_name(sys.argv)) File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 229, in _main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 377, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 330, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 384, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/main.py", line 408, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 118, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 139, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 249, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 250, in lambda: runtest_hook(item=item, **kwds), File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/usr/lib/python3.15/site-packages/_pytest/unittest.py", line 391, in runtest testcase(result=self) File "/usr/lib/python3.15/unittest/case.py", line 747, in __call__ return self.run(*args, **kwds) File "/usr/lib/python3.15/unittest/async_case.py", line 147, in run return super().run(result) File "/usr/lib/python3.15/unittest/case.py", line 687, in run self._callSetUp() File "/usr/lib/python3.15/unittest/async_case.py", line 99, in _callSetUp self._callAsync(self.asyncSetUp) File "/usr/lib/python3.15/unittest/async_case.py", line 120, in _callAsync return self._asyncioRunner.run( File "/usr/lib/python3.15/asyncio/runners.py", line 128, in run return self._loop.run_until_complete(task) File "/usr/lib/python3.15/asyncio/base_events.py", line 711, in run_until_complete self.run_forever() File "/usr/lib/python3.15/asyncio/base_events.py", line 682, in run_forever self._run_once() File "/usr/lib/python3.15/asyncio/base_events.py", line 2063, in _run_once handle._run() File "/usr/lib/python3.15/asyncio/events.py", line 94, in _run self._context.run(self._callback, *self._args) File "/builddir/build/BUILD/python-aioresponses-0.7.9-build/aioresponses-0.7.9/tests/base.py", line 46, in asyncSetUp await self.setup() File "/builddir/build/BUILD/python-aioresponses-0.7.9-build/aioresponses-0.7.9/tests/test_aioresponses.py", line 42, in setup self.session = ClientSession() _____________________ AIOResponsesTestCase.test_streaming ______________________ self = m = @aioresponses() async def test_streaming(self, m): m.get(self.url, body='Test') > resp = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'Test' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError __________________ AIOResponsesTestCase.test_streaming_up_to ___________________ self = m = @aioresponses() async def test_streaming_up_to(self, m): m.get(self.url, body='Test') > resp = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 200, body = b'Test' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ___ AIOResponsesRaiseForStatusSessionTestCase.test_callable_raise_for_status ___ self = m = @aioresponses() @skipIf(condition=AIOHTTP_VERSION < Version('3.9.0'), reason='aiohttp<3.9.0 does not support callable raise_for_status ' 'arguments for requests') async def test_callable_raise_for_status(self, m): async def raise_for_status(response: ClientResponse): if response.status >= 400: raise Exception("callable raise_for_status") m.get(self.url, status=400) with self.assertRaises(Exception) as cm: await self.session.get(self.url, raise_for_status=raise_for_status) > self.assertEqual(str(cm.exception), "callable raise_for_status") E AssertionError: "ClientResponse.__init__() missing 1 requ[39 chars]ter'" != 'callable raise_for_status' E - ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' E + callable raise_for_status tests/test_aioresponses.py:806: AssertionError ____ AIOResponsesRaiseForStatusSessionTestCase.test_do_not_raise_for_status ____ self = m = @aioresponses() @skipIf(condition=AIOHTTP_VERSION < MINIMUM_AIOHTTP_VERSION, reason='aiohttp<3.4.0 does not support raise_for_status ' 'arguments for requests') async def test_do_not_raise_for_status(self, m): m.get(self.url, status=400) > response = await self.session.get(self.url, raise_for_status=False) tests/test_aioresponses.py:788: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://example.com/api?foo=bar#fragment') url = URL('http://example.com/api?foo=bar#fragment'), method = 'get' request_headers = , status = 400, body = b'' content_type = 'application/json', payload = None, headers = response_class = reason = 'Bad Request' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _______ AIOResponsesRaiseForStatusSessionTestCase.test_raise_for_status ________ self = m = @aioresponses() async def test_raise_for_status(self, m): m.get(self.url, status=400) with self.assertRaises(ClientResponseError) as cm: > await self.session.get(self.url) tests/test_aioresponses.py:779: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _____________ AIOResponseRedirectTest.test_post_redirect_followed ______________ self = rsps = @aioresponses() async def test_post_redirect_followed(self, rsps): rsps.post( self.url, status=307, headers={"Location": "https://httpbin.org"}, ) rsps.get("https://httpbin.org") > response = await self.session.post( self.url, allow_redirects=True ) tests/test_aioresponses.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://10.1.1.1:8080/redirect') url = URL('http://10.1.1.1:8080/redirect'), method = 'post' request_headers = , status = 307, body = b'' content_type = 'application/json', payload = None headers = response_class = reason = 'Temporary Redirect' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ________________ AIOResponseRedirectTest.test_redirect_followed ________________ self = rsps = @aioresponses() async def test_redirect_followed(self, rsps): rsps.get( self.url, status=307, headers={"Location": "https://httpbin.org"}, ) rsps.get("https://httpbin.org") > response = await self.session.get( self.url, allow_redirects=True ) tests/test_aioresponses.py:828: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://10.1.1.1:8080/redirect') url = URL('http://10.1.1.1:8080/redirect'), method = 'get' request_headers = , status = 307, body = b'' content_type = 'application/json', payload = None headers = response_class = reason = 'Temporary Redirect' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ________ AIOResponseRedirectTest.test_redirect_missing_location_header _________ self = rsps = @aioresponses() async def test_redirect_missing_location_header(self, rsps): rsps.get(self.url, status=307) > response = await self.session.get(self.url, allow_redirects=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:872: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://10.1.1.1:8080/redirect') url = URL('http://10.1.1.1:8080/redirect'), method = 'get' request_headers = , status = 307, body = b'' content_type = 'application/json', payload = None, headers = response_class = reason = 'Temporary Redirect' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError __________ AIOResponseRedirectTest.test_redirect_missing_mocked_match __________ self = rsps = @aioresponses() async def test_redirect_missing_mocked_match(self, rsps): rsps.get( self.url, status=307, headers={"Location": "https://httpbin.org"}, ) with self.assertRaises(ClientConnectionError) as cm: > await self.session.get( self.url, allow_redirects=True ) tests/test_aioresponses.py:861: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError _________ AIOResponseRedirectTest.test_relative_url_redirect_followed __________ self = rsps = @aioresponses() async def test_relative_url_redirect_followed(self, rsps): base_url = "https://httpbin.org" url = f"{base_url}/foo/bar" rsps.get( url, status=307, headers={"Location": "../baz"}, ) rsps.get(f"{base_url}/baz") > response = await self.session.get(url, allow_redirects=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:907: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('https://httpbin.org/foo/bar') url = URL('https://httpbin.org/foo/bar'), method = 'get' request_headers = , status = 307, body = b'' content_type = 'application/json', payload = None headers = response_class = reason = 'Temporary Redirect' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError __________________ AIOResponseRedirectTest.test_request_info ___________________ self = rsps = @aioresponses() async def test_request_info(self, rsps): rsps.get(self.url, status=200) > response = await self.session.get(self.url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:879: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://10.1.1.1:8080/redirect') url = URL('http://10.1.1.1:8080/redirect'), method = 'get' request_headers = , status = 200, body = b'' content_type = 'application/json', payload = None, headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError ___ AIOResponseRedirectTest.test_request_info_with_original_request_headers ____ self = rsps = @aioresponses() async def test_request_info_with_original_request_headers(self, rsps): headers = {"Authorization": "Bearer access-token"} rsps.get(self.url, status=200) > response = await self.session.get(self.url, headers=headers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_aioresponses.py:890: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ :3: in _request ??? /usr/lib/python3.15/unittest/mock.py:2344: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:559: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aioresponses/core.py:482: in match response_or_exc = await matcher.build_response( aioresponses/core.py:228: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = RequestMatch('http://10.1.1.1:8080/redirect') url = URL('http://10.1.1.1:8080/redirect'), method = 'get' request_headers = {'Authorization': 'Bearer access-token'}, status = 200 body = b'', content_type = 'application/json', payload = None headers = response_class = , reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[typedefs.LooseHeaders] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[CIMultiDict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = CIMultiDict() loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs: Dict[str, Any] = {} kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(self._prepare_request_headers(request_headers)), real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' aioresponses/core.py:197: TypeError =========================== short test summary info ============================ FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_assert_any_call FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_assert_any_call_not_called FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_assert_called FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_assert_called_twice FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_assert_not_called FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_base_url_1___http___example_com_____api_foo_bar_fragment__ FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_base_url_2___http___example_com______api_foo_bar_fragment__ FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_binary_body - T... FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_binary_body_via_callback FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_callback - Type... FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_callback_coroutine FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_custom_response_class FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_exceptions_in_the_middle_of_responses FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_integer_repeat_once FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_integer_repeat_twice FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_mocking_as_context_manager FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_mocking_as_decorator FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_multiple_requests FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_passing_argument FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_possible_race_condition FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_post_with_data FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_post_with_data_selected_field_to_compare FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_raise_for_status FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_request_raise_for_status FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_request_should_match_regexp FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_request_with_non_deepcopyable_parameter FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_instance FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_instance_and_params_handling FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_instance_and_status_code FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_response_cookies FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_response_headers FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_response_multidict_headers FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_returned_response_raw_headers FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_session_headers FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_streaming - Typ... FAILED tests/test_aioresponses.py::AIOResponsesTestCase::test_streaming_up_to FAILED tests/test_aioresponses.py::AIOResponsesRaiseForStatusSessionTestCase::test_callable_raise_for_status FAILED tests/test_aioresponses.py::AIOResponsesRaiseForStatusSessionTestCase::test_do_not_raise_for_status FAILED tests/test_aioresponses.py::AIOResponsesRaiseForStatusSessionTestCase::test_raise_for_status FAILED tests/test_aioresponses.py::AIOResponseRedirectTest::test_post_redirect_followed FAILED tests/test_aioresponses.py::AIOResponseRedirectTest::test_redirect_followed FAILED tests/test_aioresponses.py::AIOResponseRedirectTest::test_redirect_missing_location_header FAILED tests/test_aioresponses.py::AIOResponseRedirectTest::test_redirect_missing_mocked_match FAILED tests/test_aioresponses.py::AIOResponseRedirectTest::test_relative_url_redirect_followed FAILED tests/test_aioresponses.py::AIOResponseRedirectTest::test_request_info FAILED tests/test_aioresponses.py::AIOResponseRedirectTest::test_request_info_with_original_request_headers ================= 46 failed, 35 passed, 3 deselected in 23.44s ================= error: Bad exit status from /var/tmp/rpm-tmp.y58tIZ (%check) Bad exit status from /var/tmp/rpm-tmp.y58tIZ (%check) RPM build errors: Finish: rpmbuild python-aioresponses-0.7.9-2.fc46.src.rpm Finish: build phase for python-aioresponses-0.7.9-2.fc46.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-i686-1787261323.367903/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-aioresponses-0.7.9-2.fc46.src.rpm) Config(fedora-rawhide-i686) 0 minutes 44 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 13500560b0574f71bc14c673d1b8f565 -D /var/lib/mock/fedora-rawhide-i686-1787261323.367903/root -a -u mockbuild --capability=cap_ipc_lock --capability=cap_ipc_lock --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 --resolv-conf=off --resolv-conf=off --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 bash --login -c '/usr/bin/rpmbuild -ba --noprep --target i686 /builddir/build/originals/python-aioresponses.spec' Copr build error: Build failed