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-setuptools_scm.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-64916-2992/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=982gid=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-setuptools_scm.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 warning: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-setuptools_scm-7.1.0-3.ocs23.src.rpm RPM build warnings: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-setuptools_scm.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-64916-2992/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=982gid=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-setuptools_scm.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 warning: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c7vbmh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setuptools_scm-7.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/setuptools_scm-7.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd setuptools_scm-7.1.0 + /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.ejXH1K + umask 022 + cd /builddir/build/BUILD + cd setuptools_scm-7.1.0 + 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=py310-test + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -e py310-test Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-setuptools_scm-7.1.0-3.ocs23.buildreqs.nosrc.rpm RPM build warnings: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 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-setuptools_scm.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-64916-2992/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=982gid=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-setuptools_scm.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 warning: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4ysn2u + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setuptools_scm-7.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/setuptools_scm-7.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd setuptools_scm-7.1.0 + /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.NWhetV + umask 022 + cd /builddir/build/BUILD + cd setuptools_scm-7.1.0 + 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=py310-test + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -e py310-test Handling setuptools>=45 from build-system.requires Requirement not satisfied: setuptools>=45 Handling packaging>=20.0 from build-system.requires Requirement satisfied: packaging>=20.0 (installed: packaging 21.3) Handling typing_extensions from build-system.requires Requirement not satisfied: typing_extensions Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-setuptools_scm-7.1.0-3.ocs23.buildreqs.nosrc.rpm RPM build warnings: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 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-setuptools_scm.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-64916-2992/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=982gid=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-setuptools_scm.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 warning: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ARZrZf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setuptools_scm-7.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/setuptools_scm-7.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd setuptools_scm-7.1.0 + /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.pUD5Jb + umask 022 + cd /builddir/build/BUILD + cd setuptools_scm-7.1.0 + 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=py310-test + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -e py310-test Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 62.3.2.post20230908) Handling packaging>=20.0 from build-system.requires Requirement satisfied: packaging>=20.0 (installed: packaging 21.3) Handling typing_extensions from build-system.requires Requirement satisfied: typing_extensions (installed: typing_extensions 3.10.0.2) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) listing git files failed - pretending there aren't any warning: no previously-included files found matching '*.nix' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files found matching '.git_archival.txt' HOOK STDOUT: running egg_info HOOK STDOUT: writing src/setuptools_scm.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/setuptools_scm.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/setuptools_scm.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/setuptools_scm.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/setuptools_scm.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/setuptools_scm.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-setuptools_scm-7.1.0-3.ocs23.buildreqs.nosrc.rpm RPM build warnings: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 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-setuptools_scm.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-64916-2992/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=982gid=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-setuptools_scm.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 warning: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Yo7Y0O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setuptools_scm-7.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/setuptools_scm-7.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd setuptools_scm-7.1.0 + /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.slbHcg + umask 022 + cd /builddir/build/BUILD + cd setuptools_scm-7.1.0 + 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=py310-test + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -e py310-test Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 62.3.2.post20230908) Handling packaging>=20.0 from build-system.requires Requirement satisfied: packaging>=20.0 (installed: packaging 21.3) Handling typing_extensions from build-system.requires Requirement satisfied: typing_extensions (installed: typing_extensions 3.10.0.2) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) listing git files failed - pretending there aren't any warning: no previously-included files found matching '*.nix' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files found matching '.git_archival.txt' HOOK STDOUT: running egg_info HOOK STDOUT: writing src/setuptools_scm.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/setuptools_scm.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/setuptools_scm.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/setuptools_scm.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/setuptools_scm.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement not satisfied: tox-current-env >= 0.0.6 Exiting dependency generation pass: tox itself + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-setuptools_scm-7.1.0-3.ocs23.buildreqs.nosrc.rpm RPM build warnings: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 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-setuptools_scm.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-64916-2992/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=982gid=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-setuptools_scm.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 warning: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AGw0eH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setuptools_scm-7.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/setuptools_scm-7.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd setuptools_scm-7.1.0 + /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.KHL1Dv + umask 022 + cd /builddir/build/BUILD + cd setuptools_scm-7.1.0 + 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=py310-test + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -e py310-test Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 62.3.2.post20230908) Handling packaging>=20.0 from build-system.requires Requirement satisfied: packaging>=20.0 (installed: packaging 21.3) Handling typing_extensions from build-system.requires Requirement satisfied: typing_extensions (installed: typing_extensions 3.10.0.2) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) listing git files failed - pretending there aren't any warning: no previously-included files found matching '*.nix' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files found matching '.git_archival.txt' HOOK STDOUT: running egg_info HOOK STDOUT: writing src/setuptools_scm.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/setuptools_scm.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/setuptools_scm.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/setuptools_scm.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/setuptools_scm.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.8) ___________________________________ summary ____________________________________ py310-test: commands succeeded congratulations :) Handling pytest from tox --print-deps-only: py310-test Requirement not satisfied: pytest Handling setuptools >= 45 from tox --print-deps-only: py310-test Requirement satisfied: setuptools >= 45 (installed: setuptools 62.3.2.post20230908) Handling virtualenv>20 from tox --print-deps-only: py310-test Requirement satisfied: virtualenv>20 (installed: virtualenv 20.13.3) Handling typing_extensions from tox --print-deps-only: py310-test Requirement satisfied: typing_extensions (installed: typing_extensions 3.10.0.2) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) listing git files failed - pretending there aren't any warning: no previously-included files found matching '*.nix' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files found matching '.git_archival.txt' HOOK STDOUT: running dist_info HOOK STDOUT: creating setuptools_scm.egg-info HOOK STDOUT: writing setuptools_scm.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to setuptools_scm.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to setuptools_scm.egg-info/entry_points.txt HOOK STDOUT: writing requirements to setuptools_scm.egg-info/requires.txt HOOK STDOUT: writing top-level names to setuptools_scm.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/setuptools_scm-7.1.0/setuptools_scm-7.1.0.dist-info' Handling packaging (>=20.0) from wheel metadata: Requires-Dist Requirement satisfied: packaging (>=20.0) (installed: packaging 21.3) Handling setuptools from wheel metadata: Requires-Dist Requirement satisfied: setuptools (installed: setuptools 62.3.2.post20230908) Handling typing-extensions from wheel metadata: Requires-Dist Requirement satisfied: typing-extensions (installed: typing-extensions 3.10.0.2) Handling tomli (>=1.0.0) ; python_version < "3.11" from wheel metadata: Requires-Dist Requirement not satisfied: tomli (>=1.0.0) ; python_version < "3.11" Handling importlib-metadata ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata ; python_version < "3.8" Handling pytest (>=6.2) ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest (>=6.2) ; extra == 'test' Handling virtualenv (>20) ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: virtualenv (>20) ; extra == 'test' Handling setuptools (>=42) ; extra == 'toml' from wheel metadata: Requires-Dist Ignoring alien requirement: setuptools (>=42) ; extra == 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-setuptools_scm-7.1.0-3.ocs23.buildreqs.nosrc.rpm RPM build warnings: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 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-setuptools_scm.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-64916-2992/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=982gid=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-setuptools_scm.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 warning: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.niQpPs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setuptools_scm-7.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/setuptools_scm-7.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd setuptools_scm-7.1.0 + /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.RrFNEx + umask 022 + cd /builddir/build/BUILD + cd setuptools_scm-7.1.0 + 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=py310-test + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -e py310-test Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 62.3.2.post20230908) Handling packaging>=20.0 from build-system.requires Requirement satisfied: packaging>=20.0 (installed: packaging 21.3) Handling typing_extensions from build-system.requires Requirement satisfied: typing_extensions (installed: typing_extensions 3.10.0.2) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) listing git files failed - pretending there aren't any warning: no previously-included files found matching '*.nix' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files found matching '.git_archival.txt' HOOK STDOUT: running egg_info HOOK STDOUT: writing src/setuptools_scm.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/setuptools_scm.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/setuptools_scm.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/setuptools_scm.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/setuptools_scm.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.8) ___________________________________ summary ____________________________________ py310-test: commands succeeded congratulations :) Handling pytest from tox --print-deps-only: py310-test Requirement satisfied: pytest (installed: pytest 7.1.3) Handling setuptools >= 45 from tox --print-deps-only: py310-test Requirement satisfied: setuptools >= 45 (installed: setuptools 62.3.2.post20230908) Handling virtualenv>20 from tox --print-deps-only: py310-test Requirement satisfied: virtualenv>20 (installed: virtualenv 20.13.3) Handling typing_extensions from tox --print-deps-only: py310-test Requirement satisfied: typing_extensions (installed: typing_extensions 3.10.0.2) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) listing git files failed - pretending there aren't any warning: no previously-included files found matching '*.nix' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files found matching '.git_archival.txt' HOOK STDOUT: running dist_info HOOK STDOUT: creating setuptools_scm.egg-info HOOK STDOUT: writing setuptools_scm.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to setuptools_scm.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to setuptools_scm.egg-info/entry_points.txt HOOK STDOUT: writing requirements to setuptools_scm.egg-info/requires.txt HOOK STDOUT: writing top-level names to setuptools_scm.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/setuptools_scm-7.1.0/setuptools_scm-7.1.0.dist-info' Handling packaging (>=20.0) from wheel metadata: Requires-Dist Requirement satisfied: packaging (>=20.0) (installed: packaging 21.3) Handling setuptools from wheel metadata: Requires-Dist Requirement satisfied: setuptools (installed: setuptools 62.3.2.post20230908) Handling typing-extensions from wheel metadata: Requires-Dist Requirement satisfied: typing-extensions (installed: typing-extensions 3.10.0.2) Handling tomli (>=1.0.0) ; python_version < "3.11" from wheel metadata: Requires-Dist Requirement satisfied: tomli (>=1.0.0) ; python_version < "3.11" (installed: tomli 2.0.1) Handling importlib-metadata ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata ; python_version < "3.8" Handling pytest (>=6.2) ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest (>=6.2) ; extra == 'test' Handling virtualenv (>20) ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: virtualenv (>20) ; extra == 'test' Handling setuptools (>=42) ; extra == 'toml' from wheel metadata: Requires-Dist Ignoring alien requirement: setuptools (>=42) ; extra == 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-setuptools_scm-7.1.0-3.ocs23.buildreqs.nosrc.rpm RPM build warnings: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 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-setuptools_scm.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-64916-2992/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=982gid=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-setuptools_scm.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 warning: bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 Building target platforms: noarch Building for target noarch Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.uelWAi + umask 022 + cd /builddir/build/BUILD + cd setuptools_scm-7.1.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv setuptools_scm-7.1.0.dist-info/ removed 'setuptools_scm-7.1.0.dist-info/METADATA' removed 'setuptools_scm-7.1.0.dist-info/top_level.txt' removed 'setuptools_scm-7.1.0.dist-info/LICENSE' removed 'setuptools_scm-7.1.0.dist-info/entry_points.txt' removed 'setuptools_scm-7.1.0.dist-info/zip-safe' removed directory 'setuptools_scm-7.1.0.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310-test + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -e py310-test Handling setuptools>=45 from build-system.requires Requirement satisfied: setuptools>=45 (installed: setuptools 62.3.2.post20230908) Handling packaging>=20.0 from build-system.requires Requirement satisfied: packaging>=20.0 (installed: packaging 21.3) Handling typing_extensions from build-system.requires Requirement satisfied: typing_extensions (installed: typing_extensions 3.10.0.2) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) listing git files failed - pretending there aren't any warning: no previously-included files found matching '*.nix' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files found matching '.git_archival.txt' HOOK STDOUT: running egg_info HOOK STDOUT: writing src/setuptools_scm.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/setuptools_scm.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/setuptools_scm.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/setuptools_scm.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/setuptools_scm.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.8) ___________________________________ summary ____________________________________ py310-test: commands succeeded congratulations :) Handling pytest from tox --print-deps-only: py310-test Requirement satisfied: pytest (installed: pytest 7.1.3) Handling setuptools >= 45 from tox --print-deps-only: py310-test Requirement satisfied: setuptools >= 45 (installed: setuptools 62.3.2.post20230908) Handling virtualenv>20 from tox --print-deps-only: py310-test Requirement satisfied: virtualenv>20 (installed: virtualenv 20.13.3) Handling typing_extensions from tox --print-deps-only: py310-test Requirement satisfied: typing_extensions (installed: typing_extensions 3.10.0.2) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) listing git files failed - pretending there aren't any warning: no previously-included files found matching '*.nix' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files found matching '.git_archival.txt' HOOK STDOUT: running dist_info HOOK STDOUT: creating setuptools_scm.egg-info HOOK STDOUT: writing setuptools_scm.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to setuptools_scm.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to setuptools_scm.egg-info/entry_points.txt HOOK STDOUT: writing requirements to setuptools_scm.egg-info/requires.txt HOOK STDOUT: writing top-level names to setuptools_scm.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'setuptools_scm.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/setuptools_scm-7.1.0/setuptools_scm-7.1.0.dist-info' Handling packaging (>=20.0) from wheel metadata: Requires-Dist Requirement satisfied: packaging (>=20.0) (installed: packaging 21.3) Handling setuptools from wheel metadata: Requires-Dist Requirement satisfied: setuptools (installed: setuptools 62.3.2.post20230908) Handling typing-extensions from wheel metadata: Requires-Dist Requirement satisfied: typing-extensions (installed: typing-extensions 3.10.0.2) Handling tomli (>=1.0.0) ; python_version < "3.11" from wheel metadata: Requires-Dist Requirement satisfied: tomli (>=1.0.0) ; python_version < "3.11" (installed: tomli 2.0.1) Handling importlib-metadata ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata ; python_version < "3.8" Handling pytest (>=6.2) ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest (>=6.2) ; extra == 'test' Handling virtualenv (>20) ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: virtualenv (>20) ; extra == 'test' Handling setuptools (>=42) ; extra == 'toml' from wheel metadata: Requires-Dist Ignoring alien requirement: setuptools (>=42) ; extra == 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hjqvnf + 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 setuptools_scm-7.1.0 + mkdir -p /builddir/build/BUILD/setuptools_scm-7.1.0/.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/setuptools_scm-7.1.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/setuptools_scm-7.1.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/setuptools_scm-7.1.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running dist_info creating /builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir/pip-modern-metadata-a6cmeyot/setuptools_scm.egg-info writing /builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir/pip-modern-metadata-a6cmeyot/setuptools_scm.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir/pip-modern-metadata-a6cmeyot/setuptools_scm.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir/pip-modern-metadata-a6cmeyot/setuptools_scm.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir/pip-modern-metadata-a6cmeyot/setuptools_scm.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir/pip-modern-metadata-a6cmeyot/setuptools_scm.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir/pip-modern-metadata-a6cmeyot/setuptools_scm.egg-info/SOURCES.txt' listing git files failed - pretending there aren't any reading manifest file '/builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir/pip-modern-metadata-a6cmeyot/setuptools_scm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '*.nix' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files found matching '.git_archival.txt' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir/pip-modern-metadata-a6cmeyot/setuptools_scm.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir/pip-modern-metadata-a6cmeyot/setuptools_scm-7.1.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: setuptools-scm Building wheel for setuptools-scm (pyproject.toml): started Running command Building wheel for setuptools-scm (pyproject.toml) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/setuptools_scm copying src/setuptools_scm/integration.py -> build/lib/setuptools_scm copying src/setuptools_scm/git.py -> build/lib/setuptools_scm copying src/setuptools_scm/_cli.py -> build/lib/setuptools_scm copying src/setuptools_scm/_entrypoints.py -> build/lib/setuptools_scm copying src/setuptools_scm/utils.py -> build/lib/setuptools_scm copying src/setuptools_scm/_types.py -> build/lib/setuptools_scm copying src/setuptools_scm/version.py -> build/lib/setuptools_scm copying src/setuptools_scm/file_finder.py -> build/lib/setuptools_scm copying src/setuptools_scm/__main__.py -> build/lib/setuptools_scm copying src/setuptools_scm/_overrides.py -> build/lib/setuptools_scm copying src/setuptools_scm/hg.py -> build/lib/setuptools_scm copying src/setuptools_scm/__init__.py -> build/lib/setuptools_scm copying src/setuptools_scm/hacks.py -> build/lib/setuptools_scm copying src/setuptools_scm/_version_cls.py -> build/lib/setuptools_scm copying src/setuptools_scm/config.py -> build/lib/setuptools_scm copying src/setuptools_scm/file_finder_hg.py -> build/lib/setuptools_scm copying src/setuptools_scm/hg_git.py -> build/lib/setuptools_scm copying src/setuptools_scm/file_finder_git.py -> build/lib/setuptools_scm copying src/setuptools_scm/discover.py -> build/lib/setuptools_scm copying src/setuptools_scm/scm_workdir.py -> build/lib/setuptools_scm creating build/lib/setuptools_scm/_integration copying src/setuptools_scm/_integration/__init__.py -> build/lib/setuptools_scm/_integration copying src/setuptools_scm/_integration/setuptools.py -> build/lib/setuptools_scm/_integration copying src/setuptools_scm/_integration/pyproject_reading.py -> build/lib/setuptools_scm/_integration 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/setuptools_scm copying build/lib/setuptools_scm/integration.py -> build/bdist.linux-x86_64/wheel/setuptools_scm creating build/bdist.linux-x86_64/wheel/setuptools_scm/_integration copying build/lib/setuptools_scm/_integration/__init__.py -> build/bdist.linux-x86_64/wheel/setuptools_scm/_integration copying build/lib/setuptools_scm/_integration/setuptools.py -> build/bdist.linux-x86_64/wheel/setuptools_scm/_integration copying build/lib/setuptools_scm/_integration/pyproject_reading.py -> build/bdist.linux-x86_64/wheel/setuptools_scm/_integration copying build/lib/setuptools_scm/git.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/_cli.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/_entrypoints.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/utils.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/_types.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/version.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/file_finder.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/__main__.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/_overrides.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/hg.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/__init__.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/hacks.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/_version_cls.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/config.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/file_finder_hg.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/hg_git.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/file_finder_git.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/discover.py -> build/bdist.linux-x86_64/wheel/setuptools_scm copying build/lib/setuptools_scm/scm_workdir.py -> build/bdist.linux-x86_64/wheel/setuptools_scm running install_egg_info running egg_info writing src/setuptools_scm.egg-info/PKG-INFO writing dependency_links to src/setuptools_scm.egg-info/dependency_links.txt writing entry points to src/setuptools_scm.egg-info/entry_points.txt writing requirements to src/setuptools_scm.egg-info/requires.txt writing top-level names to src/setuptools_scm.egg-info/top_level.txt listing git files failed - pretending there aren't any reading manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '*.nix' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files found matching '.git_archival.txt' adding license file 'LICENSE' writing manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' Copying src/setuptools_scm.egg-info to build/bdist.linux-x86_64/wheel/setuptools_scm-7.1.0-py3.10.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/setuptools_scm-7.1.0.dist-info/WHEEL creating '/builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir/pip-wheel-vlz_j8c1/tmp155q63td/setuptools_scm-7.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'setuptools_scm/__init__.py' adding 'setuptools_scm/__main__.py' adding 'setuptools_scm/_cli.py' adding 'setuptools_scm/_entrypoints.py' adding 'setuptools_scm/_overrides.py' adding 'setuptools_scm/_types.py' adding 'setuptools_scm/_version_cls.py' adding 'setuptools_scm/config.py' adding 'setuptools_scm/discover.py' adding 'setuptools_scm/file_finder.py' adding 'setuptools_scm/file_finder_git.py' adding 'setuptools_scm/file_finder_hg.py' adding 'setuptools_scm/git.py' adding 'setuptools_scm/hacks.py' adding 'setuptools_scm/hg.py' adding 'setuptools_scm/hg_git.py' adding 'setuptools_scm/integration.py' adding 'setuptools_scm/scm_workdir.py' adding 'setuptools_scm/utils.py' adding 'setuptools_scm/version.py' adding 'setuptools_scm/_integration/__init__.py' adding 'setuptools_scm/_integration/pyproject_reading.py' adding 'setuptools_scm/_integration/setuptools.py' adding 'setuptools_scm-7.1.0.dist-info/LICENSE' adding 'setuptools_scm-7.1.0.dist-info/METADATA' adding 'setuptools_scm-7.1.0.dist-info/WHEEL' adding 'setuptools_scm-7.1.0.dist-info/entry_points.txt' adding 'setuptools_scm-7.1.0.dist-info/top_level.txt' adding 'setuptools_scm-7.1.0.dist-info/zip-safe' adding 'setuptools_scm-7.1.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for setuptools-scm (pyproject.toml): finished with status 'done' Created wheel for setuptools-scm: filename=setuptools_scm-7.1.0-py3-none-any.whl size=43831 sha256=eb1e0e6fd6d45a6ca5dc64a52e62388ea532a9494d0f2c09311c602a8c68e6e6 Stored in directory: /builddir/.cache/pip/wheels/e0/41/be/44bb3f80ef4763337349acec731caf91e715db67560963fa2f Successfully built setuptools-scm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NOXg1a + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch + cd setuptools_scm-7.1.0 ++ ls /builddir/build/BUILD/setuptools_scm-7.1.0/pyproject-wheeldir/setuptools_scm-7.1.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=setuptools_scm==7.1.0 + TMPDIR=/builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.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/setuptools_scm-7.1.0/pyproject-wheeldir setuptools_scm==7.1.0 Using pip 22.1.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/setuptools_scm-7.1.0/pyproject-wheeldir Processing ./pyproject-wheeldir/setuptools_scm-7.1.0-py3-none-any.whl Installing collected packages: setuptools_scm Successfully installed setuptools_scm-7.1.0 + '[' -d /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/setuptools_scm-7.1.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages/setuptools_scm-7.1.0.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-setuptools_scm-7.1.0-3.ocs23.noarch --record /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages/setuptools_scm-7.1.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages/setuptools_scm-7.1.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages/setuptools_scm-7.1.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages/setuptools_scm-7.1.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages/setuptools_scm-7.1.0.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-setuptools_scm-7.1.0-3.ocs23.noarch --sitelib /usr/lib/python3.10/site-packages --sitearch /usr/lib64/python3.10/site-packages --python-version 3.10 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr setuptools_scm + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 7.1.0-3.ocs23 --unique-debug-suffix -7.1.0-3.ocs23.noarch --unique-debug-src-base python-setuptools_scm-7.1.0-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/setuptools_scm-7.1.0 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 grep: Perl matching not supported in a --disable-perl-regexp build + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NHnjue + 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 setuptools_scm-7.1.0 + TOX_TESTENV_PASSENV='*' + PYTHONDONTWRITEBYTECODE=1 + PATH=/builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/setuptools_scm-7.1.0/.pyproject-builddir' + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py310-test -- -v -k 'not test_pip_download and not test_distlib_setuptools_works and not test_pyproject_support' ============================= test session starts ============================== platform linux -- Python 3.10.5, pytest-7.1.3, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .tox/py310-test/.pytest_cache setuptools version 62.3.2.post20230908 from '/usr/lib/python3.10/site-packages/setuptools/__init__.py' setuptools_scm version 7.1.0 from '/builddir/build/BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages/setuptools_scm/__init__.py' packaging version 21.3 from '/usr/lib/python3.10/site-packages/packaging/__init__.py' rootdir: /builddir/build/BUILD/setuptools_scm-7.1.0, configfile: tox.ini, testpaths: testing collecting ... collected 255 items / 7 deselected / 248 selected testing/test_basic_api.py::test_do[ls] PASSED [ 0%] testing/test_basic_api.py::test_do[dir] PASSED [ 0%] testing/test_basic_api.py::test_data_from_mime PASSED [ 1%] testing/test_basic_api.py::test_version_from_pkginfo PASSED [ 1%] testing/test_basic_api.py::test_root_parameter_creation PASSED [ 2%] testing/test_basic_api.py::test_version_from_scm PASSED [ 2%] testing/test_basic_api.py::test_root_parameter_pass_by PASSED [ 2%] testing/test_basic_api.py::test_parentdir_prefix PASSED [ 3%] testing/test_basic_api.py::test_fallback PASSED [ 3%] testing/test_basic_api.py::test_empty_pretend_version PASSED [ 4%] testing/test_basic_api.py::test_empty_pretend_version_named PASSED [ 4%] testing/test_basic_api.py::test_pretended[1.0] PASSED [ 4%] testing/test_basic_api.py::test_pretended[1.2.3.dev1+ge871260] PASSED [ 5%] testing/test_basic_api.py::test_pretended[1.2.3.dev15+ge871260.d20180625] PASSED [ 5%] testing/test_basic_api.py::test_pretended[2345] PASSED [ 6%] testing/test_basic_api.py::test_root_relative_to PASSED [ 6%] testing/test_basic_api.py::test_dump_version PASSED [ 6%] testing/test_basic_api.py::test_parse_plain_fails PASSED [ 7%] testing/test_basic_api.py::test_custom_version_cls PASSED [ 7%] testing/test_cli.py::test_cli_find_pyproject PASSED [ 8%] testing/test_config.py::test_tag_regex[apache-arrow-0.9.0-0.9.0] PASSED [ 8%] testing/test_config.py::test_tag_regex[arrow-0.9.0-0.9.0] PASSED [ 8%] testing/test_config.py::test_tag_regex[arrow-0.9.0-rc-0.9.0-rc] PASSED [ 9%] testing/test_config.py::test_tag_regex[arrow-1-1] PASSED [ 9%] testing/test_config.py::test_tag_regex[arrow-1+-1] PASSED [ 10%] testing/test_config.py::test_tag_regex[arrow-1+foo-1] PASSED [ 10%] testing/test_config.py::test_tag_regex[arrow-1.1+foo-1.1] PASSED [ 10%] testing/test_config.py::test_tag_regex[v1.1-v1.1] PASSED [ 11%] testing/test_config.py::test_tag_regex[V1.1-V1.1] PASSED [ 11%] testing/test_config.py::test_config_from_pyproject PASSED [ 12%] testing/test_config.py::test_config_regex_init PASSED [ 12%] testing/test_config.py::test_config_from_file_protects_relative_to PASSED [ 12%] testing/test_file_finder.py::test_basic[git] PASSED [ 13%] testing/test_file_finder.py::test_basic[hg] PASSED [ 13%] testing/test_file_finder.py::test_whitespace[git] PASSED [ 14%] testing/test_file_finder.py::test_whitespace[hg] PASSED [ 14%] testing/test_file_finder.py::test_case[git] PASSED [ 14%] testing/test_file_finder.py::test_case[hg] PASSED [ 15%] testing/test_file_finder.py::test_symlink_dir[git] PASSED [ 15%] testing/test_file_finder.py::test_symlink_dir[hg] PASSED [ 16%] testing/test_file_finder.py::test_symlink_dir_source_not_in_scm[git] PASSED [ 16%] testing/test_file_finder.py::test_symlink_dir_source_not_in_scm[hg] PASSED [ 16%] testing/test_file_finder.py::test_symlink_file[git] PASSED [ 17%] testing/test_file_finder.py::test_symlink_file[hg] PASSED [ 17%] testing/test_file_finder.py::test_symlink_file_source_not_in_scm[git] PASSED [ 18%] testing/test_file_finder.py::test_symlink_file_source_not_in_scm[hg] PASSED [ 18%] testing/test_file_finder.py::test_symlink_loop[git] PASSED [ 18%] testing/test_file_finder.py::test_symlink_loop[hg] PASSED [ 19%] testing/test_file_finder.py::test_symlink_loop_outside_path[git] PASSED [ 19%] testing/test_file_finder.py::test_symlink_loop_outside_path[hg] PASSED [ 20%] testing/test_file_finder.py::test_symlink_dir_out_of_git[git] PASSED [ 20%] testing/test_file_finder.py::test_symlink_dir_out_of_git[hg] PASSED [ 20%] testing/test_file_finder.py::test_symlink_file_out_of_git[git] PASSED [ 21%] testing/test_file_finder.py::test_symlink_file_out_of_git[hg] PASSED [ 21%] testing/test_file_finder.py::test_ignore_root[git-{cwd}] PASSED [ 22%] testing/test_file_finder.py::test_ignore_root[git-{cwd}:broken] PASSED [ 22%] testing/test_file_finder.py::test_ignore_root[hg-{cwd}] PASSED [ 22%] testing/test_file_finder.py::test_ignore_root[hg-{cwd}:broken] PASSED [ 23%] testing/test_file_finder.py::test_empty_root[git] PASSED [ 23%] testing/test_file_finder.py::test_empty_root[hg] PASSED [ 24%] testing/test_file_finder.py::test_empty_subdir[git] PASSED [ 24%] testing/test_file_finder.py::test_empty_subdir[hg] PASSED [ 25%] testing/test_file_finder.py::test_double_include_through_symlink[git] PASSED [ 25%] testing/test_file_finder.py::test_double_include_through_symlink[hg] PASSED [ 25%] testing/test_file_finder.py::test_symlink_not_in_scm_while_target_is[git] PASSED [ 26%] testing/test_file_finder.py::test_symlink_not_in_scm_while_target_is[hg] PASSED [ 26%] testing/test_file_finder.py::test_not_commited[git] PASSED [ 27%] testing/test_file_finder.py::test_not_commited[hg] PASSED [ 27%] testing/test_file_finder.py::test_unexpanded_git_archival PASSED [ 27%] testing/test_file_finder.py::test_archive[.git_archival.txt] PASSED [ 28%] testing/test_file_finder.py::test_archive[.hg_archival.txt] PASSED [ 28%] testing/test_functions.py::test_next_tag[1.1-1.2] PASSED [ 29%] testing/test_functions.py::test_next_tag[1.2.dev-1.2] PASSED [ 29%] testing/test_functions.py::test_next_tag[1.1a2-1.1a3] PASSED [ 29%] testing/test_functions.py::test_next_tag[23.24.post2+deadbeef-23.24.post3] PASSED [ 30%] testing/test_functions.py::test_format_version[exact-guess-next-dev node-and-date-1.1] PASSED [ 30%] testing/test_functions.py::test_format_version[zerodistance-guess-next-dev node-and-date-1.2.dev0] PASSED [ 31%] testing/test_functions.py::test_format_version[zerodistance-guess-next-dev no-local-version-1.2.dev0] PASSED [ 31%] testing/test_functions.py::test_format_version[dirty-guess-next-dev node-and-date-1.2.dev0+d20090213] PASSED [ 31%] testing/test_functions.py::test_format_version[dirty-guess-next-dev no-local-version-1.2.dev0] PASSED [ 32%] testing/test_functions.py::test_format_version[distance-guess-next-dev node-and-date-1.2.dev3] PASSED [ 32%] testing/test_functions.py::test_format_version[distancedirty-guess-next-dev node-and-date-1.2.dev3+d20090213] PASSED [ 33%] testing/test_functions.py::test_format_version[distancedirty-guess-next-dev no-local-version-1.2.dev3] PASSED [ 33%] testing/test_functions.py::test_format_version[exact-post-release node-and-date-1.1] PASSED [ 33%] testing/test_functions.py::test_format_version[zerodistance-post-release node-and-date-1.1.post0] PASSED [ 34%] testing/test_functions.py::test_format_version[dirty-post-release node-and-date-1.1.post0+d20090213] PASSED [ 34%] testing/test_functions.py::test_format_version[distance-post-release node-and-date-1.1.post3] PASSED [ 35%] testing/test_functions.py::test_format_version[distancedirty-post-release node-and-date-1.1.post3+d20090213] PASSED [ 35%] testing/test_functions.py::test_dump_version_doesnt_bail_on_value_error PASSED [ 35%] testing/test_functions.py::test_dump_version_works_with_pretend[1.0] PASSED [ 36%] testing/test_functions.py::test_dump_version_works_with_pretend[1.2.3.dev1+ge871260] PASSED [ 36%] testing/test_functions.py::test_dump_version_works_with_pretend[1.2.3.dev15+ge871260.d20180625] PASSED [ 37%] testing/test_functions.py::test_has_command PASSED [ 37%] testing/test_functions.py::test_tag_to_version[1.1-1.1] PASSED [ 37%] testing/test_functions.py::test_tag_to_version[release-1.1-1.1] PASSED [ 38%] testing/test_functions.py::test_tag_to_version[3.3.1-rc26-3.3.1rc26] PASSED [ 38%] testing/test_git.py::test_parse_describe_output[3.3.1-rc26-0-g9df187b-3.3.1-rc26-0-g9df187b-False] PASSED [ 39%] testing/test_git.py::test_parse_describe_output[17.33.0-rc-17-g38c3047c0-17.33.0-rc-17-g38c3047c0-False] PASSED [ 39%] testing/test_git.py::test_root_relative_to PASSED [ 39%] testing/test_git.py::test_root_search_parent_directories PASSED [ 40%] testing/test_git.py::test_git_gone PASSED [ 40%] testing/test_git.py::test_file_finder_no_history PASSED [ 41%] testing/test_git.py::test_parse_call_order PASSED [ 41%] testing/test_git.py::test_not_owner XFAIL ([NOTRUN] This test requir...) [ 41%] testing/test_git.py::test_version_from_git PASSED [ 42%] testing/test_git.py::test_git_version_unnormalized_setuptools[false] PASSED [ 42%] testing/test_git.py::test_git_version_unnormalized_setuptools[with_created_class] PASSED [ 43%] testing/test_git.py::test_git_version_unnormalized_setuptools[with_named_import] PASSED [ 43%] testing/test_git.py::test_unicode_version_scheme PASSED [ 43%] testing/test_git.py::test_git_worktree PASSED [ 44%] testing/test_git.py::test_git_dirty_notag[False] PASSED [ 44%] testing/test_git.py::test_git_dirty_notag[True] PASSED [ 45%] testing/test_git.py::test_git_worktree_support XFAIL (sometimes rela...) [ 45%] testing/test_git.py::test_git_parse_shallow_warns PASSED [ 45%] testing/test_git.py::test_git_parse_shallow_fail PASSED [ 46%] testing/test_git.py::test_git_shallow_autocorrect PASSED [ 46%] testing/test_git.py::test_find_files_stop_at_root_git PASSED [ 47%] testing/test_git.py::test_parse_no_worktree PASSED [ 47%] testing/test_git.py::test_alphanumeric_tags_match PASSED [ 47%] testing/test_git.py::test_git_archive_export_ignore PASSED [ 48%] testing/test_git.py::test_git_archive_subdirectory PASSED [ 48%] testing/test_git.py::test_git_archive_run_from_subdirectory PASSED [ 49%] testing/test_git.py::test_git_branch_names_correct PASSED [ 49%] testing/test_git.py::test_git_feature_branch_increments_major PASSED [ 50%] testing/test_git.py::test_not_matching_tags PASSED [ 50%] testing/test_git.py::test_non_dotted_version XPASS (https://github.c...) [ 50%] testing/test_git.py::test_non_dotted_version_with_updated_regex PASSED [ 51%] testing/test_git.py::test_non_dotted_tag_no_version_match PASSED [ 51%] testing/test_git.py::test_gitdir PASSED [ 52%] testing/test_git.py::test_git_getdate PASSED [ 52%] testing/test_git.py::test_git_getdate_badgit PASSED [ 52%] testing/test_git.py::test_git_getdate_signed_commit SKIPPED (gpg exe...) [ 53%] testing/test_git.py::test_git_archival_to_version[1.0-from_data0] PASSED [ 53%] testing/test_git.py::test_git_archival_to_version[1.1.dev3+g0000-from_data1] PASSED [ 54%] testing/test_git.py::test_git_archival_to_version[0.0-from_data2] PASSED [ 54%] testing/test_git.py::test_git_archival_to_version[1.2.2-from_data3] PASSED [ 54%] testing/test_git.py::test_git_archival_to_version[1.2.2.dev0-from_data4] PASSED [ 55%] testing/test_git.py::test_git_archival_to_version[1.2.2-from_data5] PASSED [ 55%] testing/test_git.py::test_git_archival_node_missing_no_version PASSED [ 56%] testing/test_git.py::test_git_archival_from_unfiltered PASSED [ 56%] testing/test_hg_git.py::test_base SKIPPED (hg-git not installed) [ 56%] testing/test_integration.py::test_pretend_version PASSED [ 57%] testing/test_integration.py::test_pretend_version_named_pyproject_integration[setup.py] PASSED [ 57%] testing/test_integration.py::test_pretend_version_named_pyproject_integration[setup.cfg] PASSED [ 58%] testing/test_integration.py::test_pretend_version_named_pyproject_integration[pyproject tool.setuptools_scm] PASSED [ 58%] testing/test_integration.py::test_pretend_version_named_pyproject_integration[pyproject.project] PASSED [ 58%] testing/test_integration.py::test_pretend_version_named PASSED [ 59%] testing/test_integration.py::test_pretend_version_name_takes_precedence PASSED [ 59%] testing/test_integration.py::test_pretend_version_accepts_bad_string PASSED [ 60%] testing/test_integration.py::testwarn_on_broken_setuptools PASSED [ 60%] testing/test_integration.py::test_distribution_procides_extras PASSED [ 60%] testing/test_integration.py::test_unicode_in_setup_cfg PASSED [ 61%] testing/test_main.py::test_main PASSED [ 61%] testing/test_main.py::test_repo_with_config PASSED [ 62%] testing/test_main.py::test_repo_without_config PASSED [ 62%] testing/test_main.py::test_repo_with_pyproject_missing_setuptools_scm PASSED [ 62%] testing/test_mercurial.py::test_archival_to_version[0.0-data0] PASSED [ 63%] testing/test_mercurial.py::test_archival_to_version[1.0-data1] PASSED [ 63%] testing/test_mercurial.py::test_archival_to_version[1.1.dev3+h000000000000-data2] PASSED [ 64%] testing/test_mercurial.py::test_archival_to_version[1.2.2-data3] PASSED [ 64%] testing/test_mercurial.py::test_archival_to_version[1.2.2.dev0-data4] PASSED [ 64%] testing/test_mercurial.py::test_hg_gone PASSED [ 65%] testing/test_mercurial.py::test_find_files_stop_at_root_hg PASSED [ 65%] testing/test_mercurial.py::test_version_from_hg_id PASSED [ 66%] testing/test_mercurial.py::test_version_from_archival PASSED [ 66%] testing/test_mercurial.py::test_version_in_merge PASSED [ 66%] testing/test_mercurial.py::test_parse_no_worktree PASSED [ 67%] testing/test_mercurial.py::test_version_bump_before_merge_commit PASSED [ 67%] testing/test_mercurial.py::test_version_bump_from_merge_commit PASSED [ 68%] testing/test_mercurial.py::test_version_bump_from_commit_including_hgtag_mods PASSED [ 68%] testing/test_mercurial.py::test_latest_tag_detection PASSED [ 68%] testing/test_mercurial.py::test_feature_branch_increments_major PASSED [ 69%] testing/test_regressions.py::test_pkginfo_noscmroot PASSED [ 69%] testing/test_regressions.py::test_pip_egg_info PASSED [ 70%] testing/test_regressions.py::test_use_scm_version_callable PASSED [ 70%] testing/test_regressions.py::test_case_mismatch_on_windows_git SKIPPED [ 70%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-31.0] SKIPPED [ 71%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-32.0] SKIPPED [ 71%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-33.0] SKIPPED [ 72%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-34.0] SKIPPED [ 72%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-35.0] SKIPPED [ 72%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-36.0] SKIPPED [ 73%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-37.0] SKIPPED [ 73%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-38.0] SKIPPED [ 74%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-39.0] SKIPPED [ 74%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-40.0] SKIPPED [ 75%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-41.0] SKIPPED [ 75%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-42.0] SKIPPED [ 75%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-43.0] SKIPPED [ 76%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_expecting_pyproject_support-44.0] SKIPPED [ 76%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-31.0] SKIPPED [ 77%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-32.0] SKIPPED [ 77%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-33.0] SKIPPED [ 77%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-34.0] SKIPPED [ 78%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-35.0] SKIPPED [ 78%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-36.0] SKIPPED [ 79%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-37.0] SKIPPED [ 79%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-38.0] SKIPPED [ 79%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-39.0] SKIPPED [ 80%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-40.0] SKIPPED [ 80%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-41.0] SKIPPED [ 81%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-42.0] SKIPPED [ 81%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-43.0] SKIPPED [ 81%] testing/test_setuptools_support.py::test_on_old_setuptools[prepare_setup_py_config-44.0] SKIPPED [ 82%] testing/test_version.py::test_next_semver[exact] PASSED [ 82%] testing/test_version.py::test_next_semver[short_tag] PASSED [ 83%] testing/test_version.py::test_next_semver[normal_branch] PASSED [ 83%] testing/test_version.py::test_next_semver[normal_branch_short_tag] PASSED [ 83%] testing/test_version.py::test_next_semver[feature_branch] PASSED [ 84%] testing/test_version.py::test_next_semver[feature_branch_short_tag] PASSED [ 84%] testing/test_version.py::test_next_semver[feature_in_branch] PASSED [ 85%] testing/test_version.py::test_next_semver_bad_tag PASSED [ 85%] testing/test_version.py::test_next_release_branch_semver[exact] PASSED [ 85%] testing/test_version.py::test_next_release_branch_semver[development_branch] PASSED [ 86%] testing/test_version.py::test_next_release_branch_semver[development_branch_release_candidate] PASSED [ 86%] testing/test_version.py::test_next_release_branch_semver[release_branch_legacy_version] PASSED [ 87%] testing/test_version.py::test_next_release_branch_semver[release_branch_with_v_prefix] PASSED [ 87%] testing/test_version.py::test_next_release_branch_semver[release_branch_with_prefix] PASSED [ 87%] testing/test_version.py::test_next_release_branch_semver[false_positive_release_branch] PASSED [ 88%] testing/test_version.py::test_no_guess_version[dev_distance] PASSED [ 88%] testing/test_version.py::test_no_guess_version[dev_distance_after_dev_tag] PASSED [ 89%] testing/test_version.py::test_no_guess_version[dev_distance_short_tag] PASSED [ 89%] testing/test_version.py::test_no_guess_version[no_dev_distance] PASSED [ 89%] testing/test_version.py::test_no_guess_version_bad[1.0.dev1-choosing custom numbers for the `.devX` distance] PASSED [ 90%] testing/test_version.py::test_no_guess_version_bad[1.0.post1-already is a post release] PASSED [ 90%] testing/test_version.py::test_bump_dev_version_zero PASSED [ 91%] testing/test_version.py::test_bump_dev_version_nonzero_raises PASSED [ 91%] testing/test_version.py::test_tag_regex1[v1.0.0-1.0.0] PASSED [ 91%] testing/test_version.py::test_tag_regex1[v1.0.0-rc.1-1.0.0rc1] PASSED [ 92%] testing/test_version.py::test_tag_regex1[v1.0.0-rc.1+-25259o4382757gjurh54-1.0.0rc1] PASSED [ 92%] testing/test_version.py::test_tags_to_versions PASSED [ 93%] testing/test_version.py::test_version_bump_bad PASSED [ 93%] testing/test_version.py::test_format_version_schemes PASSED [ 93%] testing/test_version.py::test_calver_by_date[exact] PASSED [ 94%] testing/test_version.py::test_calver_by_date[exact patch] PASSED [ 94%] testing/test_version.py::test_calver_by_date[leading 0s] PASSED [ 95%] testing/test_version.py::test_calver_by_date[dirty other day] FAILED [ 95%] testing/test_version.py::test_calver_by_date[normal branch] FAILED [ 95%] testing/test_version.py::test_calver_by_date[4 digits year] PASSED [ 96%] testing/test_version.py::test_calver_by_date[release branch] PASSED [ 96%] testing/test_version.py::test_calver_by_date[release branch short] PASSED [ 97%] testing/test_version.py::test_calver_by_date[node date clean] PASSED [ 97%] testing/test_version.py::test_calver_by_date[node date distance] PASSED [ 97%] testing/test_version.py::test_calver_by_date[using on old version tag] PASSED [ 98%] testing/test_version.py::test_calver_by_date_semver[SemVer exact] PASSED [ 98%] testing/test_version.py::test_calver_by_date_semver[SemVer dirty] XFAIL [ 99%] testing/test_version.py::test_calver_by_date_future_warning PASSED [ 99%] testing/test_version.py::test_custom_version_cls PASSED [100%] =================================== FAILURES =================================== _____________________ test_calver_by_date[dirty other day] _____________________ version = expected_next = '23.9.9.0.dev0' @pytest.mark.parametrize( "version, expected_next", [ pytest.param( meta(date_to_str(days_offset=3), config=c), date_to_str(days_offset=3), id="exact", ), pytest.param( meta(date_to_str() + ".1", config=c), date_to_str() + ".1", id="exact patch" ), pytest.param( meta("20.01.02", config=c), "20.1.2", id="leading 0s", ), pytest.param( meta(date_to_str(days_offset=3), config=c, dirty=True), date_to_str() + ".0.dev0", id="dirty other day", ), pytest.param( meta(date_to_str(), config=c, distance=2, branch="default"), date_to_str() + ".1.dev2", id="normal branch", ), pytest.param( meta(date_to_str(fmt="{dt:%Y}.{dt.month}.{dt.day}"), config=c), date_to_str(fmt="{dt:%Y}.{dt.month}.{dt.day}"), id="4 digits year", ), pytest.param( meta(date_to_str(), config=c, distance=2, branch="release-2021.05.06"), "2021.05.06", id="release branch", ), pytest.param( meta(date_to_str() + ".2", config=c, distance=2, branch="release-21.5.1"), "21.5.1", id="release branch short", ), pytest.param( meta( date_to_str(days_offset=3) + ".2", config=c, node_date=date.today() - timedelta(days=2), ), date_to_str(days_offset=3) + ".2", id="node date clean", ), pytest.param( meta( date_to_str(days_offset=2) + ".2", config=c, distance=2, node_date=date.today() - timedelta(days=2), ), date_to_str(date.today() - timedelta(days=2)) + ".3.dev2", id="node date distance", ), pytest.param( meta( "1.2.0", config=c, distance=2, node_date=date.today() - timedelta(days=2), ), date_to_str(days_offset=2) + ".0.dev2", marks=pytest.mark.filterwarnings( "ignore:.*not correspond to a valid versioning date.*:UserWarning" ), id="using on old version tag", ), ], ) def test_calver_by_date(version: ScmVersion, expected_next: str) -> None: computed = calver_by_date(version) > assert computed == expected_next E AssertionError: assert '23.9.8.0.dev0' == '23.9.9.0.dev0' E - 23.9.9.0.dev0 E ? ^ E + 23.9.8.0.dev0 E ? ^ testing/test_version.py:313: AssertionError ______________________ test_calver_by_date[normal branch] ______________________ version = expected_next = '23.9.9.1.dev2' @pytest.mark.parametrize( "version, expected_next", [ pytest.param( meta(date_to_str(days_offset=3), config=c), date_to_str(days_offset=3), id="exact", ), pytest.param( meta(date_to_str() + ".1", config=c), date_to_str() + ".1", id="exact patch" ), pytest.param( meta("20.01.02", config=c), "20.1.2", id="leading 0s", ), pytest.param( meta(date_to_str(days_offset=3), config=c, dirty=True), date_to_str() + ".0.dev0", id="dirty other day", ), pytest.param( meta(date_to_str(), config=c, distance=2, branch="default"), date_to_str() + ".1.dev2", id="normal branch", ), pytest.param( meta(date_to_str(fmt="{dt:%Y}.{dt.month}.{dt.day}"), config=c), date_to_str(fmt="{dt:%Y}.{dt.month}.{dt.day}"), id="4 digits year", ), pytest.param( meta(date_to_str(), config=c, distance=2, branch="release-2021.05.06"), "2021.05.06", id="release branch", ), pytest.param( meta(date_to_str() + ".2", config=c, distance=2, branch="release-21.5.1"), "21.5.1", id="release branch short", ), pytest.param( meta( date_to_str(days_offset=3) + ".2", config=c, node_date=date.today() - timedelta(days=2), ), date_to_str(days_offset=3) + ".2", id="node date clean", ), pytest.param( meta( date_to_str(days_offset=2) + ".2", config=c, distance=2, node_date=date.today() - timedelta(days=2), ), date_to_str(date.today() - timedelta(days=2)) + ".3.dev2", id="node date distance", ), pytest.param( meta( "1.2.0", config=c, distance=2, node_date=date.today() - timedelta(days=2), ), date_to_str(days_offset=2) + ".0.dev2", marks=pytest.mark.filterwarnings( "ignore:.*not correspond to a valid versioning date.*:UserWarning" ), id="using on old version tag", ), ], ) def test_calver_by_date(version: ScmVersion, expected_next: str) -> None: > computed = calver_by_date(version) testing/test_version.py:312: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages/setuptools_scm/version.py:446: in calver_by_date return version.format_next_version( ../../BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages/setuptools_scm/version.py:192: in format_next_version guessed = guess_next(self, *k, **kw) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ version = node_date = None, date_fmt = '%y.%m.%d' version_cls = def guess_next_date_ver( version: ScmVersion, node_date: date | None = None, date_fmt: str | None = None, version_cls: type | None = None, ) -> str: """ same-day -> patch +1 other-day -> today distance is always added as .devX """ match = date_ver_match(str(version.tag)) if match is None: warnings.warn( f"{version} does not correspond to a valid versioning date, " "assuming legacy version" ) if date_fmt is None: date_fmt = "%y.%m.%d" else: # deduct date format if not provided if date_fmt is None: date_fmt = "%Y.%m.%d" if len(match.group("year")) == 4 else "%y.%m.%d" today = datetime.now(timezone.utc).date() head_date = node_date or today # compute patch if match is None: tag_date = today else: tag_date = datetime.strptime(match.group("date"), date_fmt).date() if tag_date == head_date: patch = "0" if match is None else (match.group("patch") or "0") patch = int(patch) + 1 else: if tag_date > head_date and match is not None: # warn on future times > warnings.warn( "your previous tag ({}) is ahead your node date ({})".format( tag_date, head_date ) ) E UserWarning: your previous tag (2023-09-09) is ahead your node date (2023-09-08) ../../BUILDROOT/python-setuptools_scm-7.1.0-3.ocs23.noarch/usr/lib/python3.10/site-packages/setuptools_scm/version.py:419: UserWarning =========================== short test summary info ============================ FAILED testing/test_version.py::test_calver_by_date[dirty other day] - Assert... FAILED testing/test_version.py::test_calver_by_date[normal branch] - UserWarn... = 2 failed, 211 passed, 31 skipped, 7 deselected, 3 xfailed, 1 xpassed in 56.06s = ERROR: InvocationError for command /usr/bin/pytest -v -k 'not test_pip_download and not test_distlib_setuptools_works and not test_pyproject_support' (exited with code 1) ___________________________________ summary ____________________________________ ERROR: py310-test: commands failed RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.NHnjue (%check) bogus date in %changelog: Thu Dec 5 2022 cunshunxia - 6.4.2-2 Bad exit status from /var/tmp/rpm-tmp.NHnjue (%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-setuptools_scm.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-setuptools_scm.spec