Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-semver.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-89280-5540/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=86400uid=981gid=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-semver.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 Wrote: /builddir/build/SRPMS/python-semver-3.0.1-1.ocs23.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-semver.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-89280-5540/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=86400uid=981gid=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-semver.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hUCMoV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-semver-3.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/semver-3.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-semver-3.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/dicts.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Ud5Zen + umask 022 + cd /builddir/build/BUILD + cd python-semver-3.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-semver-3.0.1-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-semver.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-89280-5540/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=86400uid=981gid=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-semver.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LAAWPG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-semver-3.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/semver-3.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-semver-3.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/dicts.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.T0FBDZ + umask 022 + cd /builddir/build/BUILD + cd python-semver-3.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) Handling setuptools-scm from build-system.requires Requirement not satisfied: setuptools-scm Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-semver-3.0.1-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-semver.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-89280-5540/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=86400uid=981gid=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-semver.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KiefAd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-semver-3.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/semver-3.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-semver-3.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/dicts.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4axkSG + umask 022 + cd /builddir/build/BUILD + cd python-semver-3.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) Handling setuptools-scm from build-system.requires Requirement satisfied: setuptools-scm (installed: setuptools-scm 7.1.0) no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files matching '__pycache__' found anywhere in distribution HOOK STDOUT: running egg_info HOOK STDOUT: creating src/semver.egg-info HOOK STDOUT: writing src/semver.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/semver.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/semver.egg-info/entry_points.txt HOOK STDOUT: writing top-level names to src/semver.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'src/semver.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'src/semver.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'src/semver.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement not satisfied: wheel Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-semver-3.0.1-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-semver.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-89280-5540/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=86400uid=981gid=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-semver.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2pXO8I + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-semver-3.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/semver-3.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-semver-3.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/dicts.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.518VlZ + umask 022 + cd /builddir/build/BUILD + cd python-semver-3.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) Handling setuptools-scm from build-system.requires Requirement satisfied: setuptools-scm (installed: setuptools-scm 7.1.0) no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files matching '__pycache__' found anywhere in distribution HOOK STDOUT: running egg_info HOOK STDOUT: creating src/semver.egg-info HOOK STDOUT: writing src/semver.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/semver.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/semver.egg-info/entry_points.txt HOOK STDOUT: writing top-level names to src/semver.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'src/semver.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'src/semver.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'src/semver.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files matching '__pycache__' found anywhere in distribution HOOK STDOUT: running dist_info HOOK STDOUT: creating semver.egg-info HOOK STDOUT: writing semver.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to semver.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to semver.egg-info/entry_points.txt HOOK STDOUT: writing top-level names to semver.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'semver.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'semver.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'semver.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/python-semver-3.0.1/semver-3.0.1.dist-info' HOOK STDOUT: adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-semver-3.0.1-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-semver.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-89280-5540/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=86400uid=981gid=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-semver.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 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.7Y6MBr + umask 022 + cd /builddir/build/BUILD + cd python-semver-3.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv semver-3.0.1.dist-info/ removed 'semver-3.0.1.dist-info/METADATA' removed 'semver-3.0.1.dist-info/LICENSE.txt' removed 'semver-3.0.1.dist-info/top_level.txt' removed 'semver-3.0.1.dist-info/entry_points.txt' removed directory 'semver-3.0.1.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) Handling setuptools-scm from build-system.requires Requirement satisfied: setuptools-scm (installed: setuptools-scm 7.1.0) no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files matching '__pycache__' found anywhere in distribution HOOK STDOUT: running egg_info HOOK STDOUT: writing src/semver.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/semver.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/semver.egg-info/entry_points.txt HOOK STDOUT: writing top-level names to src/semver.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/semver.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'src/semver.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files matching '__pycache__' found anywhere in distribution HOOK STDOUT: running dist_info HOOK STDOUT: writing semver.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to semver.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to semver.egg-info/entry_points.txt HOOK STDOUT: writing top-level names to semver.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'semver.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'semver.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/python-semver-3.0.1/semver-3.0.1.dist-info' HOOK STDOUT: adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VBNiKU + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 python-semver-3.0.1 + mkdir -p /builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/python-semver-3.0.1/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/python-semver-3.0.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir/pip-modern-metadata-ogkrago1/semver.egg-info writing /builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir/pip-modern-metadata-ogkrago1/semver.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir/pip-modern-metadata-ogkrago1/semver.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir/pip-modern-metadata-ogkrago1/semver.egg-info/entry_points.txt writing top-level names to /builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir/pip-modern-metadata-ogkrago1/semver.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir/pip-modern-metadata-ogkrago1/semver.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir/pip-modern-metadata-ogkrago1/semver.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file '/builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir/pip-modern-metadata-ogkrago1/semver.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir/pip-modern-metadata-ogkrago1/semver-3.0.1.dist-info' adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: semver Building wheel for semver (pyproject.toml): started Running command Building wheel for semver (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/semver copying src/semver/cli.py -> build/lib/semver copying src/semver/_types.py -> build/lib/semver copying src/semver/version.py -> build/lib/semver copying src/semver/__main__.py -> build/lib/semver copying src/semver/__init__.py -> build/lib/semver copying src/semver/__about__.py -> build/lib/semver copying src/semver/_deprecated.py -> build/lib/semver running egg_info writing src/semver.egg-info/PKG-INFO writing dependency_links to src/semver.egg-info/dependency_links.txt writing entry points to src/semver.egg-info/entry_points.txt writing top-level names to src/semver.egg-info/top_level.txt reading manifest file 'src/semver.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'src/semver.egg-info/SOURCES.txt' copying src/semver/py.typed -> build/lib/semver installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/semver copying build/lib/semver/cli.py -> build/bdist.linux-x86_64/wheel/semver copying build/lib/semver/_types.py -> build/bdist.linux-x86_64/wheel/semver copying build/lib/semver/version.py -> build/bdist.linux-x86_64/wheel/semver copying build/lib/semver/__main__.py -> build/bdist.linux-x86_64/wheel/semver copying build/lib/semver/__init__.py -> build/bdist.linux-x86_64/wheel/semver copying build/lib/semver/py.typed -> build/bdist.linux-x86_64/wheel/semver copying build/lib/semver/__about__.py -> build/bdist.linux-x86_64/wheel/semver copying build/lib/semver/_deprecated.py -> build/bdist.linux-x86_64/wheel/semver running install_egg_info Copying src/semver.egg-info to build/bdist.linux-x86_64/wheel/semver-3.0.1-py3.11.egg-info running install_scripts adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") creating build/bdist.linux-x86_64/wheel/semver-3.0.1.dist-info/WHEEL creating '/builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir/pip-wheel-686c6g61/tmpsl1y4f77/semver-3.0.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'semver/__about__.py' adding 'semver/__init__.py' adding 'semver/__main__.py' adding 'semver/_deprecated.py' adding 'semver/_types.py' adding 'semver/cli.py' adding 'semver/py.typed' adding 'semver/version.py' adding 'semver-3.0.1.dist-info/LICENSE.txt' adding 'semver-3.0.1.dist-info/METADATA' adding 'semver-3.0.1.dist-info/WHEEL' adding 'semver-3.0.1.dist-info/entry_points.txt' adding 'semver-3.0.1.dist-info/top_level.txt' adding 'semver-3.0.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for semver (pyproject.toml): finished with status 'done' Created wheel for semver: filename=semver-3.0.1-py3-none-any.whl size=17338 sha256=41c17b34e119f3d2da8d599087faf1bdc5730a435d09d6bca9f41ad40d20f780 Stored in directory: /builddir/.cache/pip/wheels/80/e6/10/9e3d61b423498da96957ca7f17ff9636111c6847b2a48be78d Successfully built semver + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.m75sqA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch + cd python-semver-3.0.1 ++ ls /builddir/build/BUILD/python-semver-3.0.1/pyproject-wheeldir/semver-3.0.1-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=semver==3.0.1 + TMPDIR=/builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-semver-3.0.1/pyproject-wheeldir semver==3.0.1 Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/python-semver-3.0.1/pyproject-wheeldir Processing ./pyproject-wheeldir/semver-3.0.1-py3-none-any.whl Installing collected packages: semver Creating /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/bin/pysemver to 755 Successfully installed semver-3.0.1 + '[' -d /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/bin ']' + '[' -f /usr/bin/pathfix3.11.py ']' + pathfix=/usr/bin/pathfix3.11.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/bin/pysemver /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/bin/pysemver: updating + rm -rfv /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/semver-3.0.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/semver-3.0.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch --record /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/semver-3.0.1.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/semver-3.0.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/semver-3.0.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/semver-3.0.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages/semver-3.0.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr semver + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.0.1-1.ocs23 --unique-debug-suffix -3.0.1-1.ocs23.noarch --unique-debug-src-base python-semver-3.0.1-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/python-semver-3.0.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.9u0JJo + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 python-semver-3.0.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-semver-3.0.1-1.ocs23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-semver-3.0.1/.pyproject-builddir' + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.3.0 rootdir: /builddir/build/BUILD/python-semver-3.0.1 configfile: setup.cfg testpaths: tests, docs plugins: cov-4.0.0 collected 348 items tests/test_bump.py ........................ [ 6%] tests/test_compare.py .................................................. [ 21%] ..... [ 22%] tests/test_deprecated_functions.py ..................... [ 28%] tests/test_docstrings.py ..................... [ 34%] tests/test_format.py .............. [ 38%] tests/test_immutable.py ...... [ 40%] tests/test_index.py ............................................ [ 53%] tests/test_match.py ................... [ 58%] tests/test_max-min.py ........... [ 61%] tests/test_parsing.py .................................. [ 71%] tests/test_pysemver-cli.py ........................... [ 79%] tests/test_replace.py ................. [ 84%] tests/test_semver.py ............................... [ 93%] tests/test_subclass.py . [ 93%] tests/test_typeerror-274.py .. [ 93%] docs/advanced/convert-pypi-to-semver.rst . [ 94%] docs/advanced/create-subclasses-from-version.rst . [ 94%] docs/advanced/deal-with-invalid-versions.rst . [ 94%] docs/contribute/doc-semver.rst . [ 95%] docs/migration/replace-deprecated-functions.rst . [ 95%] docs/usage/access-parts-of-a-version.rst . [ 95%] docs/usage/access-parts-through-index.rst . [ 95%] docs/usage/check-compatible-semver-version.rst . [ 96%] docs/usage/check-valid-semver-version.rst . [ 96%] docs/usage/compare-versions-through-expression.rst . [ 96%] docs/usage/compare-versions.rst . [ 97%] docs/usage/convert-version-into-different-types.rst F [ 97%] docs/usage/create-a-version.rst F [ 97%] docs/usage/determine-version-equality.rst . [ 97%] docs/usage/get-min-and-max-of-multiple-versions.rst . [ 98%] docs/usage/increase-parts-of-a-version_prereleases.rst . [ 98%] docs/usage/parse-version-string.rst . [ 98%] docs/usage/raise-parts-of-a-version.rst . [ 99%] docs/usage/replace-parts-of-a-version.rst . [ 99%] docs/usage/semver-version.rst . [ 99%] docs/usage/semver_org-version.rst . [100%] =================================== FAILURES =================================== ______________ [doctest] convert-version-into-different-types.rst ______________ 010 011 * Into a string with the builtin function :func:`str`:: 012 013 >>> str(Version.parse("3.4.5-pre.2+build.4")) 014 '3.4.5-pre.2+build.4' 015 016 * Into a dictionary with :meth:`~semver.version.Version.to_dict`:: 017 018 >>> v = Version(major=3, minor=4, patch=5) 019 >>> v.to_dict() Differences (ndiff with -expected +actual): - OrderedDict({'major': 3, 'minor': 4, 'patch': 5, 'prerelease': None, 'build': None}) ? ^ ^ ^ ^ ^ ^ ^ + OrderedDict([('major', 3), ('minor', 4), ('patch', 5), ('prerelease', None), ('build', None)]) ? ^^ ^ + + ^ + + ^ + + ^ + + ^ ^^ /builddir/build/BUILD/python-semver-3.0.1/docs/usage/convert-version-into-different-types.rst:19: DocTestFailure ________________________ [doctest] create-a-version.rst ________________________ 083 In some cases you only need a string from your version data:: 084 085 >>> semver.format_version(3, 4, 5, 'pre.2', 'build.4') 086 '3.4.5-pre.2+build.4' 087 088 * From a string into a dictionary 089 090 To access individual parts, you can use the function :func:`semver.parse`:: 091 092 >>> semver.parse("3.4.5-pre.2+build.4") Differences (ndiff with -expected +actual): - OrderedDict({'major': 3, 'minor': 4, 'patch': 5, 'prerelease': 'pre.2', 'build': 'build.4'}) ? ^ ^ ^ ^ ^ ^ ^ + OrderedDict([('major', 3), ('minor', 4), ('patch', 5), ('prerelease', 'pre.2'), ('build', 'build.4')]) ? ^^ ^ + + ^ + + ^ + + ^ + + ^ ^^ /builddir/build/BUILD/python-semver-3.0.1/docs/usage/create-a-version.rst:92: DocTestFailure =============================== warnings summary =============================== tests/test_compare.py::test_should_get_less[1.0.0-2.0.0] tests/test_compare.py::test_should_get_less[1.0.0-alpha-1.0.0-alpha.1] tests/test_compare.py::test_should_get_less[1.0.0-alpha.1-1.0.0-alpha.beta] tests/test_compare.py::test_should_get_less[1.0.0-alpha.beta-1.0.0-beta] tests/test_compare.py::test_should_get_less[1.0.0-beta-1.0.0-beta.2] tests/test_compare.py::test_should_get_less[1.0.0-beta.2-1.0.0-beta.11] tests/test_compare.py::test_should_get_less[1.0.0-beta.11-1.0.0-rc.1] tests/test_compare.py::test_should_get_less[1.0.0-rc.1-1.0.0] /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:21: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == -1 tests/test_compare.py::test_should_get_greater[2.0.0-1.0.0] tests/test_compare.py::test_should_get_greater[1.0.0-alpha.1-1.0.0-alpha] tests/test_compare.py::test_should_get_greater[1.0.0-alpha.beta-1.0.0-alpha.1] tests/test_compare.py::test_should_get_greater[1.0.0-beta-1.0.0-alpha.beta] tests/test_compare.py::test_should_get_greater[1.0.0-beta.2-1.0.0-beta] tests/test_compare.py::test_should_get_greater[1.0.0-beta.11-1.0.0-beta.2] tests/test_compare.py::test_should_get_greater[1.0.0-rc.1-1.0.0-beta.11] tests/test_compare.py::test_should_get_greater[1.0.0-1.0.0-rc.1] /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:38: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == 1 tests/test_compare.py::test_should_raise_value_error_for_invalid_value[foo-bar] tests/test_compare.py::test_should_raise_value_error_for_invalid_value[1.0-1.0.0] tests/test_compare.py::test_should_raise_value_error_for_invalid_value[1.x-1.0.0] /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:46: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. compare(left, right) tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:68: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert ( tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:71: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert ( tests/test_compare.py::test_should_compare_rc_builds[1.0.0-beta.2-1.0.0-beta.11] /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:78: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == -1 tests/test_compare.py::test_should_compare_release_candidate_with_release[1.0.0-rc.1-1.0.0] tests/test_compare.py::test_should_compare_release_candidate_with_release[1.0.0-rc.1+build.1-1.0.0] /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:85: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == -1 tests/test_compare.py::test_should_say_equal_versions_are_equal[2.0.0-2.0.0] tests/test_compare.py::test_should_say_equal_versions_are_equal[1.1.9-rc.1-1.1.9-rc.1] tests/test_compare.py::test_should_say_equal_versions_are_equal[1.1.9+build.1-1.1.9+build.1] tests/test_compare.py::test_should_say_equal_versions_are_equal[1.1.9-rc.1+build.1-1.1.9-rc.1+build.1] /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:98: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == 0 tests/test_compare.py::test_should_compare_versions_with_build_and_release[1.1.9-rc.1-1.1.9-rc.1+build.1-0] tests/test_compare.py::test_should_compare_versions_with_build_and_release[1.1.9-rc.1-1.1.9+build.1--1] /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:106: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == expected tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0+build.1-1.0.0-0] tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0-alpha.1+build.1-1.0.0-alpha.1-0] tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0+build.1-1.0.0-alpha.1-1] tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0+build.1-1.0.0-alpha.1+build.1-1] /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:119: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == expected tests/test_compare.py::test_should_get_more_rc1 /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:123: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare("1.0.0-rc1", "1.0.0-rc0") == 1 tests/test_compare.py::test_should_compare_prerelease_with_numbers_and_letters /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:130: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare("1.9.1-1unms", "1.9.1+1") == -1 tests/test_compare.py::test_should_not_allow_to_compare_version_with_int /builddir/build/BUILD/python-semver-3.0.1/tests/test_compare.py:295: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. semver.compare(1) tests/test_typeerror-274.py::test_should_work_with_string_and_bytes /builddir/build/BUILD/python-semver-3.0.1/tests/test_typeerror-274.py:6: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. result = semver.compare("1.1.0", b"1.2.2") tests/test_typeerror-274.py::test_should_work_with_string_and_bytes /builddir/build/BUILD/python-semver-3.0.1/tests/test_typeerror-274.py:8: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. result = semver.compare(b"1.1.0", "1.2.2") docs/usage/compare-versions.rst::compare-versions.rst :1: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. docs/usage/compare-versions.rst::compare-versions.rst :1: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. docs/usage/compare-versions.rst::compare-versions.rst :1: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED docs/usage/convert-version-into-different-types.rst::convert-version-into-different-types.rst FAILED docs/usage/create-a-version.rst::create-a-version.rst ================== 2 failed, 346 passed, 52 warnings in 1.26s ================== error: Bad exit status from /var/tmp/rpm-tmp.9u0JJo (%check) Bad exit status from /var/tmp/rpm-tmp.9u0JJo (%check) RPM build errors: 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-semver.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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-semver.spec