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-priority.spec'], chrootPath='/var/lib/mock/f40-build-2378320-60443/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff96d3bfd0>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-priority.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1707264000
Wrote: /builddir/build/SRPMS/python-priority-2.0.0-1.fc40.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-priority.spec'], chrootPath='/var/lib/mock/f40-build-2378320-60443/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff96d3bfd0>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-priority.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: The %{pyproject_build_lib} macro is deprecated.
It only works with setuptools and is not build-backend-agnostic.
The macro is not scheduled for removal, but there is a possibility of incompatibilities with future versions of setuptools.
As a replacement for the macro for the setuptools backend on Fedora 37+, you can use $PWD/build/lib for pure Python packages,
or $PWD/build/lib.%{python3_platform}-cpython-%{python3_version_nodots} for packages with extension modules.
Other build backends and older distributions may need different paths.
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/ for details.
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1707264000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2Y2kb4
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf priority-2.0.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/priority-2.0.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd priority-2.0.0
+ rm -rf /builddir/build/BUILD/priority-2.0.0-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/priority-2.0.0-SPECPARTS
+ /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.HOKXsv
+ umask 022
+ cd /builddir/build/BUILD
+ cd priority-2.0.0
+ CFLAGS='-O2  -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  -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  -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  -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
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(pip) >= 19'
+ echo 'python3dist(packaging)'
+ '[' -f pyproject.toml ']'
+ '[' -f setup.py ']'
+ echo 'python3dist(setuptools) >= 40.8'
+ echo 'python3dist(wheel)'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ mkdir -p /builddir/build/BUILD/priority-2.0.0/.pyproject-builddir
+ echo -n
+ CFLAGS='-O2  -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  '
+ TMPDIR=/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir
+ RPM_TOXENV=py312
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/priority-2.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-buildrequires
Handling setuptools >= 40.8 from default build backend
Requirement satisfied: setuptools >= 40.8
   (installed: setuptools 68.2.2)
Handling wheel from default build backend
Requirement not satisfied: wheel
Exiting dependency generation pass: build backend
+ cat /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-buildrequires
+ rm -rfv '*.dist-info/'
+ RPM_EC=0
++ jobs -p
+ exit 0
Wrote: /builddir/build/SRPMS/python-priority-2.0.0-1.fc40.buildreqs.nosrc.rpm
RPM build warnings:
    The %{pyproject_build_lib} macro is deprecated.
It only works with setuptools and is not build-backend-agnostic.
The macro is not scheduled for removal, but there is a possibility of incompatibilities with future versions of setuptools.
As a replacement for the macro for the setuptools backend on Fedora 37+, you can use $PWD/build/lib for pure Python packages,
or $PWD/build/lib.%{python3_platform}-cpython-%{python3_version_nodots} for packages with extension modules.
Other build backends and older distributions may need different paths.
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/ for details.
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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-priority.spec'], chrootPath='/var/lib/mock/f40-build-2378320-60443/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff96d3bfd0>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-priority.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: The %{pyproject_build_lib} macro is deprecated.
It only works with setuptools and is not build-backend-agnostic.
The macro is not scheduled for removal, but there is a possibility of incompatibilities with future versions of setuptools.
As a replacement for the macro for the setuptools backend on Fedora 37+, you can use $PWD/build/lib for pure Python packages,
or $PWD/build/lib.%{python3_platform}-cpython-%{python3_version_nodots} for packages with extension modules.
Other build backends and older distributions may need different paths.
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/ for details.
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1707264000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.50al8R
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf priority-2.0.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/priority-2.0.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd priority-2.0.0
+ rm -rf /builddir/build/BUILD/priority-2.0.0-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/priority-2.0.0-SPECPARTS
+ /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.MfVauX
+ umask 022
+ cd /builddir/build/BUILD
+ cd priority-2.0.0
+ CFLAGS='-O2  -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  -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  -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  -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
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(pip) >= 19'
+ echo 'python3dist(packaging)'
+ '[' -f pyproject.toml ']'
+ '[' -f setup.py ']'
+ echo 'python3dist(setuptools) >= 40.8'
+ echo 'python3dist(wheel)'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ mkdir -p /builddir/build/BUILD/priority-2.0.0/.pyproject-builddir
+ echo -n
+ CFLAGS='-O2  -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  '
+ TMPDIR=/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir
+ RPM_TOXENV=py312
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/priority-2.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-buildrequires
Handling setuptools >= 40.8 from default build backend
Requirement satisfied: setuptools >= 40.8
   (installed: setuptools 68.2.2)
Handling wheel from default build backend
Requirement satisfied: wheel
   (installed: wheel 0.41.2)
running egg_info
creating src/priority.egg-info
writing src/priority.egg-info/PKG-INFO
writing dependency_links to src/priority.egg-info/dependency_links.txt
writing top-level names to src/priority.egg-info/top_level.txt
writing manifest file 'src/priority.egg-info/SOURCES.txt'
reading manifest file 'src/priority.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no directories found matching 'visualizer'
warning: no directories found matching 'examples'
no previously-included directories found matching 'docs/build'
warning: manifest_maker: MANIFEST.in, line 7: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.swo' found anywhere in distribution
warning: no previously-included files matching '*.swp' found anywhere in distribution
warning: no previously-included files matching '*.map' found anywhere in distribution
warning: no previously-included files matching '*.yml' found anywhere in distribution
warning: no previously-included files matching '*.DS_Store' found anywhere in distribution
adding license file 'LICENSE'
writing manifest file 'src/priority.egg-info/SOURCES.txt'
Handling wheel from get_requires_for_build_wheel
Requirement satisfied: wheel
   (installed: wheel 0.41.2)
running dist_info
creating priority.egg-info
writing priority.egg-info/PKG-INFO
writing dependency_links to priority.egg-info/dependency_links.txt
writing top-level names to priority.egg-info/top_level.txt
writing manifest file 'priority.egg-info/SOURCES.txt'
reading manifest file 'priority.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no directories found matching 'visualizer'
warning: no directories found matching 'examples'
no previously-included directories found matching 'docs/build'
warning: manifest_maker: MANIFEST.in, line 7: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.swo' found anywhere in distribution
warning: no previously-included files matching '*.swp' found anywhere in distribution
warning: no previously-included files matching '*.map' found anywhere in distribution
warning: no previously-included files matching '*.yml' found anywhere in distribution
warning: no previously-included files matching '*.DS_Store' found anywhere in distribution
adding license file 'LICENSE'
writing manifest file 'priority.egg-info/SOURCES.txt'
creating '/builddir/build/BUILD/priority-2.0.0/priority-2.0.0.dist-info'
+ cat /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-buildrequires
+ rm -rfv priority-2.0.0.dist-info/
removed 'priority-2.0.0.dist-info/LICENSE'
removed 'priority-2.0.0.dist-info/top_level.txt'
removed 'priority-2.0.0.dist-info/METADATA'
removed directory 'priority-2.0.0.dist-info/'
+ RPM_EC=0
++ jobs -p
+ exit 0
Wrote: /builddir/build/SRPMS/python-priority-2.0.0-1.fc40.buildreqs.nosrc.rpm
RPM build warnings:
    The %{pyproject_build_lib} macro is deprecated.
It only works with setuptools and is not build-backend-agnostic.
The macro is not scheduled for removal, but there is a possibility of incompatibilities with future versions of setuptools.
As a replacement for the macro for the setuptools backend on Fedora 37+, you can use $PWD/build/lib for pure Python packages,
or $PWD/build/lib.%{python3_platform}-cpython-%{python3_version_nodots} for packages with extension modules.
Other build backends and older distributions may need different paths.
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/ for details.
Child return code was: 11
Dynamic buildrequires detected
Going to install missing buildrequires. See root.log for details.
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-priority.spec'], chrootPath='/var/lib/mock/f40-build-2378320-60443/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff96d3bfd0>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-priority.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: The %{pyproject_build_lib} macro is deprecated.
It only works with setuptools and is not build-backend-agnostic.
The macro is not scheduled for removal, but there is a possibility of incompatibilities with future versions of setuptools.
As a replacement for the macro for the setuptools backend on Fedora 37+, you can use $PWD/build/lib for pure Python packages,
or $PWD/build/lib.%{python3_platform}-cpython-%{python3_version_nodots} for packages with extension modules.
Other build backends and older distributions may need different paths.
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/ for details.
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1707264000
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.aqrEXC
+ umask 022
+ cd /builddir/build/BUILD
+ cd priority-2.0.0
+ CFLAGS='-O2  -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  -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  -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  -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
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(pip) >= 19'
+ echo 'python3dist(packaging)'
+ '[' -f pyproject.toml ']'
+ '[' -f setup.py ']'
+ echo 'python3dist(setuptools) >= 40.8'
+ echo 'python3dist(wheel)'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ mkdir -p /builddir/build/BUILD/priority-2.0.0/.pyproject-builddir
+ echo -n
+ CFLAGS='-O2  -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  '
+ TMPDIR=/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir
+ RPM_TOXENV=py312
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/priority-2.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-buildrequires
Handling setuptools >= 40.8 from default build backend
Requirement satisfied: setuptools >= 40.8
   (installed: setuptools 68.2.2)
Handling wheel from default build backend
Requirement satisfied: wheel
   (installed: wheel 0.41.2)
running egg_info
writing src/priority.egg-info/PKG-INFO
writing dependency_links to src/priority.egg-info/dependency_links.txt
writing top-level names to src/priority.egg-info/top_level.txt
reading manifest file 'src/priority.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no directories found matching 'visualizer'
warning: no directories found matching 'examples'
no previously-included directories found matching 'docs/build'
warning: manifest_maker: MANIFEST.in, line 7: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.swo' found anywhere in distribution
warning: no previously-included files matching '*.swp' found anywhere in distribution
warning: no previously-included files matching '*.map' found anywhere in distribution
warning: no previously-included files matching '*.yml' found anywhere in distribution
warning: no previously-included files matching '*.DS_Store' found anywhere in distribution
adding license file 'LICENSE'
writing manifest file 'src/priority.egg-info/SOURCES.txt'
Handling wheel from get_requires_for_build_wheel
Requirement satisfied: wheel
   (installed: wheel 0.41.2)
running dist_info
writing priority.egg-info/PKG-INFO
writing dependency_links to priority.egg-info/dependency_links.txt
writing top-level names to priority.egg-info/top_level.txt
reading manifest file 'priority.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no directories found matching 'visualizer'
warning: no directories found matching 'examples'
no previously-included directories found matching 'docs/build'
warning: manifest_maker: MANIFEST.in, line 7: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.swo' found anywhere in distribution
warning: no previously-included files matching '*.swp' found anywhere in distribution
warning: no previously-included files matching '*.map' found anywhere in distribution
warning: no previously-included files matching '*.yml' found anywhere in distribution
warning: no previously-included files matching '*.DS_Store' found anywhere in distribution
adding license file 'LICENSE'
writing manifest file 'priority.egg-info/SOURCES.txt'
creating '/builddir/build/BUILD/priority-2.0.0/priority-2.0.0.dist-info'
+ cat /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-buildrequires
+ rm -rfv priority-2.0.0.dist-info/
removed 'priority-2.0.0.dist-info/LICENSE'
removed 'priority-2.0.0.dist-info/top_level.txt'
removed 'priority-2.0.0.dist-info/METADATA'
removed directory 'priority-2.0.0.dist-info/'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nbCi7e
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2  -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  -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  -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  -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 priority-2.0.0
+ mkdir -p /builddir/build/BUILD/priority-2.0.0/.pyproject-builddir
+ CFLAGS='-O2  -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  '
+ TMPDIR=/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/priority-2.0.0/pyproject-wheeldir
Processing /builddir/build/BUILD/priority-2.0.0
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  running dist_info
  creating /builddir/build/BUILD/priority-2.0.0/.pyproject-builddir/pip-modern-metadata-dbmin7gy/priority.egg-info
  writing /builddir/build/BUILD/priority-2.0.0/.pyproject-builddir/pip-modern-metadata-dbmin7gy/priority.egg-info/PKG-INFO
  writing dependency_links to /builddir/build/BUILD/priority-2.0.0/.pyproject-builddir/pip-modern-metadata-dbmin7gy/priority.egg-info/dependency_links.txt
  writing top-level names to /builddir/build/BUILD/priority-2.0.0/.pyproject-builddir/pip-modern-metadata-dbmin7gy/priority.egg-info/top_level.txt
  writing manifest file '/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir/pip-modern-metadata-dbmin7gy/priority.egg-info/SOURCES.txt'
  reading manifest file '/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir/pip-modern-metadata-dbmin7gy/priority.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no directories found matching 'visualizer'
  warning: no directories found matching 'examples'
  no previously-included directories found matching 'docs/build'
  warning: manifest_maker: MANIFEST.in, line 7: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.pyo' found anywhere in distribution
  warning: no previously-included files matching '*.swo' found anywhere in distribution
  warning: no previously-included files matching '*.swp' found anywhere in distribution
  warning: no previously-included files matching '*.map' found anywhere in distribution
  warning: no previously-included files matching '*.yml' found anywhere in distribution
  warning: no previously-included files matching '*.DS_Store' found anywhere in distribution
  adding license file 'LICENSE'
  writing manifest file '/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir/pip-modern-metadata-dbmin7gy/priority.egg-info/SOURCES.txt'
  creating '/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir/pip-modern-metadata-dbmin7gy/priority-2.0.0.dist-info'
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: priority
  Building wheel for priority (pyproject.toml): started
  Running command Building wheel for priority (pyproject.toml)
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/priority
  copying src/priority/priority.py -> build/lib/priority
  copying src/priority/__init__.py -> build/lib/priority
  copying src/priority/py.typed -> build/lib/priority
  installing to build/bdist.linux-riscv64/wheel
  running install
  running install_lib
  creating build/bdist.linux-riscv64
  creating build/bdist.linux-riscv64/wheel
  creating build/bdist.linux-riscv64/wheel/priority
  copying build/lib/priority/priority.py -> build/bdist.linux-riscv64/wheel/priority
  copying build/lib/priority/py.typed -> build/bdist.linux-riscv64/wheel/priority
  copying build/lib/priority/__init__.py -> build/bdist.linux-riscv64/wheel/priority
  running install_egg_info
  running egg_info
  writing src/priority.egg-info/PKG-INFO
  writing dependency_links to src/priority.egg-info/dependency_links.txt
  writing top-level names to src/priority.egg-info/top_level.txt
  reading manifest file 'src/priority.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no directories found matching 'visualizer'
  warning: no directories found matching 'examples'
  no previously-included directories found matching 'docs/build'
  warning: manifest_maker: MANIFEST.in, line 7: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.pyo' found anywhere in distribution
  warning: no previously-included files matching '*.swo' found anywhere in distribution
  warning: no previously-included files matching '*.swp' found anywhere in distribution
  warning: no previously-included files matching '*.map' found anywhere in distribution
  warning: no previously-included files matching '*.yml' found anywhere in distribution
  warning: no previously-included files matching '*.DS_Store' found anywhere in distribution
  adding license file 'LICENSE'
  writing manifest file 'src/priority.egg-info/SOURCES.txt'
  Copying src/priority.egg-info to build/bdist.linux-riscv64/wheel/priority-2.0.0-py3.12.egg-info
  running install_scripts
  creating build/bdist.linux-riscv64/wheel/priority-2.0.0.dist-info/WHEEL
  creating '/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir/pip-wheel-oxqlm3zz/.tmp-fxe25br9/priority-2.0.0-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it
  adding 'priority/__init__.py'
  adding 'priority/priority.py'
  adding 'priority/py.typed'
  adding 'priority-2.0.0.dist-info/LICENSE'
  adding 'priority-2.0.0.dist-info/METADATA'
  adding 'priority-2.0.0.dist-info/WHEEL'
  adding 'priority-2.0.0.dist-info/top_level.txt'
  adding 'priority-2.0.0.dist-info/RECORD'
  removing build/bdist.linux-riscv64/wheel
  Building wheel for priority (pyproject.toml): finished with status 'done'
  Created wheel for priority: filename=priority-2.0.0-py3-none-any.whl size=8879 sha256=0076f6f08b315028ba95e69c1ed76ff736ef363652c8733fc05c3a9eefdbfad6
  Stored in directory: /builddir/.cache/pip/wheels/06/d7/76/0eea49097127426508691aaefba3b805ba33c042edb4717ed1
Successfully built priority
++ pyproject_build_lib=()
++ '[' -d build/lib.linux-riscv64-cpython-312 ']'
++ '[' -d build/lib.linux-riscv64-3.12 ']'
++ '[' -d build/lib ']'
++ pyproject_build_lib+=("${PWD}/build/lib")
+++ find /builddir/build/BUILD/priority-2.0.0/.pyproject-builddir -type d -wholename '/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir/pip-req-build-*/build/lib.linux-riscv64-3.12'
+++ find /builddir/build/BUILD/priority-2.0.0/.pyproject-builddir -type d -wholename '/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir/pip-req-build-*/build/lib'
+++ IFS=:
+++ echo /builddir/build/BUILD/priority-2.0.0/build/lib
++ echo /builddir/build/BUILD/priority-2.0.0/build/lib
+ PYTHONPATH=/builddir/build/BUILD/priority-2.0.0/build/lib
+ sphinx-build docs/source html
Running Sphinx v7.2.6
making output directory... done
WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: "intersphinx_mapping = {'<name>': ('http://docs.python.org/', None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping
loading intersphinx inventory from http://docs.python.org/objects.inv...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPConnectionPool(host='docs.python.org', port=80): Max retries exceeded with url: /objects.inv (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffffffa7d8c8f0>: 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
writing output... 
building [html]: targets for 8 source files that are out of date
updating environment: [new config] 8 added, 0 changed, 0 removed
reading sources... [ 12%] api
reading sources... [ 25%] authors
reading sources... [ 38%] index
reading sources... [ 50%] installation
reading sources... [ 62%] license
reading sources... [ 75%] security/CVE-2016-6580
reading sources... [ 88%] security/index
reading sources... [100%] using-priority
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
done
writing output... [ 12%] api
writing output... [ 25%] authors
writing output... [ 38%] index
writing output... [ 50%] installation
writing output... [ 62%] license
writing output... [ 75%] security/CVE-2016-6580
writing output... [ 88%] security/index
writing output... [100%] using-priority
generating indices... genindex done
highlighting module code... [100%] priority.priority
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 2 warnings.
The HTML pages are in html.
+ rm -rf html/.doctrees html/.buildinfo
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jRZUUt
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch
++ dirname /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch
+ CFLAGS='-O2  -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  -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  -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  -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 priority-2.0.0
++ ls /builddir/build/BUILD/priority-2.0.0/pyproject-wheeldir/priority-2.0.0-py3-none-any.whl
++ xargs basename --multiple
++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/'
+ specifier=priority==2.0.0
+ '[' -z priority==2.0.0 ']'
+ TMPDIR=/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir
+ /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch --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/priority-2.0.0/pyproject-wheeldir priority==2.0.0
Using pip 23.3.2 from /usr/lib/python3.12/site-packages/pip (python 3.12)
Looking in links: /builddir/build/BUILD/priority-2.0.0/pyproject-wheeldir
Processing ./pyproject-wheeldir/priority-2.0.0-py3-none-any.whl
Installing collected packages: priority
Successfully installed priority-2.0.0
+ '[' -d /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/bin ']'
+ rm -f /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-ghost-distinfo
+ site_dirs=()
+ '[' -d /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib/python3.12/site-packages ']'
+ site_dirs+=("/usr/lib/python3.12/site-packages")
+ '[' /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib/python3.12/site-packages ']'
+ '[' -d /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib64/python3.12/site-packages ']'
+ for site_dir in ${site_dirs[@]}
+ for distinfo in /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch$site_dir/*.dist-info
+ echo '%ghost /usr/lib/python3.12/site-packages/priority-2.0.0.dist-info'
+ sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib/python3.12/site-packages/priority-2.0.0.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-priority-2.0.0-1.fc40.noarch --record /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib/python3.12/site-packages/priority-2.0.0.dist-info/RECORD --output /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-record
+ rm -fv /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib/python3.12/site-packages/priority-2.0.0.dist-info/RECORD
removed '/builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib/python3.12/site-packages/priority-2.0.0.dist-info/RECORD'
+ rm -fv /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib/python3.12/site-packages/priority-2.0.0.dist-info/REQUESTED
removed '/builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib/python3.12/site-packages/priority-2.0.0.dist-info/REQUESTED'
++ wc -l /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-ghost-distinfo
++ cut -f1 '-d '
+ lines=1
+ '[' 1 -ne 1 ']'
+ RPM_PERCENTAGES_COUNT=2
+ /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-priority-2.0.0-1.fc40.noarch-pyproject-record --prefix /usr priority
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.0.0-1.fc40 --unique-debug-suffix -2.0.0-1.fc40.noarch --unique-debug-src-base python-priority-2.0.0-1.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/priority-2.0.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-priority-2.0.0-1.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.5Hm6tA
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2  -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  -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  -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  -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 priority-2.0.0
+ CFLAGS='-O2  -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-priority-2.0.0-1.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ PYTHONPATH=/builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-priority-2.0.0-1.fc40.noarch/usr/lib/python3.12/site-packages
+ PYTHONDONTWRITEBYTECODE=1
+ PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/priority-2.0.0/.pyproject-builddir'
+ PYTEST_XDIST_AUTO_NUM_WORKERS=8
+ /usr/bin/pytest
============================= test session starts ==============================
platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.3.0
rootdir: /builddir/build/BUILD/priority-2.0.0
configfile: setup.cfg
testpaths: test
plugins: hypothesis-6.82.0
collected 170 items
test/test_priority.py ...F.F............................................ [ 29%]
........................................................................ [ 71%]
..............................................F.                         [100%]
=================================== FAILURES ===================================
__ TestPriorityTreeManual.test_priority_tree_initially_outputs_all_stream_ids __
self = <hypothesis.core.StateForActualGivenExecution object at 0xffffffa9298a10>
data = ConjectureData(INTERESTING, 10 bytes, frozen)
    def _execute_once_for_engine(self, data):
        """Wrapper around ``execute_once`` that intercepts test failure
        exceptions and single-test control exceptions, and turns them into
        appropriate method calls to `data` instead.
    
        This allows the engine to assume that any exception other than
        ``StopTest`` must be a fatal error, and should stop the entire engine.
        """
        try:
            trace = frozenset()
            if (
                self.failed_normally
                and not self.failed_due_to_deadline
                and Phase.shrink in self.settings.phases
                and Phase.explain in self.settings.phases
                and sys.gettrace() is None
                and not PYPY
            ):  # pragma: no cover
                # This is in fact covered by our *non-coverage* tests, but due to the
                # settrace() contention *not* by our coverage tests.  Ah well.
                tracer = Tracer()
                try:
                    sys.settrace(tracer.trace)
                    result = self.execute_once(data)
                    if data.status == Status.VALID:
                        self.explain_traces[None].add(frozenset(tracer.branches))
                finally:
                    sys.settrace(None)
                    trace = frozenset(tracer.branches)
            else:
>               result = self.execute_once(data)
/usr/lib/python3.12/site-packages/hypothesis/core.py:850: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <hypothesis.core.StateForActualGivenExecution object at 0xffffffa9298a10>
data = ConjectureData(INTERESTING, 10 bytes, frozen), print_example = False
is_final = False, expected_failure = None, example_kwargs = None
    def execute_once(
        self,
        data,
        print_example=False,
        is_final=False,
        expected_failure=None,
        example_kwargs=None,
    ):
        """Run the test function once, using ``data`` as input.
    
        If the test raises an exception, it will propagate through to the
        caller of this method. Depending on its type, this could represent
        an ordinary test failure, or a fatal error, or a control exception.
    
        If this method returns normally, the test might have passed, or
        it might have placed ``data`` in an unsuccessful state and then
        swallowed the corresponding control exception.
        """
    
        self.ever_executed = True
        data.is_find = self.is_find
    
        text_repr = None
        if self.settings.deadline is None:
            test = self.test
        else:
    
            @proxies(self.test)
            def test(*args, **kwargs):
                self.__test_runtime = None
                initial_draws = len(data.draw_times)
                start = time.perf_counter()
                result = self.test(*args, **kwargs)
                finish = time.perf_counter()
                internal_draw_time = sum(data.draw_times[initial_draws:])
                runtime = datetime.timedelta(
                    seconds=finish - start - internal_draw_time
                )
                self.__test_runtime = runtime
                current_deadline = self.settings.deadline
                if not is_final:
                    current_deadline = (current_deadline // 4) * 5
                if runtime >= current_deadline:
                    raise DeadlineExceeded(runtime, self.settings.deadline)
                return result
    
        def run(data):
            # Set up dynamic context needed by a single test run.
            with local_settings(self.settings):
                with deterministic_PRNG():
                    with BuildContext(data, is_final=is_final) as context:
                        if self.stuff.selfy is not None:
                            data.hypothesis_runner = self.stuff.selfy
                        # Generate all arguments to the test function.
                        args = self.stuff.args
                        kwargs = dict(self.stuff.kwargs)
                        if example_kwargs is None:
                            a, kw, argslices = context.prep_args_kwargs_from_strategies(
                                (), self.stuff.given_kwargs
                            )
                            assert not a, "strategies all moved to kwargs by now"
                        else:
                            kw = example_kwargs
                            argslices = {}
                        kwargs.update(kw)
                        if expected_failure is not None:
                            nonlocal text_repr
                            text_repr = repr_call(test, args, kwargs)
    
                        if print_example or current_verbosity() >= Verbosity.verbose:
                            printer = RepresentationPrinter(context=context)
                            if print_example:
                                printer.text("Falsifying example:")
                            else:
                                printer.text("Trying example:")
    
                            if self.print_given_args:
                                printer.text(" ")
                                printer.repr_call(
                                    test.__name__,
                                    args,
                                    kwargs,
                                    force_split=True,
                                    arg_slices=argslices,
                                    leading_comment=(
                                        "# " + context.data.slice_comments[(0, 0)]
                                        if (0, 0) in context.data.slice_comments
                                        else None
                                    ),
                                )
                            report(printer.getvalue())
                        return test(*args, **kwargs)
    
        # Run the test function once, via the executor hook.
        # In most cases this will delegate straight to `run(data)`.
>       result = self.test_runner(data, run)
/usr/lib/python3.12/site-packages/hypothesis/core.py:789: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
data = ConjectureData(INTERESTING, 10 bytes, frozen)
function = <function StateForActualGivenExecution.execute_once.<locals>.run at 0xffffffa94018a0>
    def default_new_style_executor(data, function):
>       return function(data)
/usr/lib/python3.12/site-packages/hypothesis/executors.py:47: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
data = ConjectureData(INTERESTING, 10 bytes, frozen)
    def run(data):
        # Set up dynamic context needed by a single test run.
        with local_settings(self.settings):
            with deterministic_PRNG():
                with BuildContext(data, is_final=is_final) as context:
                    if self.stuff.selfy is not None:
                        data.hypothesis_runner = self.stuff.selfy
                    # Generate all arguments to the test function.
                    args = self.stuff.args
                    kwargs = dict(self.stuff.kwargs)
                    if example_kwargs is None:
                        a, kw, argslices = context.prep_args_kwargs_from_strategies(
                            (), self.stuff.given_kwargs
                        )
                        assert not a, "strategies all moved to kwargs by now"
                    else:
                        kw = example_kwargs
                        argslices = {}
                    kwargs.update(kw)
                    if expected_failure is not None:
                        nonlocal text_repr
                        text_repr = repr_call(test, args, kwargs)
    
                    if print_example or current_verbosity() >= Verbosity.verbose:
                        printer = RepresentationPrinter(context=context)
                        if print_example:
                            printer.text("Falsifying example:")
                        else:
                            printer.text("Trying example:")
    
                        if self.print_given_args:
                            printer.text(" ")
                            printer.repr_call(
                                test.__name__,
                                args,
                                kwargs,
                                force_split=True,
                                arg_slices=argslices,
                                leading_comment=(
                                    "# " + context.data.slice_comments[(0, 0)]
                                    if (0, 0) in context.data.slice_comments
                                    else None
                                ),
                            )
                        report(printer.getvalue())
>                   return test(*args, **kwargs)
/usr/lib/python3.12/site-packages/hypothesis/core.py:785: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <test_priority.TestPriorityTreeManual object at 0xffffffa94ae810>
blocked_expected = ([7, 11, 3], [1, 9])
    @given(BLOCKED_AND_ACTIVE)
>   def test_priority_tree_initially_outputs_all_stream_ids(self, blocked_expected):
test/test_priority.py:151: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
args = (<test_priority.TestPriorityTreeManual object at 0xffffffa94ae810>, ([7, 11, 3], [1, 9]))
kwargs = {}, initial_draws = 1, start = 7221370.874756297, result = None
finish = 7221371.363612293, internal_draw_time = 0
runtime = datetime.timedelta(microseconds=488856)
current_deadline = datetime.timedelta(microseconds=250000)
    @proxies(self.test)
    def test(*args, **kwargs):
        self.__test_runtime = None
        initial_draws = len(data.draw_times)
        start = time.perf_counter()
        result = self.test(*args, **kwargs)
        finish = time.perf_counter()
        internal_draw_time = sum(data.draw_times[initial_draws:])
        runtime = datetime.timedelta(
            seconds=finish - start - internal_draw_time
        )
        self.__test_runtime = runtime
        current_deadline = self.settings.deadline
        if not is_final:
            current_deadline = (current_deadline // 4) * 5
        if runtime >= current_deadline:
>           raise DeadlineExceeded(runtime, self.settings.deadline)
E           hypothesis.errors.DeadlineExceeded: Test took 488.86ms, which exceeds the deadline of 200.00ms
/usr/lib/python3.12/site-packages/hypothesis/core.py:737: DeadlineExceeded
The above exception was the direct cause of the following exception:
self = <test_priority.TestPriorityTreeManual object at 0xffffffa94ae810>
    @given(BLOCKED_AND_ACTIVE)
>   def test_priority_tree_initially_outputs_all_stream_ids(self, blocked_expected):
test/test_priority.py:151: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <hypothesis.core.StateForActualGivenExecution object at 0xffffffa9298a10>
data = ConjectureData(VALID, 10 bytes, frozen), print_example = True
is_final = True
expected_failure = (DeadlineExceeded('Test took 488.86ms, which exceeds the deadline of 200.00ms'), 'args = (<test_priority.TestPriorityT...hich exceeds the deadline of 200.00ms\n\n/usr/lib/python3.12/site-packages/hypothesis/core.py:737: DeadlineExceeded\n')
example_kwargs = None
    def execute_once(
        self,
        data,
        print_example=False,
        is_final=False,
        expected_failure=None,
        example_kwargs=None,
    ):
        """Run the test function once, using ``data`` as input.
    
        If the test raises an exception, it will propagate through to the
        caller of this method. Depending on its type, this could represent
        an ordinary test failure, or a fatal error, or a control exception.
    
        If this method returns normally, the test might have passed, or
        it might have placed ``data`` in an unsuccessful state and then
        swallowed the corresponding control exception.
        """
    
        self.ever_executed = True
        data.is_find = self.is_find
    
        text_repr = None
        if self.settings.deadline is None:
            test = self.test
        else:
    
            @proxies(self.test)
            def test(*args, **kwargs):
                self.__test_runtime = None
                initial_draws = len(data.draw_times)
                start = time.perf_counter()
                result = self.test(*args, **kwargs)
                finish = time.perf_counter()
                internal_draw_time = sum(data.draw_times[initial_draws:])
                runtime = datetime.timedelta(
                    seconds=finish - start - internal_draw_time
                )
                self.__test_runtime = runtime
                current_deadline = self.settings.deadline
                if not is_final:
                    current_deadline = (current_deadline // 4) * 5
                if runtime >= current_deadline:
                    raise DeadlineExceeded(runtime, self.settings.deadline)
                return result
    
        def run(data):
            # Set up dynamic context needed by a single test run.
            with local_settings(self.settings):
                with deterministic_PRNG():
                    with BuildContext(data, is_final=is_final) as context:
                        if self.stuff.selfy is not None:
                            data.hypothesis_runner = self.stuff.selfy
                        # Generate all arguments to the test function.
                        args = self.stuff.args
                        kwargs = dict(self.stuff.kwargs)
                        if example_kwargs is None:
                            a, kw, argslices = context.prep_args_kwargs_from_strategies(
                                (), self.stuff.given_kwargs
                            )
                            assert not a, "strategies all moved to kwargs by now"
                        else:
                            kw = example_kwargs
                            argslices = {}
                        kwargs.update(kw)
                        if expected_failure is not None:
                            nonlocal text_repr
                            text_repr = repr_call(test, args, kwargs)
    
                        if print_example or current_verbosity() >= Verbosity.verbose:
                            printer = RepresentationPrinter(context=context)
                            if print_example:
                                printer.text("Falsifying example:")
                            else:
                                printer.text("Trying example:")
    
                            if self.print_given_args:
                                printer.text(" ")
                                printer.repr_call(
                                    test.__name__,
                                    args,
                                    kwargs,
                                    force_split=True,
                                    arg_slices=argslices,
                                    leading_comment=(
                                        "# " + context.data.slice_comments[(0, 0)]
                                        if (0, 0) in context.data.slice_comments
                                        else None
                                    ),
                                )
                            report(printer.getvalue())
                        return test(*args, **kwargs)
    
        # Run the test function once, via the executor hook.
        # In most cases this will delegate straight to `run(data)`.
        result = self.test_runner(data, run)
    
        # If a failure was expected, it should have been raised already, so
        # instead raise an appropriate diagnostic error.
        if expected_failure is not None:
            exception, traceback = expected_failure
            if (
                isinstance(exception, DeadlineExceeded)
                and self.__test_runtime is not None
            ):
                report(
                    "Unreliable test timings! On an initial run, this "
                    "test took %.2fms, which exceeded the deadline of "
                    "%.2fms, but on a subsequent run it took %.2f ms, "
                    "which did not. If you expect this sort of "
                    "variability in your test timings, consider turning "
                    "deadlines off for this test by setting deadline=None."
                    % (
                        exception.runtime.total_seconds() * 1000,
                        self.settings.deadline.total_seconds() * 1000,
                        self.__test_runtime.total_seconds() * 1000,
                    )
                )
            else:
                report("Failed to reproduce exception. Expected: \n" + traceback)
>           raise Flaky(
                f"Hypothesis {text_repr} produces unreliable results: "
                "Falsified on the first call but did not on a subsequent one"
            ) from exception
E           hypothesis.errors.Flaky: Hypothesis test_priority_tree_initially_outputs_all_stream_ids(self=<test_priority.TestPriorityTreeManual object at 0xffffffa94ae810>, blocked_expected=([7, 11, 3], [1, 9])) produces unreliable results: Falsified on the first call but did not on a subsequent one
E           Falsifying example: test_priority_tree_initially_outputs_all_stream_ids(
E               self=<test_priority.TestPriorityTreeManual object at 0xffffffa94ae810>,
E               blocked_expected=([7, 11, 3], [1, 9]),
E           )
E           Unreliable test timings! On an initial run, this test took 488.86ms, which exceeded the deadline of 200.00ms, but on a subsequent run it took 0.68 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None.
/usr/lib/python3.12/site-packages/hypothesis/core.py:814: Flaky
___ TestPriorityTreeManual.test_removing_items_behaves_similarly_to_blocking ___
self = <hypothesis.core.StateForActualGivenExecution object at 0xffffffa9370710>
data = ConjectureData(INTERESTING, 6 bytes, frozen)
    def _execute_once_for_engine(self, data):
        """Wrapper around ``execute_once`` that intercepts test failure
        exceptions and single-test control exceptions, and turns them into
        appropriate method calls to `data` instead.
    
        This allows the engine to assume that any exception other than
        ``StopTest`` must be a fatal error, and should stop the entire engine.
        """
        try:
            trace = frozenset()
            if (
                self.failed_normally
                and not self.failed_due_to_deadline
                and Phase.shrink in self.settings.phases
                and Phase.explain in self.settings.phases
                and sys.gettrace() is None
                and not PYPY
            ):  # pragma: no cover
                # This is in fact covered by our *non-coverage* tests, but due to the
                # settrace() contention *not* by our coverage tests.  Ah well.
                tracer = Tracer()
                try:
                    sys.settrace(tracer.trace)
                    result = self.execute_once(data)
                    if data.status == Status.VALID:
                        self.explain_traces[None].add(frozenset(tracer.branches))
                finally:
                    sys.settrace(None)
                    trace = frozenset(tracer.branches)
            else:
>               result = self.execute_once(data)
/usr/lib/python3.12/site-packages/hypothesis/core.py:850: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <hypothesis.core.StateForActualGivenExecution object at 0xffffffa9370710>
data = ConjectureData(INTERESTING, 6 bytes, frozen), print_example = False
is_final = False, expected_failure = None, example_kwargs = None
    def execute_once(
        self,
        data,
        print_example=False,
        is_final=False,
        expected_failure=None,
        example_kwargs=None,
    ):
        """Run the test function once, using ``data`` as input.
    
        If the test raises an exception, it will propagate through to the
        caller of this method. Depending on its type, this could represent
        an ordinary test failure, or a fatal error, or a control exception.
    
        If this method returns normally, the test might have passed, or
        it might have placed ``data`` in an unsuccessful state and then
        swallowed the corresponding control exception.
        """
    
        self.ever_executed = True
        data.is_find = self.is_find
    
        text_repr = None
        if self.settings.deadline is None:
            test = self.test
        else:
    
            @proxies(self.test)
            def test(*args, **kwargs):
                self.__test_runtime = None
                initial_draws = len(data.draw_times)
                start = time.perf_counter()
                result = self.test(*args, **kwargs)
                finish = time.perf_counter()
                internal_draw_time = sum(data.draw_times[initial_draws:])
                runtime = datetime.timedelta(
                    seconds=finish - start - internal_draw_time
                )
                self.__test_runtime = runtime
                current_deadline = self.settings.deadline
                if not is_final:
                    current_deadline = (current_deadline // 4) * 5
                if runtime >= current_deadline:
                    raise DeadlineExceeded(runtime, self.settings.deadline)
                return result
    
        def run(data):
            # Set up dynamic context needed by a single test run.
            with local_settings(self.settings):
                with deterministic_PRNG():
                    with BuildContext(data, is_final=is_final) as context:
                        if self.stuff.selfy is not None:
                            data.hypothesis_runner = self.stuff.selfy
                        # Generate all arguments to the test function.
                        args = self.stuff.args
                        kwargs = dict(self.stuff.kwargs)
                        if example_kwargs is None:
                            a, kw, argslices = context.prep_args_kwargs_from_strategies(
                                (), self.stuff.given_kwargs
                            )
                            assert not a, "strategies all moved to kwargs by now"
                        else:
                            kw = example_kwargs
                            argslices = {}
                        kwargs.update(kw)
                        if expected_failure is not None:
                            nonlocal text_repr
                            text_repr = repr_call(test, args, kwargs)
    
                        if print_example or current_verbosity() >= Verbosity.verbose:
                            printer = RepresentationPrinter(context=context)
                            if print_example:
                                printer.text("Falsifying example:")
                            else:
                                printer.text("Trying example:")
    
                            if self.print_given_args:
                                printer.text(" ")
                                printer.repr_call(
                                    test.__name__,
                                    args,
                                    kwargs,
                                    force_split=True,
                                    arg_slices=argslices,
                                    leading_comment=(
                                        "# " + context.data.slice_comments[(0, 0)]
                                        if (0, 0) in context.data.slice_comments
                                        else None
                                    ),
                                )
                            report(printer.getvalue())
                        return test(*args, **kwargs)
    
        # Run the test function once, via the executor hook.
        # In most cases this will delegate straight to `run(data)`.
>       result = self.test_runner(data, run)
/usr/lib/python3.12/site-packages/hypothesis/core.py:789: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
data = ConjectureData(INTERESTING, 6 bytes, frozen)
function = <function StateForActualGivenExecution.execute_once.<locals>.run at 0xffffffa936f880>
    def default_new_style_executor(data, function):
>       return function(data)
/usr/lib/python3.12/site-packages/hypothesis/executors.py:47: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
data = ConjectureData(INTERESTING, 6 bytes, frozen)
    def run(data):
        # Set up dynamic context needed by a single test run.
        with local_settings(self.settings):
            with deterministic_PRNG():
                with BuildContext(data, is_final=is_final) as context:
                    if self.stuff.selfy is not None:
                        data.hypothesis_runner = self.stuff.selfy
                    # Generate all arguments to the test function.
                    args = self.stuff.args
                    kwargs = dict(self.stuff.kwargs)
                    if example_kwargs is None:
                        a, kw, argslices = context.prep_args_kwargs_from_strategies(
                            (), self.stuff.given_kwargs
                        )
                        assert not a, "strategies all moved to kwargs by now"
                    else:
                        kw = example_kwargs
                        argslices = {}
                    kwargs.update(kw)
                    if expected_failure is not None:
                        nonlocal text_repr
                        text_repr = repr_call(test, args, kwargs)
    
                    if print_example or current_verbosity() >= Verbosity.verbose:
                        printer = RepresentationPrinter(context=context)
                        if print_example:
                            printer.text("Falsifying example:")
                        else:
                            printer.text("Trying example:")
    
                        if self.print_given_args:
                            printer.text(" ")
                            printer.repr_call(
                                test.__name__,
                                args,
                                kwargs,
                                force_split=True,
                                arg_slices=argslices,
                                leading_comment=(
                                    "# " + context.data.slice_comments[(0, 0)]
                                    if (0, 0) in context.data.slice_comments
                                    else None
                                ),
                            )
                        report(printer.getvalue())
>                   return test(*args, **kwargs)
/usr/lib/python3.12/site-packages/hypothesis/core.py:785: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <test_priority.TestPriorityTreeManual object at 0xffffffa9815f40>
blocked_expected = ([9, 3], [1, 7])
    @given(BLOCKED_AND_ACTIVE)
>   def test_removing_items_behaves_similarly_to_blocking(self, blocked_expected):
test/test_priority.py:186: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
args = (<test_priority.TestPriorityTreeManual object at 0xffffffa9815f40>, ([9, 3], [1, 7]))
kwargs = {}, initial_draws = 1, start = 7221439.233229024, result = None
finish = 7221439.564671728, internal_draw_time = 0
runtime = datetime.timedelta(microseconds=331443)
current_deadline = datetime.timedelta(microseconds=250000)
    @proxies(self.test)
    def test(*args, **kwargs):
        self.__test_runtime = None
        initial_draws = len(data.draw_times)
        start = time.perf_counter()
        result = self.test(*args, **kwargs)
        finish = time.perf_counter()
        internal_draw_time = sum(data.draw_times[initial_draws:])
        runtime = datetime.timedelta(
            seconds=finish - start - internal_draw_time
        )
        self.__test_runtime = runtime
        current_deadline = self.settings.deadline
        if not is_final:
            current_deadline = (current_deadline // 4) * 5
        if runtime >= current_deadline:
>           raise DeadlineExceeded(runtime, self.settings.deadline)
E           hypothesis.errors.DeadlineExceeded: Test took 331.44ms, which exceeds the deadline of 200.00ms
/usr/lib/python3.12/site-packages/hypothesis/core.py:737: DeadlineExceeded
The above exception was the direct cause of the following exception:
self = <test_priority.TestPriorityTreeManual object at 0xffffffa9815f40>
    @given(BLOCKED_AND_ACTIVE)
>   def test_removing_items_behaves_similarly_to_blocking(self, blocked_expected):
test/test_priority.py:186: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <hypothesis.core.StateForActualGivenExecution object at 0xffffffa9370710>
data = ConjectureData(VALID, 6 bytes, frozen), print_example = True
is_final = True
expected_failure = (DeadlineExceeded('Test took 331.44ms, which exceeds the deadline of 200.00ms'), 'args = (<test_priority.TestPriorityT...hich exceeds the deadline of 200.00ms\n\n/usr/lib/python3.12/site-packages/hypothesis/core.py:737: DeadlineExceeded\n')
example_kwargs = None
    def execute_once(
        self,
        data,
        print_example=False,
        is_final=False,
        expected_failure=None,
        example_kwargs=None,
    ):
        """Run the test function once, using ``data`` as input.
    
        If the test raises an exception, it will propagate through to the
        caller of this method. Depending on its type, this could represent
        an ordinary test failure, or a fatal error, or a control exception.
    
        If this method returns normally, the test might have passed, or
        it might have placed ``data`` in an unsuccessful state and then
        swallowed the corresponding control exception.
        """
    
        self.ever_executed = True
        data.is_find = self.is_find
    
        text_repr = None
        if self.settings.deadline is None:
            test = self.test
        else:
    
            @proxies(self.test)
            def test(*args, **kwargs):
                self.__test_runtime = None
                initial_draws = len(data.draw_times)
                start = time.perf_counter()
                result = self.test(*args, **kwargs)
                finish = time.perf_counter()
                internal_draw_time = sum(data.draw_times[initial_draws:])
                runtime = datetime.timedelta(
                    seconds=finish - start - internal_draw_time
                )
                self.__test_runtime = runtime
                current_deadline = self.settings.deadline
                if not is_final:
                    current_deadline = (current_deadline // 4) * 5
                if runtime >= current_deadline:
                    raise DeadlineExceeded(runtime, self.settings.deadline)
                return result
    
        def run(data):
            # Set up dynamic context needed by a single test run.
            with local_settings(self.settings):
                with deterministic_PRNG():
                    with BuildContext(data, is_final=is_final) as context:
                        if self.stuff.selfy is not None:
                            data.hypothesis_runner = self.stuff.selfy
                        # Generate all arguments to the test function.
                        args = self.stuff.args
                        kwargs = dict(self.stuff.kwargs)
                        if example_kwargs is None:
                            a, kw, argslices = context.prep_args_kwargs_from_strategies(
                                (), self.stuff.given_kwargs
                            )
                            assert not a, "strategies all moved to kwargs by now"
                        else:
                            kw = example_kwargs
                            argslices = {}
                        kwargs.update(kw)
                        if expected_failure is not None:
                            nonlocal text_repr
                            text_repr = repr_call(test, args, kwargs)
    
                        if print_example or current_verbosity() >= Verbosity.verbose:
                            printer = RepresentationPrinter(context=context)
                            if print_example:
                                printer.text("Falsifying example:")
                            else:
                                printer.text("Trying example:")
    
                            if self.print_given_args:
                                printer.text(" ")
                                printer.repr_call(
                                    test.__name__,
                                    args,
                                    kwargs,
                                    force_split=True,
                                    arg_slices=argslices,
                                    leading_comment=(
                                        "# " + context.data.slice_comments[(0, 0)]
                                        if (0, 0) in context.data.slice_comments
                                        else None
                                    ),
                                )
                            report(printer.getvalue())
                        return test(*args, **kwargs)
    
        # Run the test function once, via the executor hook.
        # In most cases this will delegate straight to `run(data)`.
        result = self.test_runner(data, run)
    
        # If a failure was expected, it should have been raised already, so
        # instead raise an appropriate diagnostic error.
        if expected_failure is not None:
            exception, traceback = expected_failure
            if (
                isinstance(exception, DeadlineExceeded)
                and self.__test_runtime is not None
            ):
                report(
                    "Unreliable test timings! On an initial run, this "
                    "test took %.2fms, which exceeded the deadline of "
                    "%.2fms, but on a subsequent run it took %.2f ms, "
                    "which did not. If you expect this sort of "
                    "variability in your test timings, consider turning "
                    "deadlines off for this test by setting deadline=None."
                    % (
                        exception.runtime.total_seconds() * 1000,
                        self.settings.deadline.total_seconds() * 1000,
                        self.__test_runtime.total_seconds() * 1000,
                    )
                )
            else:
                report("Failed to reproduce exception. Expected: \n" + traceback)
>           raise Flaky(
                f"Hypothesis {text_repr} produces unreliable results: "
                "Falsified on the first call but did not on a subsequent one"
            ) from exception
E           hypothesis.errors.Flaky: Hypothesis test_removing_items_behaves_similarly_to_blocking(self=<test_priority.TestPriorityTreeManual object at 0xffffffa9815f40>, blocked_expected=([9, 3], [1, 7])) produces unreliable results: Falsified on the first call but did not on a subsequent one
E           Falsifying example: test_removing_items_behaves_similarly_to_blocking(
E               self=<test_priority.TestPriorityTreeManual object at 0xffffffa9815f40>,
E               blocked_expected=([9, 3], [1, 7]),
E           )
E           Unreliable test timings! On an initial run, this test took 331.44ms, which exceeded the deadline of 200.00ms, but on a subsequent run it took 1.58 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None.
/usr/lib/python3.12/site-packages/hypothesis/core.py:814: Flaky
____________ TestPriorityTreeOutput.test_priority_tree_distribution ____________
self = <test_priority.TestPriorityTreeOutput object at 0xffffffa9541e80>
    @given(STREAMS_AND_WEIGHTS)
>   def test_priority_tree_distribution(self, streams_and_weights):
E   hypothesis.errors.FailedHealthCheck: Data generation is extremely slow: Only produced 9 valid examples in 1.08 seconds (0 invalid ones and 1 exceeded maximum size). Try decreasing size of the data you're generating (with e.g. max_size or max_leaves parameters).
E   See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.too_slow to the suppress_health_check settings for this test.
test/test_priority.py:517: FailedHealthCheck
---------------------------------- Hypothesis ----------------------------------
You can add @seed(340266369486617036164240644451863509412) to this test or run pytest with --hypothesis-seed=340266369486617036164240644451863509412 to reproduce this failure.
=========================== short test summary info ============================
FAILED test/test_priority.py::TestPriorityTreeManual::test_priority_tree_initially_outputs_all_stream_ids
FAILED test/test_priority.py::TestPriorityTreeManual::test_removing_items_behaves_similarly_to_blocking
FAILED test/test_priority.py::TestPriorityTreeOutput::test_priority_tree_distribution
================== 3 failed, 167 passed in 2202.28s (0:36:42) ==================
error: Bad exit status from /var/tmp/rpm-tmp.5Hm6tA (%check)
RPM build warnings:
RPM build errors:
    The %{pyproject_build_lib} macro is deprecated.
It only works with setuptools and is not build-backend-agnostic.
The macro is not scheduled for removal, but there is a possibility of incompatibilities with future versions of setuptools.
As a replacement for the macro for the setuptools backend on Fedora 37+, you can use $PWD/build/lib for pure Python packages,
or $PWD/build/lib.%{python3_platform}-cpython-%{python3_version_nodots} for packages with extension modules.
Other build backends and older distributions may need different paths.
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/ for details.
    Bad exit status from /var/tmp/rpm-tmp.5Hm6tA (%check)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-priority.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-priority.spec