Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-prawcore.spec'], chrootPath='/var/lib/mock/f40-build-2028451-47379/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-prawcore.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/python-prawcore-2.3.0-7.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-prawcore.spec'], chrootPath='/var/lib/mock/f40-build-2028451-47379/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-prawcore.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QFXjic + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prawcore-2.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/prawcore-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd prawcore-2.3.0 + rm -rf /builddir/build/BUILD/prawcore-2.3.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/prawcore-2.3.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oMCuG2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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 prawcore-2.3.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/prawcore copying prawcore/exceptions.py -> build/lib/prawcore copying prawcore/util.py -> build/lib/prawcore copying prawcore/__init__.py -> build/lib/prawcore copying prawcore/auth.py -> build/lib/prawcore copying prawcore/const.py -> build/lib/prawcore copying prawcore/requestor.py -> build/lib/prawcore copying prawcore/rate_limit.py -> build/lib/prawcore copying prawcore/sessions.py -> build/lib/prawcore + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cX2GSm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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 prawcore-2.3.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr creating /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib creating /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore copying build/lib/prawcore/exceptions.py -> /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore copying build/lib/prawcore/util.py -> /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore copying build/lib/prawcore/__init__.py -> /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore copying build/lib/prawcore/auth.py -> /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore copying build/lib/prawcore/const.py -> /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore copying build/lib/prawcore/requestor.py -> /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore copying build/lib/prawcore/rate_limit.py -> /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore copying build/lib/prawcore/sessions.py -> /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore byte-compiling /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore/exceptions.py to exceptions.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore/util.py to util.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore/auth.py to auth.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore/const.py to const.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore/requestor.py to requestor.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore/rate_limit.py to rate_limit.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore/sessions.py to sessions.cpython-312.pyc writing byte-compilation script '/tmp/tmpl6fe28vn.py' /usr/bin/python3 /tmp/tmpl6fe28vn.py removing /tmp/tmpl6fe28vn.py running install_egg_info running egg_info writing prawcore.egg-info/PKG-INFO writing dependency_links to prawcore.egg-info/dependency_links.txt writing requirements to prawcore.egg-info/requires.txt writing top-level names to prawcore.egg-info/top_level.txt reading manifest file 'prawcore.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.md' adding license file 'LICENSE.txt' adding license file 'AUTHORS.rst' writing manifest file 'prawcore.egg-info/SOURCES.txt' Copying prawcore.egg-info to /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages/prawcore-2.3.0-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.3.0-7.fc40 --unique-debug-suffix -2.3.0-7.fc40.noarch --unique-debug-src-base python-prawcore-2.3.0-7.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/prawcore-2.3.0 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /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 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TDjC4U + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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 prawcore-2.3.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -v tests /usr/lib/python3.12/site-packages/betamax/decorator.py:11: SyntaxWarning: invalid escape sequence '\*' """Provide a Betamax-wrapped Session for convenience. ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.2.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/prawcore-2.3.0 plugins: betamax-0.8.1 collecting ... collected 103 items tests/test_authenticator.py::TrustedAuthenticatorTest::test_authorize_url PASSED [ 0%] tests/test_authenticator.py::TrustedAuthenticatorTest::test_authorize_url__fail_with_implicit PASSED [ 1%] tests/test_authenticator.py::TrustedAuthenticatorTest::test_authorize_url__fail_without_redirect_uri PASSED [ 2%] tests/test_authenticator.py::TrustedAuthenticatorTest::test_revoke_token PASSED [ 3%] tests/test_authenticator.py::TrustedAuthenticatorTest::test_revoke_token__with_access_token_hint PASSED [ 4%] tests/test_authenticator.py::TrustedAuthenticatorTest::test_revoke_token__with_refresh_token_hint PASSED [ 5%] tests/test_authenticator.py::UntrustedAuthenticatorTest::test_authorize_url__code PASSED [ 6%] tests/test_authenticator.py::UntrustedAuthenticatorTest::test_authorize_url__fail_with_token_and_permanent PASSED [ 7%] tests/test_authenticator.py::UntrustedAuthenticatorTest::test_authorize_url__fail_without_redirect_uri PASSED [ 8%] tests/test_authenticator.py::UntrustedAuthenticatorTest::test_authorize_url__token PASSED [ 9%] tests/test_authenticator.py::UntrustedAuthenticatorTest::test_revoke_token PASSED [ 10%] tests/test_authorizer.py::AuthorizerTest::test_authorize__fail_without_redirect_uri PASSED [ 11%] tests/test_authorizer.py::AuthorizerTest::test_authorize__with_invalid_code PASSED [ 12%] tests/test_authorizer.py::AuthorizerTest::test_authorize__with_permanent_grant PASSED [ 13%] tests/test_authorizer.py::AuthorizerTest::test_authorize__with_temporary_grant PASSED [ 14%] tests/test_authorizer.py::AuthorizerTest::test_initialize PASSED [ 15%] tests/test_authorizer.py::AuthorizerTest::test_initialize__with_refresh_token PASSED [ 16%] tests/test_authorizer.py::AuthorizerTest::test_initialize__with_untrusted_authenticator PASSED [ 17%] tests/test_authorizer.py::AuthorizerTest::test_refresh PASSED [ 18%] tests/test_authorizer.py::AuthorizerTest::test_refresh__post_refresh_callback PASSED [ 19%] tests/test_authorizer.py::AuthorizerTest::test_refresh__pre_refresh_callback PASSED [ 20%] tests/test_authorizer.py::AuthorizerTest::test_refresh__with_invalid_token PASSED [ 21%] tests/test_authorizer.py::AuthorizerTest::test_refresh__without_refresh_token PASSED [ 22%] tests/test_authorizer.py::AuthorizerTest::test_revoke__access_token_with_refresh_set PASSED [ 23%] tests/test_authorizer.py::AuthorizerTest::test_revoke__access_token_without_refresh_set PASSED [ 24%] tests/test_authorizer.py::AuthorizerTest::test_revoke__refresh_token_with_access_set PASSED [ 25%] tests/test_authorizer.py::AuthorizerTest::test_revoke__refresh_token_without_access_set PASSED [ 26%] tests/test_authorizer.py::AuthorizerTest::test_revoke__without_access_token PASSED [ 27%] tests/test_authorizer.py::AuthorizerTest::test_revoke__without_any_token PASSED [ 28%] tests/test_authorizer.py::DeviceIDAuthorizerTest::test_initialize PASSED [ 29%] tests/test_authorizer.py::DeviceIDAuthorizerTest::test_initialize__with_trusted_authenticator PASSED [ 30%] tests/test_authorizer.py::DeviceIDAuthorizerTest::test_refresh PASSED [ 31%] tests/test_authorizer.py::DeviceIDAuthorizerTest::test_refresh__with_scopes PASSED [ 32%] tests/test_authorizer.py::DeviceIDAuthorizerTest::test_refresh__with_short_device_id PASSED [ 33%] tests/test_authorizer.py::ImplicitAuthorizerTest::test_initialize PASSED [ 33%] tests/test_authorizer.py::ImplicitAuthorizerTest::test_initialize__with_trusted_authenticator PASSED [ 34%] tests/test_authorizer.py::ReadOnlyAuthorizerTest::test_initialize__with_untrusted_authenticator PASSED [ 35%] tests/test_authorizer.py::ReadOnlyAuthorizerTest::test_refresh PASSED [ 36%] tests/test_authorizer.py::ReadOnlyAuthorizerTest::test_refresh__with_scopes PASSED [ 37%] tests/test_authorizer.py::ScriptAuthorizerTest::test_initialize__with_untrusted_authenticator PASSED [ 38%] tests/test_authorizer.py::ScriptAuthorizerTest::test_refresh PASSED [ 39%] tests/test_authorizer.py::ScriptAuthorizerTest::test_refresh__with_invalid_otp PASSED [ 40%] tests/test_authorizer.py::ScriptAuthorizerTest::test_refresh__with_invalid_username_or_password PASSED [ 41%] tests/test_authorizer.py::ScriptAuthorizerTest::test_refresh__with_scopes PASSED [ 42%] tests/test_authorizer.py::ScriptAuthorizerTest::test_refresh__with_valid_otp PASSED [ 43%] tests/test_rate_limit.py::RateLimiterTest::test_delay PASSED [ 44%] tests/test_rate_limit.py::RateLimiterTest::test_delay__no_sleep_when_time_in_past PASSED [ 45%] tests/test_rate_limit.py::RateLimiterTest::test_delay__no_sleep_when_time_is_not_set PASSED [ 46%] tests/test_rate_limit.py::RateLimiterTest::test_delay__no_sleep_when_times_match PASSED [ 47%] tests/test_rate_limit.py::RateLimiterTest::test_update__compute_delay_with_no_previous_info PASSED [ 48%] tests/test_rate_limit.py::RateLimiterTest::test_update__compute_delay_with_single_client PASSED [ 49%] tests/test_rate_limit.py::RateLimiterTest::test_update__compute_delay_with_six_clients PASSED [ 50%] tests/test_rate_limit.py::RateLimiterTest::test_update__delay_full_time_with_negative_remaining PASSED [ 51%] tests/test_rate_limit.py::RateLimiterTest::test_update__delay_full_time_with_zero_remaining PASSED [ 52%] tests/test_rate_limit.py::RateLimiterTest::test_update__no_change_without_headers PASSED [ 53%] tests/test_rate_limit.py::RateLimiterTest::test_update__values_change_without_headers PASSED [ 54%] tests/test_requestor.py::RequestorTest::test_initialize PASSED [ 55%] tests/test_requestor.py::RequestorTest::test_initialize__failures PASSED [ 56%] tests/test_requestor.py::RequestorTest::test_pickle PASSED [ 57%] tests/test_requestor.py::RequestorTest::test_request__session_timeout_default PASSED [ 58%] tests/test_requestor.py::RequestorTest::test_request__use_custom_session PASSED [ 59%] tests/test_requestor.py::RequestorTest::test_request__wrap_request_exceptions PASSED [ 60%] tests/test_sessions.py::SessionTest::test_close PASSED [ 61%] tests/test_sessions.py::SessionTest::test_context_manager PASSED [ 62%] tests/test_sessions.py::SessionTest::test_init__with_device_id_authorizer PASSED [ 63%] tests/test_sessions.py::SessionTest::test_init__with_implicit_authorizer PASSED [ 64%] tests/test_sessions.py::SessionTest::test_init__without_authenticator PASSED [ 65%] tests/test_sessions.py::SessionTest::test_request__accepted PASSED [ 66%] tests/test_sessions.py::SessionTest::test_request__bad_gateway PASSED [ 66%] tests/test_sessions.py::SessionTest::test_request__bad_json PASSED [ 67%] tests/test_sessions.py::SessionTest::test_request__bad_request PASSED [ 68%] tests/test_sessions.py::SessionTest::test_request__chunked_encoding_retry PASSED [ 69%] tests/test_sessions.py::SessionTest::test_request__cloudflare_connection_timed_out PASSED [ 70%] tests/test_sessions.py::SessionTest::test_request__cloudflare_unknown_error PASSED [ 71%] tests/test_sessions.py::SessionTest::test_request__conflict PASSED [ 72%] tests/test_sessions.py::SessionTest::test_request__connection_error_retry PASSED [ 73%] tests/test_sessions.py::SessionTest::test_request__created PASSED [ 74%] tests/test_sessions.py::SessionTest::test_request__forbidden PASSED [ 75%] tests/test_sessions.py::SessionTest::test_request__gateway_timeout PASSED [ 76%] tests/test_sessions.py::SessionTest::test_request__get PASSED [ 77%] tests/test_sessions.py::SessionTest::test_request__internal_server_error PASSED [ 78%] tests/test_sessions.py::SessionTest::test_request__no_content PASSED [ 79%] tests/test_sessions.py::SessionTest::test_request__not_found PASSED [ 80%] tests/test_sessions.py::SessionTest::test_request__okay_with_0_byte_content PASSED [ 81%] tests/test_sessions.py::SessionTest::test_request__patch PASSED [ 82%] tests/test_sessions.py::SessionTest::test_request__post PASSED [ 83%] tests/test_sessions.py::SessionTest::test_request__post__with_files PASSED [ 84%] tests/test_sessions.py::SessionTest::test_request__raw_json PASSED [ 85%] tests/test_sessions.py::SessionTest::test_request__read_timeout_retry PASSED [ 86%] tests/test_sessions.py::SessionTest::test_request__redirect PASSED [ 87%] tests/test_sessions.py::SessionTest::test_request__redirect_301 PASSED [ 88%] tests/test_sessions.py::SessionTest::test_request__service_unavailable PASSED [ 89%] tests/test_sessions.py::SessionTest::test_request__too__many_requests__with_retry_headers PASSED [ 90%] tests/test_sessions.py::SessionTest::test_request__too__many_requests__without_retry_headers PASSED [ 91%] tests/test_sessions.py::SessionTest::test_request__too_large PASSED [ 92%] tests/test_sessions.py::SessionTest::test_request__unavailable_for_legal_reasons PASSED [ 93%] tests/test_sessions.py::SessionTest::test_request__unsupported_media_type PASSED [ 94%] tests/test_sessions.py::SessionTest::test_request__uri_too_long PASSED [ 95%] tests/test_sessions.py::SessionTest::test_request__with_insufficient_scope PASSED [ 96%] tests/test_sessions.py::SessionTest::test_request__with_invalid_access_token PASSED [ 97%] tests/test_sessions.py::SessionTest::test_request__with_invalid_access_token__retry PASSED [ 98%] tests/test_sessions.py::SessionTest::test_request__with_invalid_authorizer PASSED [ 99%] tests/test_sessions.py::SessionFunctionTest::test_session PASSED [100%] =============================== warnings summary =============================== tests/test_authenticator.py: 4 warnings tests/test_authorizer.py: 21 warnings tests/test_sessions.py: 31 warnings /usr/lib/python3.12/site-packages/betamax/adapter.py:105: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.utcnow() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================= 103 passed, 56 warnings in 8.01s ======================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-prawcore-2.3.0-7.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZgSLeX + umask 022 + cd /builddir/build/BUILD + cd prawcore-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/share/doc/python3-prawcore + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/share/doc/python3-prawcore + cp -pr /builddir/build/BUILD/prawcore-2.3.0/AUTHORS.rst /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/share/doc/python3-prawcore + cp -pr /builddir/build/BUILD/prawcore-2.3.0/CHANGES.rst /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/share/doc/python3-prawcore + cp -pr /builddir/build/BUILD/prawcore-2.3.0/README.rst /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/share/doc/python3-prawcore + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Nj4CWA + umask 022 + cd /builddir/build/BUILD + cd prawcore-2.3.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/share/licenses/python3-prawcore + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/share/licenses/python3-prawcore + cp -pr /builddir/build/BUILD/prawcore-2.3.0/LICENSE.txt /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch/usr/share/licenses/python3-prawcore + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-nng = 2.3.0-7.fc40 python-prawcore = 2.3.0-7.fc40 python3-prawcore = 2.3.0-7.fc40 python3.12-nng = 2.3.0-7.fc40 python3.12-prawcore = 2.3.0-7.fc40 python3.12dist(prawcore) = 2.3 python3dist(prawcore) = 2.3 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.12dist(requests) < 3~~ with python3.12dist(requests) >= 2.6) python(abi) = 3.12 Obsoletes: python-nng < 2.3.0-7.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-prawcore-2.3.0-7.fc40.noarch Wrote: /builddir/build/RPMS/python3-prawcore-2.3.0-7.fc40.noarch.rpm Child return code was: 0