Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-gast.spec'], chrootPath='/var/lib/mock/f41-build-51574300-6170385/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7c769149f3a747bd85cb8a9870be7e1d', '-D', '/var/lib/mock/f41-build-51574300-6170385/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-gast.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/python-gast-0.5.4-3.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-gast.spec'], chrootPath='/var/lib/mock/f41-build-51574300-6170385/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1c347907c72c4a82ad5896aea1465284', '-D', '/var/lib/mock/f41-build-51574300-6170385/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-gast.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.zBK1s6 + umask 022 + cd /builddir/build/BUILD/python-gast-0.5.4-build + test -d /builddir/build/BUILD/python-gast-0.5.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-gast-0.5.4-build + /usr/bin/rm -rf /builddir/build/BUILD/python-gast-0.5.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-gast-0.5.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-gast-0.5.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DKx46y + umask 022 + cd /builddir/build/BUILD/python-gast-0.5.4-build + cd /builddir/build/BUILD/python-gast-0.5.4-build + rm -rf gast-0.5.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gast-0.5.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gast-0.5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ETlWdy + umask 022 + cd /builddir/build/BUILD/python-gast-0.5.4-build + cd gast-0.5.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/pyproject-wheeldir --output /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-gast-0.5.4-3.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-gast.spec'], chrootPath='/var/lib/mock/f41-build-51574300-6170385/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c0c44782057e4fb7b49b5e3d1b4a5be9', '-D', '/var/lib/mock/f41-build-51574300-6170385/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-gast.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.MARVOp + umask 022 + cd /builddir/build/BUILD/python-gast-0.5.4-build + cd gast-0.5.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/pyproject-wheeldir --output /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.2.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) running egg_info creating gast.egg-info writing gast.egg-info/PKG-INFO writing dependency_links to gast.egg-info/dependency_links.txt writing top-level names to gast.egg-info/top_level.txt writing manifest file 'gast.egg-info/SOURCES.txt' reading manifest file 'gast.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'gast.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) running dist_info writing gast.egg-info/PKG-INFO writing dependency_links to gast.egg-info/dependency_links.txt writing top-level names to gast.egg-info/top_level.txt reading manifest file 'gast.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'gast.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast-0.5.4.dist-info' + cat /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-buildrequires + rm -rfv gast-0.5.4.dist-info/ removed 'gast-0.5.4.dist-info/top_level.txt' removed 'gast-0.5.4.dist-info/METADATA' removed 'gast-0.5.4.dist-info/LICENSE' removed directory 'gast-0.5.4.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-gast-0.5.4-3.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-gast.spec'], chrootPath='/var/lib/mock/f41-build-51574300-6170385/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '158b4cee17b341909a7a518e97e64636', '-D', '/var/lib/mock/f41-build-51574300-6170385/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-gast.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.7upHKA + umask 022 + cd /builddir/build/BUILD/python-gast-0.5.4-build + cd gast-0.5.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/pyproject-wheeldir --output /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.2.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) running egg_info writing gast.egg-info/PKG-INFO writing dependency_links to gast.egg-info/dependency_links.txt writing top-level names to gast.egg-info/top_level.txt reading manifest file 'gast.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'gast.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) running dist_info writing gast.egg-info/PKG-INFO writing dependency_links to gast.egg-info/dependency_links.txt writing top-level names to gast.egg-info/top_level.txt reading manifest file 'gast.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'gast.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast-0.5.4.dist-info' + cat /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-buildrequires + rm -rfv gast-0.5.4.dist-info/ removed 'gast-0.5.4.dist-info/top_level.txt' removed 'gast-0.5.4.dist-info/METADATA' removed 'gast-0.5.4.dist-info/LICENSE' removed directory 'gast-0.5.4.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ezh1Ud + umask 022 + cd /builddir/build/BUILD/python-gast-0.5.4-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gast-0.5.4 + mkdir -p /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/pyproject-wheeldir Processing /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir/pip-modern-metadata-ydo0nl3x/gast.egg-info writing /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir/pip-modern-metadata-ydo0nl3x/gast.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir/pip-modern-metadata-ydo0nl3x/gast.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir/pip-modern-metadata-ydo0nl3x/gast.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir/pip-modern-metadata-ydo0nl3x/gast.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir/pip-modern-metadata-ydo0nl3x/gast.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir/pip-modern-metadata-ydo0nl3x/gast.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir/pip-modern-metadata-ydo0nl3x/gast-0.5.4.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: gast Building wheel for gast (pyproject.toml): started Running command Building wheel for gast (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/gast copying gast/__init__.py -> build/lib/gast copying gast/ast2.py -> build/lib/gast copying gast/ast3.py -> build/lib/gast copying gast/astn.py -> build/lib/gast copying gast/gast.py -> build/lib/gast copying gast/unparser.py -> build/lib/gast copying gast/version.py -> build/lib/gast installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/gast copying build/lib/gast/__init__.py -> build/bdist.linux-x86_64/wheel/gast copying build/lib/gast/ast2.py -> build/bdist.linux-x86_64/wheel/gast copying build/lib/gast/ast3.py -> build/bdist.linux-x86_64/wheel/gast copying build/lib/gast/astn.py -> build/bdist.linux-x86_64/wheel/gast copying build/lib/gast/gast.py -> build/bdist.linux-x86_64/wheel/gast copying build/lib/gast/unparser.py -> build/bdist.linux-x86_64/wheel/gast copying build/lib/gast/version.py -> build/bdist.linux-x86_64/wheel/gast running install_egg_info running egg_info writing gast.egg-info/PKG-INFO writing dependency_links to gast.egg-info/dependency_links.txt writing top-level names to gast.egg-info/top_level.txt reading manifest file 'gast.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'gast.egg-info/SOURCES.txt' Copying gast.egg-info to build/bdist.linux-x86_64/wheel/gast-0.5.4-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/gast-0.5.4.dist-info/WHEEL creating '/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir/pip-wheel-f7qspd4k/.tmp-c8darehk/gast-0.5.4-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'gast/__init__.py' adding 'gast/ast2.py' adding 'gast/ast3.py' adding 'gast/astn.py' adding 'gast/gast.py' adding 'gast/unparser.py' adding 'gast/version.py' adding 'gast-0.5.4.dist-info/LICENSE' adding 'gast-0.5.4.dist-info/METADATA' adding 'gast-0.5.4.dist-info/WHEEL' adding 'gast-0.5.4.dist-info/top_level.txt' adding 'gast-0.5.4.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for gast (pyproject.toml): finished with status 'done' Created wheel for gast: filename=gast-0.5.4-py3-none-any.whl size=19703 sha256=07b783503a6fa3e87fde347e19658a2ed56f451645016a4b2ea7dc30724ffa61 Stored in directory: /builddir/.cache/pip/wheels/76/e6/5e/5c70cb78de2b47dacebbb47dcfd83fdfab613bf8c8697aa8d5 Successfully built gast + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9j3IMJ + umask 022 + cd /builddir/build/BUILD/python-gast-0.5.4-build + '[' /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-gast-0.5.4-build + mkdir /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gast-0.5.4 ++ ls /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/pyproject-wheeldir/gast-0.5.4-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=gast==0.5.4 + '[' -z gast==0.5.4 ']' + TMPDIR=/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-gast-0.5.4-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-gast-0.5.4-build/gast-0.5.4/pyproject-wheeldir gast==0.5.4 Using pip 24.0 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/pyproject-wheeldir Processing ./pyproject-wheeldir/gast-0.5.4-py3-none-any.whl Installing collected packages: gast Successfully installed gast-0.5.4 + '[' -d /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/bin ']' + rm -f /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/gast-0.5.4.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast-0.5.4.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-gast-0.5.4-build/BUILDROOT --record /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast-0.5.4.dist-info/RECORD --output /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-record + rm -fv /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast-0.5.4.dist-info/RECORD removed '/builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast-0.5.4.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast-0.5.4.dist-info/REQUESTED removed '/builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast-0.5.4.dist-info/REQUESTED' ++ cut -f1 '-d ' ++ wc -l /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-ghost-distinfo + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-modules --buildroot /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /builddir/build/BUILD/python-gast-0.5.4-build/python-gast-0.5.4-3.fc41.noarch-pyproject-record --prefix /usr gast + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 Bytecompiling .py files below /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j48 /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast/__pycache__/astn.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast/__pycache__/astn.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast/__pycache__/ast2.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast/__pycache__/ast3.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast/__pycache__/version.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast/__pycache__/gast.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast/__pycache__/unparser.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages/gast/__pycache__/unparser.cpython-313.opt-1.pyc: replacing with normalized version Processed 9 paths Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xo8YCP + umask 022 + cd /builddir/build/BUILD/python-gast-0.5.4-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gast-0.5.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-gast-0.5.4-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=48 + /usr/bin/pytest -v ============================= test session starts ============================== platform linux -- Python 3.13.0b2, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4 collecting ... collected 47 items tests/test_api.py::APITestCase::test_NodeConstructor PASSED [ 2%] tests/test_api.py::APITestCase::test_NodeTransformer PASSED [ 4%] tests/test_api.py::APITestCase::test_NodeVisitor PASSED [ 6%] tests/test_api.py::APITestCase::test_copy_location PASSED [ 8%] tests/test_api.py::APITestCase::test_dump FAILED [ 10%] tests/test_api.py::APITestCase::test_fix_missing_locations PASSED [ 12%] tests/test_api.py::APITestCase::test_get_docstring PASSED [ 14%] tests/test_api.py::APITestCase::test_increment_lineno PASSED [ 17%] tests/test_api.py::APITestCase::test_iter_child_nodes PASSED [ 19%] tests/test_api.py::APITestCase::test_iter_fields PASSED [ 21%] tests/test_api.py::APITestCase::test_literal_eval_code PASSED [ 23%] tests/test_api.py::APITestCase::test_literal_eval_string PASSED [ 25%] tests/test_api.py::APITestCase::test_parse PASSED [ 27%] tests/test_api.py::APITestCase::test_unparse PASSED [ 29%] tests/test_api.py::APITestCase::test_walk FAILED [ 31%] tests/test_compat.py::CompatTestCase::test_ArgAnnotation FAILED [ 34%] tests/test_compat.py::CompatTestCase::test_Call FAILED [ 36%] tests/test_compat.py::CompatTestCase::test_Ellipsis FAILED [ 38%] tests/test_compat.py::CompatTestCase::test_ExtSlice FAILED [ 40%] tests/test_compat.py::CompatTestCase::test_ExtSliceEllipsis FAILED [ 42%] tests/test_compat.py::CompatTestCase::test_ExtSlices FAILED [ 44%] tests/test_compat.py::CompatTestCase::test_FormattedValue FAILED [ 46%] tests/test_compat.py::CompatTestCase::test_Index FAILED [ 48%] tests/test_compat.py::CompatTestCase::test_JoinedStr FAILED [ 51%] tests/test_compat.py::CompatTestCase::test_KeywordOnlyArgument FAILED [ 53%] tests/test_compat.py::CompatTestCase::test_MatchAs FAILED [ 55%] tests/test_compat.py::CompatTestCase::test_MatchClass FAILED [ 57%] tests/test_compat.py::CompatTestCase::test_MatchMapping FAILED [ 59%] tests/test_compat.py::CompatTestCase::test_MatchOr FAILED [ 61%] tests/test_compat.py::CompatTestCase::test_MatchSequence FAILED [ 63%] tests/test_compat.py::CompatTestCase::test_MatchSingleton FAILED [ 65%] tests/test_compat.py::CompatTestCase::test_MatchStar FAILED [ 68%] tests/test_compat.py::CompatTestCase::test_MatchValue FAILED [ 70%] tests/test_compat.py::CompatTestCase::test_NamedExpr FAILED [ 72%] tests/test_compat.py::CompatTestCase::test_PosonlyArgs FAILED [ 74%] tests/test_compat.py::CompatTestCase::test_Raise FAILED [ 76%] tests/test_compat.py::CompatTestCase::test_TryExcept FAILED [ 78%] tests/test_compat.py::CompatTestCase::test_TryExceptNamed FAILED [ 80%] tests/test_compat.py::CompatTestCase::test_TryFinally FAILED [ 82%] tests/test_compat.py::CompatTestCase::test_TryStar PASSED [ 85%] tests/test_compat.py::CompatTestCase::test_TypeIgnore FAILED [ 87%] tests/test_compat.py::CompatTestCase::test_With FAILED [ 89%] tests/test_compat.py::CompatTestCase::test_keyword_argument FAILED [ 91%] tests/test_compat.py::CompatTestCase::test_star_argument FAILED [ 93%] tests/test_self.py::SelfTestCase::testCompile PASSED [ 95%] tests/test_self.py::SelfTestCase::testParse PASSED [ 97%] tests/test_self.py::SelfTestCase::test_unparse PASSED [100%] =================================== FAILURES =================================== ____________________________ APITestCase.test_dump _____________________________ self = def test_dump(self): code = 'lambda x: x' tree = gast.parse(code, mode='eval') dump = gast.dump(tree) norm = ("Expression(body=Lambda(args=arguments(args=[Name(" "id='x', ctx=Param(), " "annotation=None, type_comment=None)], posonlyargs=[], " "vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, " "defaults=[]), body=Name(id='x', ctx=Load(), " "annotation=None, type_comment=None)" "))") > self.assertEqual(dump, norm) E AssertionError: "Expr[59 chars]ram())]), body=Name(id='x', ctx=Load())))" != "Expr[59 chars]ram(), annotation=None, type_comment=None)], p[148 chars]e)))" E - Expression(body=Lambda(args=arguments(args=[Name(id='x', ctx=Param())]), body=Name(id='x', ctx=Load()))) E + Expression(body=Lambda(args=arguments(args=[Name(id='x', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=Name(id='x', ctx=Load(), annotation=None, type_comment=None))) tests/test_api.py:44: AssertionError ____________________________ APITestCase.test_walk _____________________________ self = def test_walk(self): code = 'x + 1' tree = gast.parse(code, mode='eval') dump = gast.dump(tree) norm = ("Expression(body=BinOp(left=Name(id='x', ctx=Load(), " "annotation=None, type_comment=None), op=Add(), " "right=Constant(value=1, kind=None)))") > self.assertEqual(dump, norm) E AssertionError: "Expr[41 chars]oad()), op=Add(), right=Constant(value=1)))" != "Expr[41 chars]oad(), annotation=None, type_comment=None), op[40 chars]e)))" E - Expression(body=BinOp(left=Name(id='x', ctx=Load()), op=Add(), right=Constant(value=1))) E + Expression(body=BinOp(left=Name(id='x', ctx=Load(), annotation=None, type_comment=None), op=Add(), right=Constant(value=1, kind=None))) E ? ++++++++++++++++++++++++++++++++++++ +++++++++++ tests/test_api.py:53: AssertionError ______________________ CompatTestCase.test_ArgAnnotation _______________________ self = def test_ArgAnnotation(self): code = 'def foo(x:int): pass' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=" "[Name(id='x', ctx=Param(), annotation=Name" "(id='int', ctx=Load(), annotation=None, type_comment=None" "), type_comment=None)], posonlyargs=" "[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=" "None, defaults=[]), body=[Pass()], decorator_list=[], " "returns=None, type_comment=None)], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[111 chars]oad()))]), body=[Pass()])])" != "Modu[111 chars]oad(), annotation=None, type_comment=None), ty[186 chars]=[])" E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='x', ctx=Param(), annotation=Name(id='int', ctx=Load()))]), body=[Pass()])]) E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='x', ctx=Param(), annotation=Name(id='int', ctx=Load(), annotation=None, type_comment=None), type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) tests/test_compat.py:42: AssertionError ___________________________ CompatTestCase.test_Call ___________________________ self = def test_Call(self): self.maxDiff = None code = 'foo(x, y=1, *args, **kwargs)' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Expr(value=Call(func=Name(id='foo', ctx=Load" "(), annotation=None, type_comment=None" "), args=[Name(id='x', ctx=Load(), " "annotation=None, type_comment=None), Starred(value=Name(" "id='args', ctx=Load(), annotation=None, type_comment=None)" ", ctx=Load())], keywords=[keyword(" "arg='y', value=Constant(value=1, kind=None)), keyword(arg" "=None, value=Name(id='kwargs', ctx=Load(), annotation=None, " "type_comment=None))]))], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[50 chars]oad()), args=[Name(id='x', ctx=Load()), Starre[149 chars]))])" != "Modu[50 chars]oad(), annotation=None, type_comment=None), ar[331 chars]=[])" E - Module(body=[Expr(value=Call(func=Name(id='foo', ctx=Load()), args=[Name(id='x', ctx=Load()), Starred(value=Name(id='args', ctx=Load()), ctx=Load())], keywords=[keyword(arg='y', value=Constant(value=1)), keyword(value=Name(id='kwargs', ctx=Load()))]))]) E + Module(body=[Expr(value=Call(func=Name(id='foo', ctx=Load(), annotation=None, type_comment=None), args=[Name(id='x', ctx=Load(), annotation=None, type_comment=None), Starred(value=Name(id='args', ctx=Load(), annotation=None, type_comment=None), ctx=Load())], keywords=[keyword(arg='y', value=Constant(value=1, kind=None)), keyword(arg=None, value=Name(id='kwargs', ctx=Load(), annotation=None, type_comment=None))]))], type_ignores=[]) tests/test_compat.py:334: AssertionError _________________________ CompatTestCase.test_Ellipsis _________________________ self = def test_Ellipsis(self): self.maxDiff = None code = 'def foo(a): a[...]' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[" "Name(id='a', ctx=Param(), annotation=None, type_comment=None)" "], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[]" ", kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=" "Name(id='a', ctx=Load(), annotation=None, type_comment=None)" ", slice=Constant(value=Ellipsis, kind=None), ctx=Load()))], " "decorator_list=[], returns=None, type_comment=" "None)], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[73 chars]ram())]), body=[Expr(value=Subscript(value=Nam[67 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[304 chars]=[])" E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param())]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load()), slice=Constant(value=Ellipsis), ctx=Load()))])]) E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load(), annotation=None, type_comment=None), slice=Constant(value=Ellipsis, kind=None), ctx=Load()))], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) tests/test_compat.py:438: AssertionError _________________________ CompatTestCase.test_ExtSlice _________________________ self = def test_ExtSlice(self): self.maxDiff = None code = 'def foo(a): a[:,:]' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[" "Name(id='a', ctx=Param(), annotation=None, type_comment=None)" "], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[]" ", kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=" "Name(id='a', ctx=Load(), annotation=None, type_comment=None)" ", slice=Tuple(elts=[Slice(lower=None, upper=None, step=" "None), Slice(lower=None, upper=None, step=None)], ctx=Load())" ", ctx=Load()))], decorator_list=[], returns=None, " "type_comment=None)], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[73 chars]ram())]), body=[Expr(value=Subscript(value=Nam[85 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[377 chars]=[])" E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param())]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load()), slice=Tuple(elts=[Slice(), Slice()], ctx=Load()), ctx=Load()))])]) E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load(), annotation=None, type_comment=None), slice=Tuple(elts=[Slice(lower=None, upper=None, step=None), Slice(lower=None, upper=None, step=None)], ctx=Load()), ctx=Load()))], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) tests/test_compat.py:407: AssertionError _____________________ CompatTestCase.test_ExtSliceEllipsis _____________________ self = def test_ExtSliceEllipsis(self): self.maxDiff = None code = 'def foo(a): a[1, ...]' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[" "Name(id='a', ctx=Param(), annotation=None, type_comment=None)" "], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[]" ", kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=" "Name(id='a', ctx=Load(), annotation=None, type_comment=None)" ", slice=Tuple(elts=[Constant(value=1, kind=None)" ", Constant(value=Ellipsis, kind=None)], ctx=Load()), ctx=" "Load()))], decorator_list=[], returns=None, type_comment=" "None)], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[73 chars]ram())]), body=[Expr(value=Subscript(value=Nam[112 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[360 chars]=[])" E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param())]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load()), slice=Tuple(elts=[Constant(value=1), Constant(value=Ellipsis)], ctx=Load()), ctx=Load()))])]) E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load(), annotation=None, type_comment=None), slice=Tuple(elts=[Constant(value=1, kind=None), Constant(value=Ellipsis, kind=None)], ctx=Load()), ctx=Load()))], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) tests/test_compat.py:454: AssertionError ________________________ CompatTestCase.test_ExtSlices _________________________ self = def test_ExtSlices(self): self.maxDiff = None code = 'def foo(a): a[1,:]' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[" "Name(id='a', ctx=Param(), annotation=None, type_comment=None)" "], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[]" ", kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=" "Name(id='a', ctx=Load(), annotation=None, type_comment=None)" ", slice=Tuple(elts=[Constant(value=1, kind=" "None), Slice(lower=None, upper=None, step=None)], ctx=Load())" ", ctx=Load()))], decorator_list=[], returns=None, " "type_comment=None)], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[73 chars]ram())]), body=[Expr(value=Subscript(value=Nam[95 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[365 chars]=[])" E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param())]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load()), slice=Tuple(elts=[Constant(value=1), Slice()], ctx=Load()), ctx=Load()))])]) E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load(), annotation=None, type_comment=None), slice=Tuple(elts=[Constant(value=1, kind=None), Slice(lower=None, upper=None, step=None)], ctx=Load()), ctx=Load()))], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) tests/test_compat.py:423: AssertionError ______________________ CompatTestCase.test_FormattedValue ______________________ self = def test_FormattedValue(self): code = 'e = 1; f"{e}"' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Assign(targets=[Name(id='e', ctx=Store()" ", annotation=None, type_comment=None" ")], value=Constant(value=1, kind=None), " "type_comment=None), Expr(value=" "JoinedStr(values=[FormattedValue(value=Name(id='e', " "ctx=Load(), annotation=None, type_comment=None), " "conversion=-1, format_spec=None)]))], " "type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[44 chars]ore())], value=Constant(value=1)), Expr(value=[80 chars]))])" != "Modu[44 chars]ore(), annotation=None, type_comment=None)], v[217 chars]=[])" E - Module(body=[Assign(targets=[Name(id='e', ctx=Store())], value=Constant(value=1)), Expr(value=JoinedStr(values=[FormattedValue(value=Name(id='e', ctx=Load()), conversion=-1)]))]) E + Module(body=[Assign(targets=[Name(id='e', ctx=Store(), annotation=None, type_comment=None)], value=Constant(value=1, kind=None), type_comment=None), Expr(value=JoinedStr(values=[FormattedValue(value=Name(id='e', ctx=Load(), annotation=None, type_comment=None), conversion=-1, format_spec=None)]))], type_ignores=[]) tests/test_compat.py:70: AssertionError __________________________ CompatTestCase.test_Index ___________________________ self = def test_Index(self): code = 'def foo(a): a[1]' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[" "Name(id='a', ctx=Param(), annotation=None, type_comment=None)" "], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[]" ", kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=" "Name(id='a', ctx=Load(), annotation=None, type_comment=None)" ", slice=Constant(value=1, kind=None), ctx=Load()" "))], decorator_list=[], returns=None, type_comment=None)]" ", type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[73 chars]ram())]), body=[Expr(value=Subscript(value=Nam[60 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[297 chars]=[])" E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param())]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load()), slice=Constant(value=1), ctx=Load()))])]) E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Expr(value=Subscript(value=Name(id='a', ctx=Load(), annotation=None, type_comment=None), slice=Constant(value=1, kind=None), ctx=Load()))], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) tests/test_compat.py:391: AssertionError ________________________ CompatTestCase.test_JoinedStr _________________________ self = def test_JoinedStr(self): code = 'e = 1; f"e = {e}"' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Assign(targets=[Name(id='e', ctx=Store()" ", annotation=None, type_comment=None" ")], value=Constant(value=1, kind=None), " "type_comment=None), Expr(value=" "JoinedStr(values=[Constant(value='e = ', kind=None), " "FormattedValue(value=Name(id='e', ctx=Load(), " "annotation=None, type_comment=None), " "conversion=-1, format_spec=None)]))], " "type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[44 chars]ore())], value=Constant(value=1)), Expr(value=[104 chars]))])" != "Modu[44 chars]ore(), annotation=None, type_comment=None)], v[252 chars]=[])" E - Module(body=[Assign(targets=[Name(id='e', ctx=Store())], value=Constant(value=1)), Expr(value=JoinedStr(values=[Constant(value='e = '), FormattedValue(value=Name(id='e', ctx=Load()), conversion=-1)]))]) E + Module(body=[Assign(targets=[Name(id='e', ctx=Store(), annotation=None, type_comment=None)], value=Constant(value=1, kind=None), type_comment=None), Expr(value=JoinedStr(values=[Constant(value='e = ', kind=None), FormattedValue(value=Name(id='e', ctx=Load(), annotation=None, type_comment=None), conversion=-1, format_spec=None)]))], type_ignores=[]) tests/test_compat.py:85: AssertionError ___________________ CompatTestCase.test_KeywordOnlyArgument ____________________ self = def test_KeywordOnlyArgument(self): code = 'def foo(*, x=1): pass' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=" "[], posonlyargs=[], vararg=None, kwonlyargs=[Name" "(id='x', ctx=Param(), annotation=None, type_comment=None" ")], kw_defaults=[Constant(value=1, kind=None)], kwarg=" "None, defaults=[]), body=[Pass()], decorator_list=[], " "returns=None, type_comment=None)], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[43 chars]ents(kwonlyargs=[Name(id='x', ctx=Param())], k[45 chars]])])" != "Modu[43 chars]ents(args=[], posonlyargs=[], vararg=None, kwo[224 chars]=[])" E - Module(body=[FunctionDef(name='foo', args=arguments(kwonlyargs=[Name(id='x', ctx=Param())], kw_defaults=[Constant(value=1)]), body=[Pass()])]) E + Module(body=[FunctionDef(name='foo', args=arguments(args=[], posonlyargs=[], vararg=None, kwonlyargs=[Name(id='x', ctx=Param(), annotation=None, type_comment=None)], kw_defaults=[Constant(value=1, kind=None)], kwarg=None, defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) tests/test_compat.py:54: AssertionError _________________________ CompatTestCase.test_MatchAs __________________________ self = def test_MatchAs(self): code = 'match v:\n case 1, other:...' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Match(subject=Name(id='v', ctx=Load" "(), annotation=None, type_comment=None), cases=[" "match_case(pattern=MatchSequence(patterns=[" "MatchValue(value=Constant(value=1, kind=None)), " "MatchAs(pattern=None, name='other')]), guard=None" ", body=[Expr(value=Constant(value=Ellipsis, kind" "=None))])])], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[41 chars]oad()), cases=[match_case(pattern=MatchSequenc[118 chars]])])" != "Modu[41 chars]oad(), annotation=None, type_comment=None), ca[219 chars]=[])" E - Module(body=[Match(subject=Name(id='v', ctx=Load()), cases=[match_case(pattern=MatchSequence(patterns=[MatchValue(value=Constant(value=1)), MatchAs(name='other')]), body=[Expr(value=Constant(value=Ellipsis))])])]) E + Module(body=[Match(subject=Name(id='v', ctx=Load(), annotation=None, type_comment=None), cases=[match_case(pattern=MatchSequence(patterns=[MatchValue(value=Constant(value=1, kind=None)), MatchAs(pattern=None, name='other')]), guard=None, body=[Expr(value=Constant(value=Ellipsis, kind=None))])])], type_ignores=[]) tests/test_compat.py:216: AssertionError ________________________ CompatTestCase.test_MatchClass ________________________ self = def test_MatchClass(self): code = 'match v:\n case Cls(attr=1):...' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Match(subject=Name(id='v', ctx=Load" "(), annotation=None, type_comment=None), cases=[" "match_case(pattern=MatchClass(cls=Name(id='Cls'" ", ctx=Load(), annotation=None, type_comment=None" "), patterns=[], kwd_attrs=['attr'], kwd_patterns" "=[MatchValue(value=Constant(value=1, kind=None))" "]), guard=None, body=[Expr(value=Constant(value=" "Ellipsis, kind=None))])])], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[41 chars]oad()), cases=[match_case(pattern=MatchClass(c[148 chars]])])" != "Modu[41 chars]oad(), annotation=None, type_comment=None), ca[284 chars]=[])" E - Module(body=[Match(subject=Name(id='v', ctx=Load()), cases=[match_case(pattern=MatchClass(cls=Name(id='Cls', ctx=Load()), kwd_attrs=['attr'], kwd_patterns=[MatchValue(value=Constant(value=1))]), body=[Expr(value=Constant(value=Ellipsis))])])]) E + Module(body=[Match(subject=Name(id='v', ctx=Load(), annotation=None, type_comment=None), cases=[match_case(pattern=MatchClass(cls=Name(id='Cls', ctx=Load(), annotation=None, type_comment=None), patterns=[], kwd_attrs=['attr'], kwd_patterns=[MatchValue(value=Constant(value=1, kind=None))]), guard=None, body=[Expr(value=Constant(value=Ellipsis, kind=None))])])], type_ignores=[]) tests/test_compat.py:190: AssertionError _______________________ CompatTestCase.test_MatchMapping _______________________ self = def test_MatchMapping(self): code = 'match v:\n case {1: a}:...' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Match(subject=Name(id='v', ctx=Load" "(), annotation=None, type_comment=None), cases=[" "match_case(pattern=MatchMapping(keys=[Constant(" "value=1, kind=None)], patterns=[MatchAs(pattern" "=None, name='a')], rest=None), guard=None, body=" "[Expr(value=Constant(value=Ellipsis, kind=None))]" ")])], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[41 chars]oad()), cases=[match_case(pattern=MatchMapping[102 chars]])])" != "Modu[41 chars]oad(), annotation=None, type_comment=None), ca[214 chars]=[])" E - Module(body=[Match(subject=Name(id='v', ctx=Load()), cases=[match_case(pattern=MatchMapping(keys=[Constant(value=1)], patterns=[MatchAs(name='a')]), body=[Expr(value=Constant(value=Ellipsis))])])]) E + Module(body=[Match(subject=Name(id='v', ctx=Load(), annotation=None, type_comment=None), cases=[match_case(pattern=MatchMapping(keys=[Constant(value=1, kind=None)], patterns=[MatchAs(pattern=None, name='a')], rest=None), guard=None, body=[Expr(value=Constant(value=Ellipsis, kind=None))])])], type_ignores=[]) tests/test_compat.py:176: AssertionError _________________________ CompatTestCase.test_MatchOr __________________________ self = def test_MatchOr(self): code = 'match v:\n case 1 | 2:...' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Match(subject=Name(id='v', ctx=Load" "(), annotation=None, type_comment=None), cases=[" "match_case(pattern=MatchOr(patterns=[MatchValue(" "value=Constant(value=1, kind=None)), MatchValue(" "value=Constant(value=2, kind=None))]), guard=" "None, body=[Expr(value=Constant(value=Ellipsis, " "kind=None))])])], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[41 chars]oad()), cases=[match_case(pattern=MatchOr(patt[126 chars]])])" != "Modu[41 chars]oad(), annotation=None, type_comment=None), ca[224 chars]=[])" E - Module(body=[Match(subject=Name(id='v', ctx=Load()), cases=[match_case(pattern=MatchOr(patterns=[MatchValue(value=Constant(value=1)), MatchValue(value=Constant(value=2))]), body=[Expr(value=Constant(value=Ellipsis))])])]) E + Module(body=[Match(subject=Name(id='v', ctx=Load(), annotation=None, type_comment=None), cases=[match_case(pattern=MatchOr(patterns=[MatchValue(value=Constant(value=1, kind=None)), MatchValue(value=Constant(value=2, kind=None))]), guard=None, body=[Expr(value=Constant(value=Ellipsis, kind=None))])])], type_ignores=[]) tests/test_compat.py:229: AssertionError ______________________ CompatTestCase.test_MatchSequence _______________________ self = def test_MatchSequence(self): code = 'match v:\n case a, b:...' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Match(subject=Name(id='v', ctx=Load" "(), annotation=None, type_comment=None), cases=" "[match_case(pattern=MatchSequence(patterns=[" "MatchAs(pattern=None, name='a'), MatchAs(pattern" "=None, name='b')]), guard=None, body=[Expr(value" "=Constant(value=Ellipsis, kind=None))])])], " "type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[41 chars]oad()), cases=[match_case(pattern=MatchSequenc[96 chars]])])" != "Modu[41 chars]oad(), annotation=None, type_comment=None), ca[200 chars]=[])" E - Module(body=[Match(subject=Name(id='v', ctx=Load()), cases=[match_case(pattern=MatchSequence(patterns=[MatchAs(name='a'), MatchAs(name='b')]), body=[Expr(value=Constant(value=Ellipsis))])])]) E + Module(body=[Match(subject=Name(id='v', ctx=Load(), annotation=None, type_comment=None), cases=[match_case(pattern=MatchSequence(patterns=[MatchAs(pattern=None, name='a'), MatchAs(pattern=None, name='b')]), guard=None, body=[Expr(value=Constant(value=Ellipsis, kind=None))])])], type_ignores=[]) tests/test_compat.py:163: AssertionError ______________________ CompatTestCase.test_MatchSingleton ______________________ self = def test_MatchSingleton(self): self.maxDiff = None code = 'match v:\n case None:...' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Match(subject=Name(id='v', ctx=Load" "(), annotation=None, type_comment=None), cases=[" "match_case(pattern=MatchSingleton(value=None), " "guard=None, body=[Expr(value=Constant(value=" "Ellipsis, kind=None))])])], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[41 chars]oad()), cases=[match_case(pattern=MatchSinglet[50 chars]])])" != "Modu[41 chars]oad(), annotation=None, type_comment=None), ca[136 chars]=[])" E - Module(body=[Match(subject=Name(id='v', ctx=Load()), cases=[match_case(pattern=MatchSingleton(), body=[Expr(value=Constant(value=Ellipsis))])])]) E + Module(body=[Match(subject=Name(id='v', ctx=Load(), annotation=None, type_comment=None), cases=[match_case(pattern=MatchSingleton(value=None), guard=None, body=[Expr(value=Constant(value=Ellipsis, kind=None))])])], type_ignores=[]) tests/test_compat.py:150: AssertionError ________________________ CompatTestCase.test_MatchStar _________________________ self = def test_MatchStar(self): code = 'match v:\n case [1, *other]:...' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Match(subject=Name(id='v', ctx=Load" "(), annotation=None, type_comment=None), cases=[" "match_case(pattern=MatchSequence(patterns=[" "MatchValue(value=Constant(value=1, kind=None)), " "MatchStar(name='other')]), guard=None, body=" "[Expr(value=Constant(value=Ellipsis, kind=None)" ")])])], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[41 chars]oad()), cases=[match_case(pattern=MatchSequenc[120 chars]])])" != "Modu[41 chars]oad(), annotation=None, type_comment=None), ca[207 chars]=[])" E - Module(body=[Match(subject=Name(id='v', ctx=Load()), cases=[match_case(pattern=MatchSequence(patterns=[MatchValue(value=Constant(value=1)), MatchStar(name='other')]), body=[Expr(value=Constant(value=Ellipsis))])])]) E + Module(body=[Match(subject=Name(id='v', ctx=Load(), annotation=None, type_comment=None), cases=[match_case(pattern=MatchSequence(patterns=[MatchValue(value=Constant(value=1, kind=None)), MatchStar(name='other')]), guard=None, body=[Expr(value=Constant(value=Ellipsis, kind=None))])])], type_ignores=[]) tests/test_compat.py:203: AssertionError ________________________ CompatTestCase.test_MatchValue ________________________ self = def test_MatchValue(self): code = 'match v:\n case "hello":...' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Match(subject=Name(id='v', ctx=Load" "(), annotation=None, type_comment=None), cases=" "[match_case(pattern=MatchValue(value=Constant(" "value='hello', kind=None)), guard=None, body=" "[Expr(value=Constant(value=Ellipsis, kind=None))]" ")])], type_ignores=[])" ) > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[41 chars]oad()), cases=[match_case(pattern=MatchValue(v[75 chars]])])" != "Modu[41 chars]oad(), annotation=None, type_comment=None), ca[162 chars]=[])" E - Module(body=[Match(subject=Name(id='v', ctx=Load()), cases=[match_case(pattern=MatchValue(value=Constant(value='hello')), body=[Expr(value=Constant(value=Ellipsis))])])]) E + Module(body=[Match(subject=Name(id='v', ctx=Load(), annotation=None, type_comment=None), cases=[match_case(pattern=MatchValue(value=Constant(value='hello', kind=None)), guard=None, body=[Expr(value=Constant(value=Ellipsis, kind=None))])])], type_ignores=[]) tests/test_compat.py:138: AssertionError ________________________ CompatTestCase.test_NamedExpr _________________________ self = def test_NamedExpr(self): code = '(x := 1) ' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Expr(value=NamedExpr(target=Name(id='x'," " ctx=Store(), annotation=None, type_comment=None), " "value=Constant(value=1, kind=None)))], type_ignores=" "[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[56 chars]ore()), value=Constant(value=1)))])" != "Modu[56 chars]ore(), annotation=None, type_comment=None), va[49 chars]=[])" E - Module(body=[Expr(value=NamedExpr(target=Name(id='x', ctx=Store()), value=Constant(value=1)))]) E + Module(body=[Expr(value=NamedExpr(target=Name(id='x', ctx=Store(), annotation=None, type_comment=None), value=Constant(value=1, kind=None)))], type_ignores=[]) E ? ++++++++++++++++++++++++++++++++++++ +++++++++++ +++++++++++++++++ tests/test_compat.py:123: AssertionError _______________________ CompatTestCase.test_PosonlyArgs ________________________ self = def test_PosonlyArgs(self): code = 'def foo(a, /, b): pass' tree = gast.parse(code, type_comments=True) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[FunctionDef(name='foo', args=arguments(" "args=[Name(id='b', ctx=Param(), annotation=None, " "type_comment=None)], posonlyargs=[Name(id='a', " "ctx=Param(), annotation=None, type_comment=None)], " "vararg=None, kwonlyargs=[], kw_defaults=[], " "kwarg=None, defaults=[]), body=[Pass()], " "decorator_list=[], returns=None, type_comment=None)" "], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[73 chars]ram())], posonlyargs=[Name(id='a', ctx=Param()[17 chars]])])" != "Modu[73 chars]ram(), annotation=None, type_comment=None)], p[227 chars]=[])" E - Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='b', ctx=Param())], posonlyargs=[Name(id='a', ctx=Param())]), body=[Pass()])]) E + Module(body=[FunctionDef(name='foo', args=arguments(args=[Name(id='b', ctx=Param(), annotation=None, type_comment=None)], posonlyargs=[Name(id='a', ctx=Param(), annotation=None, type_comment=None)], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) tests/test_compat.py:113: AssertionError __________________________ CompatTestCase.test_Raise ___________________________ self = def test_Raise(self): codes = ('raise Exception', 'raise "Exception"', 'raise Exception, "err"', 'raise Exception("err")', 'raise E, V, T',) norms = ("Module(body=[Raise(exc=Name(id='Exception', ctx=Load(), " "annotation=None, type_comment=None)," " cause=None)], type_ignores=[])", "Module(body=[Raise(exc=Constant(value='Exception', kind=" "None), cause=None)], type_ignores=[])", "Module(body=[Raise(exc=Call(func=Name(id='Exception', " "ctx=Load(), annotation=None, type_comment=None), " "args=[Constant(value='err', kind=None)], " "keywords=[]), cause=None)], type_ignores=[])", "Module(body=[Raise(exc=Call(func=Name(id='Exception', " "ctx=Load(), annotation=None, type_comment=None), " "args=[Constant(value='err', kind=None)], " "keywords=[]), cause=None)], type_ignores=[])", "Module(body=[Raise(exc=Call(func=Attribute(value=Call(" "func=Name(id='E', ctx=Load(), annotation=None, " "type_comment=None), args=[Name(id='V', ctx=" "Load(), annotation=None, type_comment=None)], keywords=[]), " "attr='with_traceback', ctx=Load" "()), args=[Name(id='T', ctx=Load(), annotation=None, " "type_comment=None)], keywords=[]), " "cause=None)], type_ignores=[])",) if sys.version_info.major == 3: codes = codes[0], codes[1], codes[3] norms = norms[0], norms[1], norms[3] for code, norm in zip(codes, norms): tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[45 chars]oad()))])" != "Modu[45 chars]oad(), annotation=None, type_comment=None), ca[24 chars]=[])" E - Module(body=[Raise(exc=Name(id='Exception', ctx=Load()))]) E + Module(body=[Raise(exc=Name(id='Exception', ctx=Load(), annotation=None, type_comment=None), cause=None)], type_ignores=[]) tests/test_compat.py:318: AssertionError ________________________ CompatTestCase.test_TryExcept _________________________ self = def test_TryExcept(self): code = 'try:pass\nexcept e:pass\nelse:pass' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(" "type=Name(id='e', ctx=Load(), annotation=None, " "type_comment=None), name=None, body=[Pass()])]" ", orelse=[Pass()], finalbody=[])], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[75 chars]oad()), body=[Pass()])], orelse=[Pass()])])" != "Modu[75 chars]oad(), annotation=None, type_comment=None), na[71 chars]=[])" E - Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(type=Name(id='e', ctx=Load()), body=[Pass()])], orelse=[Pass()])]) E + Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(type=Name(id='e', ctx=Load(), annotation=None, type_comment=None), name=None, body=[Pass()])], orelse=[Pass()], finalbody=[])], type_ignores=[]) tests/test_compat.py:266: AssertionError ______________________ CompatTestCase.test_TryExceptNamed ______________________ self = def test_TryExceptNamed(self): code = 'try:pass\nexcept e as f:pass\nelse:pass' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(" "type=Name(id='e', ctx=Load(), annotation=None, " "type_comment=None), name=Name(id='f', ctx=" "Store(), annotation=None, type_comment=None), body=[Pass()])]" ", orelse=[Pass()], finalbody=[])], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[75 chars]oad()), name=Name(id='f', ctx=Store()), body=[[25 chars]])])" != "Modu[75 chars]oad(), annotation=None, type_comment=None), na[128 chars]=[])" E - Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(type=Name(id='e', ctx=Load()), name=Name(id='f', ctx=Store()), body=[Pass()])], orelse=[Pass()])]) E + Module(body=[Try(body=[Pass()], handlers=[ExceptHandler(type=Name(id='e', ctx=Load(), annotation=None, type_comment=None), name=Name(id='f', ctx=Store(), annotation=None, type_comment=None), body=[Pass()])], orelse=[Pass()], finalbody=[])], type_ignores=[]) tests/test_compat.py:277: AssertionError ________________________ CompatTestCase.test_TryFinally ________________________ self = def test_TryFinally(self): code = 'try:pass\nfinally:pass' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[Try(body=[Pass()], handlers=[], orelse=[], " "finalbody=[Pass()])], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: 'Modu[23 chars]()], finalbody=[Pass()])])' != 'Modu[23 chars]()], handlers=[], orelse=[], finalbody=[Pass()[17 chars]=[])' E - Module(body=[Try(body=[Pass()], finalbody=[Pass()])]) E + Module(body=[Try(body=[Pass()], handlers=[], orelse=[], finalbody=[Pass()])], type_ignores=[]) tests/test_compat.py:353: AssertionError ________________________ CompatTestCase.test_TypeIgnore ________________________ self = def test_TypeIgnore(self): code = 'def foo(): pass # type: ignore[excuse]' tree = gast.parse(code, type_comments=True) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[FunctionDef(name='foo', args=arguments(" "args=[], posonlyargs=[], vararg=None, kwonlyargs=[], " "kw_defaults=[], kwarg=None, defaults=[]), body=[" "Pass()], decorator_list=[], returns=None, " "type_comment=None)], type_ignores=" "[TypeIgnore(lineno=1, tag='[excuse]')])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[43 chars]ents(), body=[Pass()])], type_ignores=[TypeIgn[27 chars]')])" != "Modu[43 chars]ents(args=[], posonlyargs=[], vararg=None, kwo[171 chars]')])" E - Module(body=[FunctionDef(name='foo', args=arguments(), body=[Pass()])], type_ignores=[TypeIgnore(lineno=1, tag='[excuse]')]) E + Module(body=[FunctionDef(name='foo', args=arguments(args=[], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[TypeIgnore(lineno=1, tag='[excuse]')]) tests/test_compat.py:99: AssertionError ___________________________ CompatTestCase.test_With ___________________________ self = def test_With(self): code = 'with open("any"): pass' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[With(items=[withitem(context_expr=Call(func=" "Name(id='open', ctx=Load(), annotation=None, " "type_comment=None), args=[Constant(value='any', " "kind=None)], keywords=[]), optional_vars=None)], body=[" "Pass()], type_comment=None)], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[74 chars]oad()), args=[Constant(value='any')]))], body=[Pass()])])" != "Modu[74 chars]oad(), annotation=None, type_comment=None), ar[123 chars]=[])" E - Module(body=[With(items=[withitem(context_expr=Call(func=Name(id='open', ctx=Load()), args=[Constant(value='any')]))], body=[Pass()])]) E + Module(body=[With(items=[withitem(context_expr=Call(func=Name(id='open', ctx=Load(), annotation=None, type_comment=None), args=[Constant(value='any', kind=None)], keywords=[]), optional_vars=None)], body=[Pass()], type_comment=None)], type_ignores=[]) tests/test_compat.py:345: AssertionError _____________________ CompatTestCase.test_keyword_argument _____________________ self = def test_keyword_argument(self): code = 'def foo(**a): pass' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[], " "posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], " "kwarg=Name(id='a', ctx=Param(), annotation=None, " "type_comment=None), defaults=[]), body=[Pass()], " "decorator_list=[], returns=None, type_comment=None)], " "type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[43 chars]ents(kwarg=Name(id='a', ctx=Param())), body=[Pass()])])" != "Modu[43 chars]ents(args=[], posonlyargs=[], vararg=None, kwo[192 chars]=[])" E - Module(body=[FunctionDef(name='foo', args=arguments(kwarg=Name(id='a', ctx=Param())), body=[Pass()])]) E + Module(body=[FunctionDef(name='foo', args=arguments(args=[], posonlyargs=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=Name(id='a', ctx=Param(), annotation=None, type_comment=None), defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) tests/test_compat.py:377: AssertionError ______________________ CompatTestCase.test_star_argument _______________________ self = def test_star_argument(self): code = 'def foo(*a): pass' tree = gast.parse(code) compile(gast.gast_to_ast(tree), '', 'exec') norm = ("Module(body=[FunctionDef(name='foo', args=arguments(args=[], " "posonlyargs=[], vararg=Name(id='a', ctx=Param(), " "annotation=None, type_comment=None), " "kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), " "body=[Pass()], decorator_list=[], returns=None, " "type_comment=None)], type_ignores=[])") > self.assertEqual(gast.dump(tree), norm) E AssertionError: "Modu[43 chars]ents(vararg=Name(id='a', ctx=Param())), body=[Pass()])])" != "Modu[43 chars]ents(args=[], posonlyargs=[], vararg=Name(id='[192 chars]=[])" E - Module(body=[FunctionDef(name='foo', args=arguments(vararg=Name(id='a', ctx=Param())), body=[Pass()])]) E + Module(body=[FunctionDef(name='foo', args=arguments(args=[], posonlyargs=[], vararg=Name(id='a', ctx=Param(), annotation=None, type_comment=None), kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Pass()], decorator_list=[], returns=None, type_comment=None)], type_ignores=[]) tests/test_compat.py:365: AssertionError =============================== warnings summary =============================== tests/test_api.py::APITestCase::test_literal_eval_code /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Expression.__init__ missing 1 required positional argument: 'body'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_api.py: 2 warnings tests/test_compat.py: 27 warnings tests/test_self.py: 1120 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Constant.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py: 11 warnings tests/test_self.py: 205 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: FunctionDef.__init__ missing 1 required positional argument: 'args'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py: 11 warnings tests/test_self.py: 205 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: FunctionDef.__init__ missing 1 required positional argument: 'name'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py: 17 warnings tests/test_self.py: 396 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Expr.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py: 2 warnings tests/test_self.py: 954 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Call.__init__ missing 1 required positional argument: 'func'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_Call tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Starred.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py: 2 warnings tests/test_self.py: 29 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: keyword.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py: 5 warnings tests/test_self.py: 51 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Subscript.__init__ missing 1 required positional argument: 'slice'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py: 5 warnings tests/test_self.py: 51 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Subscript.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_FormattedValue tests/test_compat.py::CompatTestCase::test_JoinedStr /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: FormattedValue.__init__ missing 1 required positional argument: 'conversion'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_FormattedValue tests/test_compat.py::CompatTestCase::test_JoinedStr /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: FormattedValue.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_MatchAs tests/test_compat.py::CompatTestCase::test_MatchClass tests/test_compat.py::CompatTestCase::test_MatchMapping tests/test_compat.py::CompatTestCase::test_MatchOr tests/test_compat.py::CompatTestCase::test_MatchSequence tests/test_compat.py::CompatTestCase::test_MatchSingleton tests/test_compat.py::CompatTestCase::test_MatchStar tests/test_compat.py::CompatTestCase::test_MatchValue /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Match.__init__ missing 1 required positional argument: 'subject'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_MatchAs tests/test_compat.py::CompatTestCase::test_MatchClass tests/test_compat.py::CompatTestCase::test_MatchMapping tests/test_compat.py::CompatTestCase::test_MatchOr tests/test_compat.py::CompatTestCase::test_MatchSequence tests/test_compat.py::CompatTestCase::test_MatchSingleton tests/test_compat.py::CompatTestCase::test_MatchStar tests/test_compat.py::CompatTestCase::test_MatchValue /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: match_case.__init__ missing 1 required positional argument: 'pattern'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_MatchAs tests/test_compat.py::CompatTestCase::test_MatchClass tests/test_compat.py::CompatTestCase::test_MatchOr tests/test_compat.py::CompatTestCase::test_MatchOr tests/test_compat.py::CompatTestCase::test_MatchStar tests/test_compat.py::CompatTestCase::test_MatchValue /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: MatchValue.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_MatchClass /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: MatchClass.__init__ missing 1 required positional argument: 'cls'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_MatchSingleton /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: MatchSingleton.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_NamedExpr /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: NamedExpr.__init__ missing 1 required positional argument: 'target'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_NamedExpr /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: NamedExpr.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_TypeIgnore tests/test_compat.py::CompatTestCase::test_TypeIgnore /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: TypeIgnore.__init__ missing 1 required positional argument: 'tag'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py::CompatTestCase::test_TypeIgnore tests/test_compat.py::CompatTestCase::test_TypeIgnore /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: TypeIgnore.__init__ missing 1 required positional argument: 'lineno'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_compat.py: 1 warning tests/test_self.py: 47 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: withitem.__init__ missing 1 required positional argument: 'context_expr'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 44 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: alias.__init__ missing 1 required positional argument: 'name'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 10 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: ClassDef.__init__ missing 1 required positional argument: 'name'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 1609 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Attribute.__init__ missing 1 required positional argument: 'attr'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 1609 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Attribute.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 156 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: If.__init__ missing 1 required positional argument: 'test'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 67 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Compare.__init__ missing 1 required positional argument: 'left'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 39 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: BinOp.__init__ missing 1 required positional argument: 'op'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 39 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: BinOp.__init__ missing 1 required positional argument: 'right'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 39 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: BinOp.__init__ missing 1 required positional argument: 'left'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 23 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: BoolOp.__init__ missing 1 required positional argument: 'op'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 10 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: ListComp.__init__ missing 1 required positional argument: 'elt'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 15 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: comprehension.__init__ missing 1 required positional argument: 'is_async'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 15 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: comprehension.__init__ missing 1 required positional argument: 'iter'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 15 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: comprehension.__init__ missing 1 required positional argument: 'target'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 33 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: UnaryOp.__init__ missing 1 required positional argument: 'operand'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 33 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: UnaryOp.__init__ missing 1 required positional argument: 'op'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: GeneratorExp.__init__ missing 1 required positional argument: 'elt'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 31 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: For.__init__ missing 1 required positional argument: 'iter'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 31 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: For.__init__ missing 1 required positional argument: 'target'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 19 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Lambda.__init__ missing 1 required positional argument: 'body'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py: 19 warnings /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Lambda.__init__ missing 1 required positional argument: 'args'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: AugAssign.__init__ missing 1 required positional argument: 'op'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: AugAssign.__init__ missing 1 required positional argument: 'target'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile tests/test_self.py::SelfTestCase::testCompile /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: AugAssign.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py::SelfTestCase::testCompile /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: DictComp.__init__ missing 1 required positional argument: 'key'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py::SelfTestCase::testCompile /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: DictComp.__init__ missing 1 required positional argument: 'value'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py::SelfTestCase::testCompile /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: While.__init__ missing 1 required positional argument: 'test'. This will become an error in Python 3.15. new_node = getattr(to, cls)() tests/test_self.py::SelfTestCase::testCompile /builddir/build/BUILD/python-gast-0.5.4-build/gast-0.5.4/gast/astn.py:20: DeprecationWarning: Assert.__init__ missing 1 required positional argument: 'test'. This will become an error in Python 3.15. new_node = getattr(to, cls)() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_api.py::APITestCase::test_dump - AssertionError: "Expr[59 c... FAILED tests/test_api.py::APITestCase::test_walk - AssertionError: "Expr[41 c... FAILED tests/test_compat.py::CompatTestCase::test_ArgAnnotation - AssertionEr... FAILED tests/test_compat.py::CompatTestCase::test_Call - AssertionError: "Mod... FAILED tests/test_compat.py::CompatTestCase::test_Ellipsis - AssertionError: ... FAILED tests/test_compat.py::CompatTestCase::test_ExtSlice - AssertionError: ... FAILED tests/test_compat.py::CompatTestCase::test_ExtSliceEllipsis - Assertio... FAILED tests/test_compat.py::CompatTestCase::test_ExtSlices - AssertionError:... FAILED tests/test_compat.py::CompatTestCase::test_FormattedValue - AssertionE... FAILED tests/test_compat.py::CompatTestCase::test_Index - AssertionError: "Mo... FAILED tests/test_compat.py::CompatTestCase::test_JoinedStr - AssertionError:... FAILED tests/test_compat.py::CompatTestCase::test_KeywordOnlyArgument - Asser... FAILED tests/test_compat.py::CompatTestCase::test_MatchAs - AssertionError: "... FAILED tests/test_compat.py::CompatTestCase::test_MatchClass - AssertionError... FAILED tests/test_compat.py::CompatTestCase::test_MatchMapping - AssertionErr... FAILED tests/test_compat.py::CompatTestCase::test_MatchOr - AssertionError: "... FAILED tests/test_compat.py::CompatTestCase::test_MatchSequence - AssertionEr... FAILED tests/test_compat.py::CompatTestCase::test_MatchSingleton - AssertionE... FAILED tests/test_compat.py::CompatTestCase::test_MatchStar - AssertionError:... FAILED tests/test_compat.py::CompatTestCase::test_MatchValue - AssertionError... FAILED tests/test_compat.py::CompatTestCase::test_NamedExpr - AssertionError:... FAILED tests/test_compat.py::CompatTestCase::test_PosonlyArgs - AssertionErro... FAILED tests/test_compat.py::CompatTestCase::test_Raise - AssertionError: "Mo... FAILED tests/test_compat.py::CompatTestCase::test_TryExcept - AssertionError:... FAILED tests/test_compat.py::CompatTestCase::test_TryExceptNamed - AssertionE... FAILED tests/test_compat.py::CompatTestCase::test_TryFinally - AssertionError... FAILED tests/test_compat.py::CompatTestCase::test_TypeIgnore - AssertionError... FAILED tests/test_compat.py::CompatTestCase::test_With - AssertionError: "Mod... FAILED tests/test_compat.py::CompatTestCase::test_keyword_argument - Assertio... FAILED tests/test_compat.py::CompatTestCase::test_star_argument - AssertionEr... ================= 30 failed, 17 passed, 7058 warnings in 0.67s ================= error: Bad exit status from /var/tmp/rpm-tmp.xo8YCP (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.xo8YCP (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 158b4cee17b341909a7a518e97e64636 -D /var/lib/mock/f41-build-51574300-6170385/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-gast.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 158b4cee17b341909a7a518e97e64636 -D /var/lib/mock/f41-build-51574300-6170385/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.fajcrx9l:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-gast.spec'