Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-twine.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674325383.826879/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'e213d9591c4b438d8724b867d6040349', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674325383.826879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/python-twine.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 warning: extra tokens at the end of %endif directive in line 45: %endif # with internet warning: extra tokens at the end of %endif directive in line 47: %endif # with tests warning: extra tokens at the end of %endif directive in line 84: %endif # with tests Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/python-twine-4.0.1-3.fc38.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 45: %endif # with internet extra tokens at the end of %endif directive in line 47: %endif # with tests extra tokens at the end of %endif directive in line 84: %endif # with tests Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-twine.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674325383.826879/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '0db40f92c4964ab9af09f1e7baef6666', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674325383.826879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/python-twine.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 warning: extra tokens at the end of %endif directive in line 45: %endif # with internet warning: extra tokens at the end of %endif directive in line 47: %endif # with tests warning: extra tokens at the end of %endif directive in line 84: %endif # with tests Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.m4DL0C + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf twine-4.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/twine-4.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd twine-4.0.1 + /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.a3EBhp + umask 022 + cd /builddir/build/BUILD + cd twine-4.0.1 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib64: + 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 ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/twine-4.0.1/.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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/twine-4.0.1/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/twine-4.0.1/pyproject-wheeldir -r Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 65.5.1) Handling wheel from build-system.requires Requirement not satisfied: wheel Handling setuptools_scm[toml]>=6.0 from build-system.requires Requirement not satisfied: setuptools_scm[toml]>=6.0 Exiting dependency generation pass: build backend + sed -i /--disable-socket/d pytest.ini + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-twine-4.0.1-3.fc38.buildreqs.nosrc.rpm RPM build warnings: extra tokens at the end of %endif directive in line 45: %endif # with internet extra tokens at the end of %endif directive in line 47: %endif # with tests extra tokens at the end of %endif directive in line 84: %endif # with tests 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 --target x86_64 --nodeps /builddir/build/SPECS/python-twine.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674325383.826879/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'f3115a44ba2d4ee293151ed0c090c495', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674325383.826879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/python-twine.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 warning: extra tokens at the end of %endif directive in line 45: %endif # with internet warning: extra tokens at the end of %endif directive in line 47: %endif # with tests warning: extra tokens at the end of %endif directive in line 84: %endif # with tests Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v2x8ut + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf twine-4.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/twine-4.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd twine-4.0.1 + /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.02MjsC + umask 022 + cd /builddir/build/BUILD + cd twine-4.0.1 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib64: + 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 ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/twine-4.0.1/.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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/twine-4.0.1/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/twine-4.0.1/pyproject-wheeldir -r Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 65.5.1) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.38.4) Handling setuptools_scm[toml]>=6.0 from build-system.requires Requirement satisfied: setuptools_scm[toml]>=6.0 (installed: setuptools_scm 7.1.0) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) HOOK STDOUT: running egg_info HOOK STDOUT: writing twine.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to twine.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to twine.egg-info/entry_points.txt HOOK STDOUT: writing requirements to twine.egg-info/requires.txt HOOK STDOUT: writing top-level names to twine.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'twine.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'twine.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) HOOK STDOUT: running dist_info HOOK STDOUT: writing twine.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to twine.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to twine.egg-info/entry_points.txt HOOK STDOUT: writing requirements to twine.egg-info/requires.txt HOOK STDOUT: writing top-level names to twine.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'twine.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'twine.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/twine-4.0.1/twine-4.0.1.dist-info' Handling pkginfo (>=1.8.1) from hook generated metadata: Requires-Dist Requirement not satisfied: pkginfo (>=1.8.1) Handling readme-renderer (>=35.0) from hook generated metadata: Requires-Dist Requirement not satisfied: readme-renderer (>=35.0) Handling requests (>=2.20) from hook generated metadata: Requires-Dist Requirement satisfied: requests (>=2.20) (installed: requests 2.28.1) Handling requests-toolbelt (!=0.9.0,>=0.8.0) from hook generated metadata: Requires-Dist Requirement not satisfied: requests-toolbelt (!=0.9.0,>=0.8.0) Handling urllib3 (>=1.26.0) from hook generated metadata: Requires-Dist Requirement satisfied: urllib3 (>=1.26.0) (installed: urllib3 1.26.12) Handling importlib-metadata (>=3.6) from hook generated metadata: Requires-Dist Requirement not satisfied: importlib-metadata (>=3.6) Handling keyring (>=15.1) from hook generated metadata: Requires-Dist Requirement not satisfied: keyring (>=15.1) Handling rfc3986 (>=1.4.0) from hook generated metadata: Requires-Dist Requirement not satisfied: rfc3986 (>=1.4.0) Handling rich (>=12.0.0) from hook generated metadata: Requires-Dist Requirement not satisfied: rich (>=12.0.0) + sed -i /--disable-socket/d pytest.ini + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-twine-4.0.1-3.fc38.buildreqs.nosrc.rpm RPM build warnings: extra tokens at the end of %endif directive in line 45: %endif # with internet extra tokens at the end of %endif directive in line 47: %endif # with tests extra tokens at the end of %endif directive in line 84: %endif # with tests 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 --target x86_64 --nodeps /builddir/build/SPECS/python-twine.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674325383.826879/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '4f4b09ca2dd94cd2902b82b398544f20', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674325383.826879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/python-twine.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 warning: extra tokens at the end of %endif directive in line 45: %endif # with internet warning: extra tokens at the end of %endif directive in line 47: %endif # with tests warning: extra tokens at the end of %endif directive in line 84: %endif # with tests Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VqJHDX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf twine-4.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/twine-4.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd twine-4.0.1 + /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.oiOwXp + umask 022 + cd /builddir/build/BUILD + cd twine-4.0.1 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib64: + 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 ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/twine-4.0.1/.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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/twine-4.0.1/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/twine-4.0.1/pyproject-wheeldir -r Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 65.5.1) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.38.4) Handling setuptools_scm[toml]>=6.0 from build-system.requires Requirement satisfied: setuptools_scm[toml]>=6.0 (installed: setuptools_scm 7.1.0) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) HOOK STDOUT: running egg_info HOOK STDOUT: writing twine.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to twine.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to twine.egg-info/entry_points.txt HOOK STDOUT: writing requirements to twine.egg-info/requires.txt HOOK STDOUT: writing top-level names to twine.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'twine.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'twine.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) HOOK STDOUT: running dist_info HOOK STDOUT: writing twine.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to twine.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to twine.egg-info/entry_points.txt HOOK STDOUT: writing requirements to twine.egg-info/requires.txt HOOK STDOUT: writing top-level names to twine.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'twine.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'twine.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/twine-4.0.1/twine-4.0.1.dist-info' Handling pkginfo (>=1.8.1) from hook generated metadata: Requires-Dist Requirement satisfied: pkginfo (>=1.8.1) (installed: pkginfo 1.9.2) Handling readme-renderer (>=35.0) from hook generated metadata: Requires-Dist Requirement satisfied: readme-renderer (>=35.0) (installed: readme-renderer 37.2) Handling requests (>=2.20) from hook generated metadata: Requires-Dist Requirement satisfied: requests (>=2.20) (installed: requests 2.28.1) Handling requests-toolbelt (!=0.9.0,>=0.8.0) from hook generated metadata: Requires-Dist Requirement satisfied: requests-toolbelt (!=0.9.0,>=0.8.0) (installed: requests-toolbelt 0.10.1) Handling urllib3 (>=1.26.0) from hook generated metadata: Requires-Dist Requirement satisfied: urllib3 (>=1.26.0) (installed: urllib3 1.26.12) Handling importlib-metadata (>=3.6) from hook generated metadata: Requires-Dist Requirement satisfied: importlib-metadata (>=3.6) (installed: importlib-metadata 6.0.0) Handling keyring (>=15.1) from hook generated metadata: Requires-Dist Requirement satisfied: keyring (>=15.1) (installed: keyring 23.11.0) Handling rfc3986 (>=1.4.0) from hook generated metadata: Requires-Dist Requirement satisfied: rfc3986 (>=1.4.0) (installed: rfc3986 1.5.0) Handling rich (>=12.0.0) from hook generated metadata: Requires-Dist Requirement satisfied: rich (>=12.0.0) (installed: rich 13.0.0) + sed -i /--disable-socket/d pytest.ini + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-twine-4.0.1-3.fc38.buildreqs.nosrc.rpm RPM build warnings: extra tokens at the end of %endif directive in line 45: %endif # with internet extra tokens at the end of %endif directive in line 47: %endif # with tests extra tokens at the end of %endif directive in line 84: %endif # with tests 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 --target x86_64 --nodeps /builddir/build/SPECS/python-twine.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674325383.826879/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'df4a957e0c1f4446acf35689fe174b22', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674325383.826879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tgbg5q8s:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-twine.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 warning: extra tokens at the end of %endif directive in line 45: %endif # with internet warning: extra tokens at the end of %endif directive in line 47: %endif # with tests warning: extra tokens at the end of %endif directive in line 84: %endif # with tests Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.R6O3Xy + umask 022 + cd /builddir/build/BUILD + cd twine-4.0.1 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib64: + 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 ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv twine-4.0.1.dist-info/ removed 'twine-4.0.1.dist-info/LICENSE' removed 'twine-4.0.1.dist-info/METADATA' removed 'twine-4.0.1.dist-info/entry_points.txt' removed 'twine-4.0.1.dist-info/top_level.txt' removed directory 'twine-4.0.1.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/twine-4.0.1/.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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/twine-4.0.1/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/twine-4.0.1/pyproject-wheeldir -r Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 65.5.1) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.38.4) Handling setuptools_scm[toml]>=6.0 from build-system.requires Requirement satisfied: setuptools_scm[toml]>=6.0 (installed: setuptools_scm 7.1.0) (extras are currently not checked) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) HOOK STDOUT: running egg_info HOOK STDOUT: writing twine.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to twine.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to twine.egg-info/entry_points.txt HOOK STDOUT: writing requirements to twine.egg-info/requires.txt HOOK STDOUT: writing top-level names to twine.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'twine.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'twine.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) HOOK STDOUT: running dist_info HOOK STDOUT: writing twine.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to twine.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to twine.egg-info/entry_points.txt HOOK STDOUT: writing requirements to twine.egg-info/requires.txt HOOK STDOUT: writing top-level names to twine.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'twine.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'twine.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/twine-4.0.1/twine-4.0.1.dist-info' Handling pkginfo (>=1.8.1) from hook generated metadata: Requires-Dist Requirement satisfied: pkginfo (>=1.8.1) (installed: pkginfo 1.9.2) Handling readme-renderer (>=35.0) from hook generated metadata: Requires-Dist Requirement satisfied: readme-renderer (>=35.0) (installed: readme-renderer 37.2) Handling requests (>=2.20) from hook generated metadata: Requires-Dist Requirement satisfied: requests (>=2.20) (installed: requests 2.28.1) Handling requests-toolbelt (!=0.9.0,>=0.8.0) from hook generated metadata: Requires-Dist Requirement satisfied: requests-toolbelt (!=0.9.0,>=0.8.0) (installed: requests-toolbelt 0.10.1) Handling urllib3 (>=1.26.0) from hook generated metadata: Requires-Dist Requirement satisfied: urllib3 (>=1.26.0) (installed: urllib3 1.26.12) Handling importlib-metadata (>=3.6) from hook generated metadata: Requires-Dist Requirement satisfied: importlib-metadata (>=3.6) (installed: importlib-metadata 6.0.0) Handling keyring (>=15.1) from hook generated metadata: Requires-Dist Requirement satisfied: keyring (>=15.1) (installed: keyring 23.11.0) Handling rfc3986 (>=1.4.0) from hook generated metadata: Requires-Dist Requirement satisfied: rfc3986 (>=1.4.0) (installed: rfc3986 1.5.0) Handling rich (>=12.0.0) from hook generated metadata: Requires-Dist Requirement satisfied: rich (>=12.0.0) (installed: rich 13.0.0) + sed -i /--disable-socket/d pytest.ini + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w6kzE5 + umask 022 + cd /builddir/build/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd twine-4.0.1 + mkdir -p /builddir/build/BUILD/twine-4.0.1/.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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + TMPDIR=/builddir/build/BUILD/twine-4.0.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/twine-4.0.1/pyproject-wheeldir Processing /builddir/build/BUILD/twine-4.0.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running dist_info creating /builddir/build/BUILD/twine-4.0.1/.pyproject-builddir/pip-modern-metadata-5byzg0zh/twine.egg-info writing /builddir/build/BUILD/twine-4.0.1/.pyproject-builddir/pip-modern-metadata-5byzg0zh/twine.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/twine-4.0.1/.pyproject-builddir/pip-modern-metadata-5byzg0zh/twine.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/twine-4.0.1/.pyproject-builddir/pip-modern-metadata-5byzg0zh/twine.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/twine-4.0.1/.pyproject-builddir/pip-modern-metadata-5byzg0zh/twine.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/twine-4.0.1/.pyproject-builddir/pip-modern-metadata-5byzg0zh/twine.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/twine-4.0.1/.pyproject-builddir/pip-modern-metadata-5byzg0zh/twine.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/twine-4.0.1/.pyproject-builddir/pip-modern-metadata-5byzg0zh/twine.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/twine-4.0.1/.pyproject-builddir/pip-modern-metadata-5byzg0zh/twine.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/twine-4.0.1/.pyproject-builddir/pip-modern-metadata-5byzg0zh/twine-4.0.1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: twine Building wheel for twine (pyproject.toml): started Running command Building wheel for twine (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/twine copying twine/wininst.py -> build/lib/twine copying twine/wheel.py -> build/lib/twine copying twine/utils.py -> build/lib/twine copying twine/settings.py -> build/lib/twine copying twine/repository.py -> build/lib/twine copying twine/package.py -> build/lib/twine copying twine/exceptions.py -> build/lib/twine copying twine/cli.py -> build/lib/twine copying twine/auth.py -> build/lib/twine copying twine/__main__.py -> build/lib/twine copying twine/__init__.py -> build/lib/twine creating build/lib/twine/commands copying twine/commands/upload.py -> build/lib/twine/commands copying twine/commands/register.py -> build/lib/twine/commands copying twine/commands/check.py -> build/lib/twine/commands copying twine/commands/__init__.py -> build/lib/twine/commands running egg_info writing twine.egg-info/PKG-INFO writing dependency_links to twine.egg-info/dependency_links.txt writing entry points to twine.egg-info/entry_points.txt writing requirements to twine.egg-info/requires.txt writing top-level names to twine.egg-info/top_level.txt reading manifest file 'twine.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'twine.egg-info/SOURCES.txt' copying twine/py.typed -> build/lib/twine 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/twine copying build/lib/twine/py.typed -> build/bdist.linux-x86_64/wheel/twine creating build/bdist.linux-x86_64/wheel/twine/commands copying build/lib/twine/commands/__init__.py -> build/bdist.linux-x86_64/wheel/twine/commands copying build/lib/twine/commands/check.py -> build/bdist.linux-x86_64/wheel/twine/commands copying build/lib/twine/commands/register.py -> build/bdist.linux-x86_64/wheel/twine/commands copying build/lib/twine/commands/upload.py -> build/bdist.linux-x86_64/wheel/twine/commands copying build/lib/twine/__init__.py -> build/bdist.linux-x86_64/wheel/twine copying build/lib/twine/__main__.py -> build/bdist.linux-x86_64/wheel/twine copying build/lib/twine/auth.py -> build/bdist.linux-x86_64/wheel/twine copying build/lib/twine/cli.py -> build/bdist.linux-x86_64/wheel/twine copying build/lib/twine/exceptions.py -> build/bdist.linux-x86_64/wheel/twine copying build/lib/twine/package.py -> build/bdist.linux-x86_64/wheel/twine copying build/lib/twine/repository.py -> build/bdist.linux-x86_64/wheel/twine copying build/lib/twine/settings.py -> build/bdist.linux-x86_64/wheel/twine copying build/lib/twine/utils.py -> build/bdist.linux-x86_64/wheel/twine copying build/lib/twine/wheel.py -> build/bdist.linux-x86_64/wheel/twine copying build/lib/twine/wininst.py -> build/bdist.linux-x86_64/wheel/twine running install_egg_info Copying twine.egg-info to build/bdist.linux-x86_64/wheel/twine-4.0.1-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/twine-4.0.1.dist-info/WHEEL creating '/builddir/build/BUILD/twine-4.0.1/.pyproject-builddir/pip-wheel-qy51wqrg/tmp6crpya1w/twine-4.0.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'twine/__init__.py' adding 'twine/__main__.py' adding 'twine/auth.py' adding 'twine/cli.py' adding 'twine/exceptions.py' adding 'twine/package.py' adding 'twine/py.typed' adding 'twine/repository.py' adding 'twine/settings.py' adding 'twine/utils.py' adding 'twine/wheel.py' adding 'twine/wininst.py' adding 'twine/commands/__init__.py' adding 'twine/commands/check.py' adding 'twine/commands/register.py' adding 'twine/commands/upload.py' adding 'twine-4.0.1.dist-info/LICENSE' adding 'twine-4.0.1.dist-info/METADATA' adding 'twine-4.0.1.dist-info/WHEEL' adding 'twine-4.0.1.dist-info/entry_points.txt' adding 'twine-4.0.1.dist-info/top_level.txt' adding 'twine-4.0.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for twine (pyproject.toml): finished with status 'done' Created wheel for twine: filename=twine-4.0.1-py3-none-any.whl size=36447 sha256=bcf25cb844f7cf27025d78c9dc12b5d77a2b2c1e97582cff5dfb8e20a00d227b Stored in directory: /builddir/.cache/pip/wheels/7d/d7/69/4578944391df6f362112008512e9435125781babbf3005a73d Successfully built twine + PYTHONPATH=/builddir/build/BUILD/twine-4.0.1 + sphinx-build-3 -b man docs/ docs/build/man -c docs/ Running Sphinx v5.3.0 making output directory... done loading intersphinx inventory from https://docs.python.org/3/objects.inv... loading intersphinx inventory from https://requests.readthedocs.io/en/latest/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://requests.readthedocs.io/en/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='requests.readthedocs.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) building [mo]: targets for 0 po files that are out of date building [man]: all manpages updating environment: [new config] 17 added, 0 changed, 0 removed reading sources... [ 5%] changelog reading sources... [ 11%] contributing reading sources... [ 17%] index reading sources... [ 23%] internal/twine reading sources... [ 29%] internal/twine.auth reading sources... [ 35%] internal/twine.cli reading sources... [ 41%] internal/twine.commands reading sources... [ 47%] internal/twine.commands.check reading sources... [ 52%] internal/twine.commands.register reading sources... [ 58%] internal/twine.commands.upload reading sources... [ 64%] internal/twine.exceptions reading sources... [ 70%] internal/twine.package reading sources... [ 76%] internal/twine.repository reading sources... [ 82%] internal/twine.settings reading sources... [ 88%] internal/twine.utils reading sources... [ 94%] internal/twine.wheel reading sources... [100%] internal/twine.wininst /builddir/build/BUILD/twine-4.0.1/docs/index.rst:116: ERROR: Command ['twine', 'upload', '-h'] failed: [Errno 2] No such file or directory: 'twine' looking for now-outdated files... /builddir/build/BUILD/twine-4.0.1/docs/index.rst:124: ERROR: Command ['twine', 'check', '-h'] failed: [Errno 2] No such file or directory: 'twine' /builddir/build/BUILD/twine-4.0.1/docs/index.rst:137: ERROR: Command ['twine', 'register', '-h'] failed: [Errno 2] No such file or directory: 'twine' none found pickling environment... done checking consistency... done writing... twine.1 { changelog contributing internal/twine internal/twine.commands internal/twine.commands.check internal/twine.commands.register internal/twine.commands.upload internal/twine.auth internal/twine.cli internal/twine.exceptions internal/twine.package internal/twine.repository internal/twine.settings internal/twine.utils internal/twine.wheel internal/twine.wininst } /builddir/build/BUILD/twine-4.0.1/twine/commands/register.py:docstring of twine.commands.register.register:1: WARNING: py:exc reference target not found: requests.HTTPError /builddir/build/BUILD/twine-4.0.1/twine/commands/upload.py:docstring of twine.commands.upload.skip_upload:1: WARNING: py:class reference target not found: requests.models.Response /builddir/build/BUILD/twine-4.0.1/twine/commands/upload.py:docstring of twine.commands.upload.upload:1: WARNING: py:exc reference target not found: requests.HTTPError /builddir/build/BUILD/twine-4.0.1/twine/repository.py:docstring of twine.repository.Repository._make_adapter_with_retries:1: WARNING: py:class reference target not found: requests.adapters.HTTPAdapter /builddir/build/BUILD/twine-4.0.1/twine/repository.py:docstring of twine.repository.Repository.register:1: WARNING: py:class reference target not found: requests.models.Response /builddir/build/BUILD/twine-4.0.1/twine/repository.py:docstring of twine.repository.Repository._upload:1: WARNING: py:class reference target not found: requests.models.Response /builddir/build/BUILD/twine-4.0.1/twine/repository.py:docstring of twine.repository.Repository.upload:1: WARNING: py:class reference target not found: requests.models.Response /builddir/build/BUILD/twine-4.0.1/twine/settings.py:docstring of twine.settings.Settings._allow_noninteractive:1: WARNING: py:class reference target not found: contextlib.AbstractContextManager /builddir/build/BUILD/twine-4.0.1/twine/settings.py:docstring of twine.settings.Settings.register_argparse_arguments:1: WARNING: py:class reference target not found: argparse.ArgumentParser /builddir/build/BUILD/twine-4.0.1/twine/settings.py:docstring of twine.settings.Settings.from_argparse:1: WARNING: py:class reference target not found: argparse.Namespace /builddir/build/BUILD/twine-4.0.1/twine/utils.py:docstring of twine.utils.check_status_code:1: WARNING: py:class reference target not found: requests.models.Response done build succeeded, 16 warnings. The manual pages are in docs/build/man. + rm -r docs/build/man/.doctrees + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mrvWwr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd twine-4.0.1 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/twine-4.0.1/pyproject-wheeldir/twine-4.0.1-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=twine==4.0.1 + TMPDIR=/builddir/build/BUILD/twine-4.0.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64 --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/twine-4.0.1/pyproject-wheeldir twine==4.0.1 Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/twine-4.0.1/pyproject-wheeldir Processing ./pyproject-wheeldir/twine-4.0.1-py3-none-any.whl Installing collected packages: twine Creating /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/bin/twine to 755 Successfully installed twine-4.0.1 + '[' -d /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/bin/twine /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/bin/twine: updating + rm -rfv /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-twine-4.0.1-3.fc38.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/twine-4.0.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib/python3.11/site-packages/twine-4.0.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64 --record /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib/python3.11/site-packages/twine-4.0.1.dist-info/RECORD --output /builddir/build/BUILD/python-twine-4.0.1-3.fc38.x86_64-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib/python3.11/site-packages/twine-4.0.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib/python3.11/site-packages/twine-4.0.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib/python3.11/site-packages/twine-4.0.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib/python3.11/site-packages/twine-4.0.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-twine-4.0.1-3.fc38.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-twine-4.0.1-3.fc38.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-twine-4.0.1-3.fc38.x86_64-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64 --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/python-twine-4.0.1-3.fc38.x86_64-pyproject-record --prefix /usr twine + install -p -D -T -m 0644 docs/build/man/twine.1 /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/share/man/man1/twine.1 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 4.0.1-3.fc38 --unique-debug-suffix -4.0.1-3.fc38.x86_64 --unique-debug-src-base python-twine-4.0.1-3.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/twine-4.0.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 -j2 Bytecompiling .py files below /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rH6wCQ + umask 022 + cd /builddir/build/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd twine-4.0.1 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + PATH=/builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/twine-4.0.1/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + /usr/bin/pytest -v --deselect tests/test_integration.py --deselect tests/test_upload.py::test_check_status_code_for_wrong_repo_url ============================= test session starts ============================== platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/twine-4.0.1, configfile: pytest.ini plugins: cov-4.0.0 collecting ... collected 190 items / 13 deselected / 177 selected tests/test_auth.py::test_get_username_keyring_defers_to_prompt PASSED [ 0%] tests/test_auth.py::test_get_password_keyring_defers_to_prompt PASSED [ 1%] tests/test_auth.py::test_no_password_defers_to_prompt PASSED [ 1%] tests/test_auth.py::test_empty_password_bypasses_prompt PASSED [ 2%] tests/test_auth.py::test_no_username_non_interactive_aborts PASSED [ 2%] tests/test_auth.py::test_no_password_non_interactive_aborts PASSED [ 3%] tests/test_auth.py::test_get_username_and_password_keyring_overrides_prompt PASSED [ 3%] tests/test_auth.py::test_get_username_keyring_missing_get_credentials_prompts PASSED [ 4%] tests/test_auth.py::test_get_username_keyring_missing_non_interactive_aborts PASSED [ 5%] tests/test_auth.py::test_get_password_keyring_missing_non_interactive_aborts PASSED [ 5%] tests/test_auth.py::test_get_username_keyring_runtime_error_logged PASSED [ 6%] tests/test_auth.py::test_get_password_keyring_runtime_error_logged PASSED [ 6%] tests/test_auth.py::test_get_username_keyring_key_error_logged PASSED [ 7%] tests/test_auth.py::test_get_password_keyring_key_error_logged PASSED [ 7%] tests/test_auth.py::test_logs_cli_values PASSED [ 8%] tests/test_auth.py::test_logs_config_values PASSED [ 9%] tests/test_auth.py::test_warns_for_empty_password[-Your password is empty] PASSED [ 9%] tests/test_auth.py::test_warns_for_empty_password[\x16-Your password contains control characters] PASSED [ 10%] tests/test_auth.py::test_warns_for_empty_password[entered\x16pw-Your password contains control characters] PASSED [ 10%] tests/test_check.py::TestWarningStream::test_write_match PASSED [ 11%] tests/test_check.py::TestWarningStream::test_write_nomatch PASSED [ 11%] tests/test_check.py::TestWarningStream::test_str_representation PASSED [ 12%] tests/test_check.py::test_fails_no_distributions PASSED [ 12%] tests/test_check.py::test_warns_missing_description[False] PASSED [ 13%] tests/test_check.py::test_warns_missing_description[True] PASSED [ 14%] tests/test_check.py::test_warns_missing_file PASSED [ 14%] tests/test_check.py::test_fails_rst_syntax_error PASSED [ 15%] tests/test_check.py::test_fails_rst_no_content PASSED [ 15%] tests/test_check.py::test_passes_rst_description PASSED [ 16%] tests/test_check.py::test_passes_markdown_description[text/markdown] PASSED [ 16%] tests/test_check.py::test_passes_markdown_description[text/plain] PASSED [ 17%] tests/test_check.py::test_main PASSED [ 18%] tests/test_cli.py::test_dispatch_to_subcommand PASSED [ 18%] tests/test_cli.py::test_catches_enoent PASSED [ 19%] tests/test_commands.py::test_ensure_wheel_files_uploaded_first PASSED [ 19%] tests/test_commands.py::test_ensure_if_no_wheel_files PASSED [ 20%] tests/test_commands.py::test_find_dists_expands_globs PASSED [ 20%] tests/test_commands.py::test_find_dists_errors_on_invalid_globs PASSED [ 21%] tests/test_commands.py::test_find_dists_handles_real_files PASSED [ 22%] tests/test_main.py::test_exception_handling PASSED [ 22%] tests/test_main.py::test_http_exception_handling PASSED [ 23%] tests/test_main.py::test_no_color_exception PASSED [ 23%] tests/test_package.py::test_sign_file PASSED [ 24%] tests/test_package.py::test_sign_file_with_identity PASSED [ 24%] tests/test_package.py::test_run_gpg_raises_exception_if_no_gpgs PASSED [ 25%] tests/test_package.py::test_run_gpg_raises_exception_if_not_using_gpg PASSED [ 25%] tests/test_package.py::test_run_gpg_falls_back_to_gpg2 PASSED [ 26%] tests/test_package.py::test_package_signed_name_is_correct PASSED [ 27%] tests/test_package.py::test_package_safe_name_is_correct[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ] PASSED [ 27%] tests/test_package.py::test_package_safe_name_is_correct[0123456789-0123456789] PASSED [ 28%] tests/test_package.py::test_package_safe_name_is_correct[!"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~--.-] PASSED [ 28%] tests/test_package.py::test_package_safe_name_is_correct[mosaik.SimConfig-mosaik.SimConfig] PASSED [ 29%] tests/test_package.py::test_package_safe_name_is_correct[mosaik$$$$.SimConfig-mosaik-.SimConfig] PASSED [ 29%] tests/test_package.py::test_metadata_dictionary_keys PASSED [ 30%] tests/test_package.py::test_metadata_dictionary_values[None] PASSED [ 31%] tests/test_package.py::test_metadata_dictionary_values[gpg_signature1] PASSED [ 31%] tests/test_package.py::test_hash_manager PASSED [ 32%] tests/test_package.py::test_fips_hash_manager_md5 PASSED [ 32%] tests/test_package.py::test_fips_hash_manager_blake2[TypeError] PASSED [ 33%] tests/test_package.py::test_fips_hash_manager_blake2[ValueError] PASSED [ 33%] tests/test_package.py::test_fips_metadata_excludes_md5_and_blake2 PASSED [ 34%] tests/test_package.py::test_pkginfo_returns_no_metadata[unsupported Metadata-Version] PASSED [ 35%] tests/test_package.py::test_pkginfo_returns_no_metadata[missing Name and Version] PASSED [ 35%] tests/test_package.py::test_pkginfo_returns_no_metadata[missing Name] PASSED [ 36%] tests/test_package.py::test_pkginfo_returns_no_metadata[missing Version] PASSED [ 36%] tests/test_package.py::test_malformed_from_file PASSED [ 37%] tests/test_package.py::test_package_from_egg PASSED [ 37%] tests/test_register.py::test_successful_register PASSED [ 38%] tests/test_register.py::test_exception_for_redirect PASSED [ 38%] tests/test_register.py::test_non_existent_package PASSED [ 39%] tests/test_register.py::test_values_from_env PASSED [ 40%] tests/test_repository.py::test_gpg_signature_structure_is_preserved PASSED [ 40%] tests/test_repository.py::test_content_structure_is_preserved PASSED [ 41%] tests/test_repository.py::test_iterables_are_flattened PASSED [ 41%] tests/test_repository.py::test_set_client_certificate PASSED [ 42%] tests/test_repository.py::test_set_certificate_authority PASSED [ 42%] tests/test_repository.py::test_make_user_agent_string PASSED [ 43%] tests/test_repository.py::test_package_is_uploaded_404s PASSED [ 44%] tests/test_repository.py::test_package_is_uploaded_200s_with_no_releases PASSED [ 44%] tests/test_repository.py::test_package_is_uploaded_with_releases_using_cache PASSED [ 45%] tests/test_repository.py::test_package_is_uploaded_with_releases_not_using_cache PASSED [ 45%] tests/test_repository.py::test_package_is_uploaded_different_filenames PASSED [ 46%] tests/test_repository.py::test_package_is_registered PASSED [ 46%] tests/test_repository.py::test_disable_progress_bar_is_forwarded_to_rich[True] PASSED [ 47%] tests/test_repository.py::test_disable_progress_bar_is_forwarded_to_rich[False] PASSED [ 48%] tests/test_repository.py::test_upload_retry PASSED [ 48%] tests/test_repository.py::test_release_urls[package_meta0-https://upload.pypi.org/legacy/-release_urls0] PASSED [ 49%] tests/test_repository.py::test_release_urls[package_meta1-https://test.pypi.org/legacy/-release_urls1] PASSED [ 49%] tests/test_repository.py::test_release_urls[package_meta2-https://upload.pypi.org/legacy/-release_urls2] PASSED [ 50%] tests/test_repository.py::test_release_urls[package_meta3-https://upload.pypi.org/legacy/-release_urls3] PASSED [ 50%] tests/test_repository.py::test_release_urls[package_meta4-http://devpi.example.com-release_urls4] PASSED [ 51%] tests/test_repository.py::test_release_urls[package_meta5-https://upload.pypi.org/legacy/-release_urls5] PASSED [ 51%] tests/test_repository.py::test_package_is_uploaded_incorrect_repo_url PASSED [ 52%] tests/test_repository.py::test_logs_username_and_password[None-None-messages0] PASSED [ 53%] tests/test_repository.py::test_logs_username_and_password[--messages1] PASSED [ 53%] tests/test_repository.py::test_logs_username_and_password[username-password-messages2] PASSED [ 54%] tests/test_settings.py::test_settings_takes_no_positional_arguments PASSED [ 54%] tests/test_settings.py::test_settings_transforms_repository_config PASSED [ 55%] tests/test_settings.py::test_setup_logging[True-20] PASSED [ 55%] tests/test_settings.py::test_setup_logging[False-30] PASSED [ 56%] tests/test_settings.py::test_print_config_path_if_verbose[True] PASSED [ 57%] tests/test_settings.py::test_print_config_path_if_verbose[False] PASSED [ 57%] tests/test_settings.py::test_identity_requires_sign PASSED [ 58%] tests/test_settings.py::test_password_is_required_if_no_client_cert[None] PASSED [ 58%] tests/test_settings.py::test_password_is_required_if_no_client_cert[] PASSED [ 59%] tests/test_settings.py::test_client_cert_and_password_both_set_if_given PASSED [ 59%] tests/test_settings.py::test_password_required_if_no_client_cert_and_non_interactive PASSED [ 60%] tests/test_settings.py::test_no_password_prompt_if_client_cert_and_non_interactive PASSED [ 61%] tests/test_settings.py::TestArgumentParsing::test_non_interactive_flag PASSED [ 61%] tests/test_settings.py::TestArgumentParsing::test_non_interactive_environment PASSED [ 62%] tests/test_upload.py::test_make_package_pre_signed_dist PASSED [ 62%] tests/test_upload.py::test_make_package_unsigned_dist PASSED [ 63%] tests/test_upload.py::test_successs_prints_release_urls PASSED [ 63%] tests/test_upload.py::test_print_packages_if_verbose PASSED [ 64%] tests/test_upload.py::test_print_response_if_verbose PASSED [ 64%] tests/test_upload.py::test_success_with_pre_signed_distribution PASSED [ 65%] tests/test_upload.py::test_success_when_gpg_is_run PASSED [ 66%] tests/test_upload.py::test_exception_for_http_status[False] PASSED [ 66%] tests/test_upload.py::test_exception_for_http_status[True] PASSED [ 67%] tests/test_upload.py::test_get_config_old_format PASSED [ 67%] tests/test_upload.py::test_deprecated_repo PASSED [ 68%] tests/test_upload.py::test_exception_for_redirect[https://test.pypi.org/legacy-https://test.pypi.org/legacy/-https://test.pypi.org/legacy.+https://test.pypi.org/legacy/.+\\nYour repository URL is missing a trailing slash] PASSED [ 68%] tests/test_upload.py::test_exception_for_redirect[https://test.pypi.org/legacy/-https://malicious.website.org/danger/-https://test.pypi.org/legacy/.+https://malicious.website.org/danger/.+\\nIf you trust these URLs] PASSED [ 69%] tests/test_upload.py::test_prints_skip_message_for_uploaded_package PASSED [ 70%] tests/test_upload.py::test_prints_skip_message_for_response PASSED [ 70%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[pypi] PASSED [ 71%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[nexus] PASSED [ 71%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[nexus_new] PASSED [ 72%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[pypiserver] PASSED [ 72%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[artifactory_old] PASSED [ 73%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[artifactory_new] PASSED [ 74%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[gitlab_enterprise] PASSED [ 74%] tests/test_upload.py::test_skip_upload_doesnt_match[wrong_reason] PASSED [ 75%] tests/test_upload.py::test_skip_upload_doesnt_match[wrong_code] PASSED [ 75%] tests/test_upload.py::test_skip_upload_respects_skip_existing PASSED [ 76%] tests/test_upload.py::test_values_from_env PASSED [ 76%] tests/test_utils.py::test_get_config PASSED [ 77%] tests/test_utils.py::test_get_config_no_distutils PASSED [ 77%] tests/test_utils.py::test_get_config_no_section PASSED [ 78%] tests/test_utils.py::test_get_config_override_pypi_url PASSED [ 79%] tests/test_utils.py::test_get_config_missing PASSED [ 79%] tests/test_utils.py::test_empty_userpass PASSED [ 80%] tests/test_utils.py::test_get_repository_config_missing PASSED [ 80%] tests/test_utils.py::test_get_repository_config_with_invalid_url[ftp://test.pypi.org-scheme was required to be one of \\['http', 'https'\\]] PASSED [ 81%] tests/test_utils.py::test_get_repository_config_with_invalid_url[https:/-host was required but missing.] PASSED [ 81%] tests/test_utils.py::test_get_repository_config_with_invalid_url[//test.pypi.org-scheme was required but missing.] PASSED [ 82%] tests/test_utils.py::test_get_repository_config_with_invalid_url[foo.bar-host, scheme were required but missing.] PASSED [ 83%] tests/test_utils.py::test_get_repository_config_missing_repository PASSED [ 83%] tests/test_utils.py::test_get_repository_config_missing_file[pypi] PASSED [ 84%] tests/test_utils.py::test_get_repository_config_missing_file[missing-repository] PASSED [ 84%] tests/test_utils.py::test_get_config_deprecated_pypirc PASSED [ 85%] tests/test_utils.py::test_get_userpass_value[cli-config0-key--cli] PASSED [ 85%] tests/test_utils.py::test_get_userpass_value[None-config1-key--value] PASSED [ 86%] tests/test_utils.py::test_get_userpass_value[None-config2-key--fallback] PASSED [ 87%] tests/test_utils.py::test_default_to_environment_action[MY_PASSWORD-None-environ0-None] PASSED [ 87%] tests/test_utils.py::test_default_to_environment_action[MY_PASSWORD-None-environ1-foo] PASSED [ 88%] tests/test_utils.py::test_default_to_environment_action[URL-https://example.org-environ2-https://example.org] PASSED [ 88%] tests/test_utils.py::test_default_to_environment_action[URL-https://example.org-environ3-https://pypi.org] PASSED [ 89%] tests/test_utils.py::test_check_status_code_for_deprecated_pypi_url[https://pypi.python.org] PASSED [ 89%] tests/test_utils.py::test_check_status_code_for_deprecated_pypi_url[https://testpypi.python.org] PASSED [ 90%] tests/test_utils.py::test_check_status_code_for_missing_status_code[True-https://pypi.python.org] PASSED [ 90%] tests/test_utils.py::test_check_status_code_for_missing_status_code[True-https://testpypi.python.org] PASSED [ 91%] tests/test_utils.py::test_check_status_code_for_missing_status_code[False-https://pypi.python.org] PASSED [ 92%] tests/test_utils.py::test_check_status_code_for_missing_status_code[False-https://testpypi.python.org] PASSED [ 92%] tests/test_utils.py::test_get_file_size[3704-3.6 KB] PASSED [ 93%] tests/test_utils.py::test_get_file_size[1153433-1.1 MB] PASSED [ 93%] tests/test_utils.py::test_get_file_size[21412841-20.4 MB] PASSED [ 94%] tests/test_wheel.py::test_version_parsing[fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 94%] tests/test_wheel.py::test_version_parsing[alt-fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 95%] tests/test_wheel.py::test_version_parsing_missing_pyver[fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 96%] tests/test_wheel.py::test_version_parsing_missing_pyver[alt-fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 96%] tests/test_wheel.py::test_find_metadata_files PASSED [ 97%] tests/test_wheel.py::test_read_valid[fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 97%] tests/test_wheel.py::test_read_valid[alt-fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 98%] tests/test_wheel.py::test_read_non_existent_wheel_file_name PASSED [ 98%] tests/test_wheel.py::test_read_invalid_wheel_extension PASSED [ 99%] tests/test_wheel.py::test_read_wheel_empty_metadata PASSED [100%] =============================== warnings summary =============================== twine/__init__.py:43 /builddir/build/BUILD/twine-4.0.1/twine/__init__.py:43: DeprecationWarning: Implicit None on return values is deprecated and will raise KeyErrors. __license__ = metadata["license"] twine/commands/check.py:16 /builddir/build/BUILD/twine-4.0.1/twine/commands/check.py:16: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 import cgi tests/test_integration.py:20 /builddir/build/BUILD/twine-4.0.1/tests/test_integration.py:20: PytestUnknownMarkWarning: Unknown pytest.mark.enable_socket - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html pytest.mark.enable_socket, tests/test_integration.py:21 /builddir/build/BUILD/twine-4.0.1/tests/test_integration.py:21: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html pytest.mark.flaky(reruns=3, reruns_delay=1), tests/test_check.py::TestWarningStream::test_write_match /usr/lib/python3.11/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_check.py::TestWarningStream::test_write_match is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_check.py::TestWarningStream::test_write_nomatch /usr/lib/python3.11/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_check.py::TestWarningStream::test_write_nomatch is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_check.py::TestWarningStream::test_str_representation /usr/lib/python3.11/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_check.py::TestWarningStream::test_str_representation is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================ 177 passed, 13 deselected, 7 warnings in 5.65s ================ + RPM_EC=0 ++ jobs -p + exit 0 Processing files: twine-4.0.1-3.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pmH0s0 + umask 022 + cd /builddir/build/BUILD + cd twine-4.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/share/doc/twine + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/share/doc/twine + cp -pr README.rst /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/share/doc/twine + cp -pr AUTHORS /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/share/doc/twine + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oKmg7p + umask 022 + cd /builddir/build/BUILD + cd twine-4.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/share/licenses/twine + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/share/licenses/twine + cp -pr LICENSE /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64/usr/share/licenses/twine + RPM_EC=0 ++ jobs -p + exit 0 Provides: python3.11dist(twine) = 4.0.1 python3dist(twine) = 4.0.1 twine = 4.0.1-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ((python3.11dist(requests-toolbelt) < 0.9 or python3.11dist(requests-toolbelt) > 0.9) with python3.11dist(requests-toolbelt) >= 0.8) /usr/bin/python3 python(abi) = 3.11 python3.11dist(importlib-metadata) >= 3.6 python3.11dist(keyring) >= 15.1 python3.11dist(pkginfo) >= 1.8.1 python3.11dist(readme-renderer) >= 35 python3.11dist(requests) >= 2.20 python3.11dist(rfc3986) >= 1.4 python3.11dist(rich) >= 12 python3.11dist(urllib3) >= 1.26 Obsoletes: python2-twine < 1.12.2-3 python3-twine < 1.12.2-3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64 Wrote: /builddir/build/SRPMS/python-twine-4.0.1-3.fc38.src.rpm Wrote: /builddir/build/RPMS/twine-4.0.1-3.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0GaeCd + umask 022 + cd /builddir/build/BUILD + cd twine-4.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-twine-4.0.1-3.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.cs3ztJ + umask 022 + cd /builddir/build/BUILD + rm -rf twine-4.0.1 twine-4.0.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: extra tokens at the end of %endif directive in line 45: %endif # with internet extra tokens at the end of %endif directive in line 47: %endif # with tests extra tokens at the end of %endif directive in line 84: %endif # with tests Child return code was: 0