Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.spec'], chrootPath='/var/lib/mock/f40-build-2141989-50851/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1703548800 Wrote: /builddir/build/SRPMS/python-dunamai-1.19.0-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.spec'], chrootPath='/var/lib/mock/f40-build-2141989-50851/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1703462400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PD80D8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dunamai-1.19.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-dunamai-1.19.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dunamai-1.19.0 + rm -rf /builddir/build/BUILD/dunamai-1.19.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/dunamai-1.19.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.2WX7Jg + umask 022 + cd /builddir/build/BUILD + cd dunamai-1.19.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/dunamai-1.19.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/dunamai-1.19.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/dunamai-1.19.0/pyproject-wheeldir --output /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-buildrequires Handling poetry-core>=1.0.0 from build-system.requires Requirement not satisfied: poetry-core>=1.0.0 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-dunamai-1.19.0-1.fc40.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-dunamai.spec'], chrootPath='/var/lib/mock/f40-build-2141989-50851/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1703462400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZeRLce + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dunamai-1.19.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-dunamai-1.19.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dunamai-1.19.0 + rm -rf /builddir/build/BUILD/dunamai-1.19.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/dunamai-1.19.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.mN1aCq + umask 022 + cd /builddir/build/BUILD + cd dunamai-1.19.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/dunamai-1.19.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/dunamai-1.19.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/dunamai-1.19.0/pyproject-wheeldir --output /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-buildrequires Handling poetry-core>=1.0.0 from build-system.requires Requirement satisfied: poetry-core>=1.0.0 (installed: poetry-core 1.7.0) Handling importlib-metadata (>=1.6.0) ; python_version < "3.8" from hook generated metadata: Requires-Dist (dunamai) Ignoring alien requirement: importlib-metadata (>=1.6.0) ; python_version < "3.8" Handling packaging (>=20.9) from hook generated metadata: Requires-Dist (dunamai) Requirement satisfied: packaging (>=20.9) (installed: packaging 23.1) + cat /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-buildrequires + rm -rfv dunamai-1.19.0.dist-info/ removed 'dunamai-1.19.0.dist-info/LICENSE' removed 'dunamai-1.19.0.dist-info/entry_points.txt' removed 'dunamai-1.19.0.dist-info/WHEEL' removed 'dunamai-1.19.0.dist-info/METADATA' removed directory 'dunamai-1.19.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-dunamai-1.19.0-1.fc40.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-dunamai.spec'], chrootPath='/var/lib/mock/f40-build-2141989-50851/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1703462400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.HZYBk7 + umask 022 + cd /builddir/build/BUILD + cd dunamai-1.19.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/dunamai-1.19.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/dunamai-1.19.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/dunamai-1.19.0/pyproject-wheeldir --output /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-buildrequires Handling poetry-core>=1.0.0 from build-system.requires Requirement satisfied: poetry-core>=1.0.0 (installed: poetry-core 1.7.0) Handling importlib-metadata (>=1.6.0) ; python_version < "3.8" from hook generated metadata: Requires-Dist (dunamai) Ignoring alien requirement: importlib-metadata (>=1.6.0) ; python_version < "3.8" Handling packaging (>=20.9) from hook generated metadata: Requires-Dist (dunamai) Requirement satisfied: packaging (>=20.9) (installed: packaging 23.1) + cat /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-buildrequires + rm -rfv dunamai-1.19.0.dist-info/ removed 'dunamai-1.19.0.dist-info/LICENSE' removed 'dunamai-1.19.0.dist-info/entry_points.txt' removed 'dunamai-1.19.0.dist-info/WHEEL' removed 'dunamai-1.19.0.dist-info/METADATA' removed directory 'dunamai-1.19.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dufbci + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dunamai-1.19.0 + mkdir -p /builddir/build/BUILD/dunamai-1.19.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/dunamai-1.19.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/dunamai-1.19.0/pyproject-wheeldir Processing /builddir/build/BUILD/dunamai-1.19.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: dunamai Building wheel for dunamai (pyproject.toml): started Running command Building wheel for dunamai (pyproject.toml) fatal: not a git repository (or any of the parent directories): .git Building wheel for dunamai (pyproject.toml): finished with status 'done' Created wheel for dunamai: filename=dunamai-1.19.0-py3-none-any.whl size=25088 sha256=ad8f062bbe12cfd9fcfe4de5d0e5211b734be12babd4406971c3282272b95581 Stored in directory: /builddir/.cache/pip/wheels/c4/5b/9f/9896be33ac4fd3d739eeee4a6c8a1aea86fbf110e2bd1dbb7e Successfully built dunamai + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WTU7Bn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dunamai-1.19.0 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/dunamai-1.19.0/pyproject-wheeldir/dunamai-1.19.0-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=dunamai==1.19.0 + '[' -z dunamai==1.19.0 ']' + TMPDIR=/builddir/build/BUILD/dunamai-1.19.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/dunamai-1.19.0/pyproject-wheeldir dunamai==1.19.0 Using pip 23.2.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/dunamai-1.19.0/pyproject-wheeldir Processing ./pyproject-wheeldir/dunamai-1.19.0-py3-none-any.whl Installing collected packages: dunamai Creating /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/bin/dunamai to 755 Successfully installed dunamai-1.19.0 + '[' -d /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/bin/dunamai /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/bin/dunamai: updating + rm -rfv /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/dunamai-1.19.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib/python3.12/site-packages/dunamai-1.19.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch --record /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib/python3.12/site-packages/dunamai-1.19.0.dist-info/RECORD --output /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib/python3.12/site-packages/dunamai-1.19.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib/python3.12/site-packages/dunamai-1.19.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib/python3.12/site-packages/dunamai-1.19.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib/python3.12/site-packages/dunamai-1.19.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-dunamai-1.19.0-1.fc40.noarch-pyproject-record --prefix /usr dunamai + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai + echo 'Generating man page for dunamai' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/bin/ + help2man --no-info --no-discard-stderr --name=dunamai '--version-string=dunamai 1.19.0' --output=dunamai.1 dunamai + cat dunamai.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "December 2023" "dunamai 1.19.0" "User Commands" .SH NAME dunamai \- dunamai .SH DESCRIPTION usage: dunamai [\-h] {from,check} ... .PP Generate dynamic versions .SS "positional arguments:" .IP {from,check} .TP from Generate version from a particular VCS .TP check Check if a version is valid for a style .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit + install -t /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/share/man/man1 -p -m 0644 -D dunamai.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/check + echo 'Generating man page for dunamai-/check' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai check' '--version-string=dunamai check 1.19.0' --output=dunamai-check.1 'dunamai check' + cat dunamai-check.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "December 2023" "dunamai check 1.19.0" "User Commands" .SH NAME dunamai \- dunamai check .SH DESCRIPTION usage: dunamai check [\-h] [\-\-style {pep440,semver,pvp}] [version] .PP Check if a version is valid for a style .SS "positional arguments:" .TP version Version to check; may be piped in (default: None) .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-style\fR {pep440,semver,pvp} Style against which to check (default: pep440) + install -t /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-check.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/from + echo 'Generating man page for dunamai-/from' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from' '--version-string=dunamai from 1.19.0' --output=dunamai-from.1 'dunamai from' + cat dunamai-from.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "December 2023" "dunamai from 1.19.0" "User Commands" .SH NAME dunamai \- dunamai from .SH DESCRIPTION usage: dunamai from [\-h] .TP {any,git,mercurial,darcs,subversion,bazaar,fossil,pijul} \&... .PP Generate version from a particular VCS .SS "positional arguments:" .IP {any,git,mercurial,darcs,subversion,bazaar,fossil,pijul} .TP any Generate version from any detected VCS .TP git Generate version from Git .TP mercurial Generate version from Mercurial .TP darcs Generate version from Darcs .TP subversion Generate version from Subversion .TP bazaar Generate version from Bazaar .TP fossil Generate version from Fossil .TP pijul Generate version from Pijul .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit + install -t /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/from-/any + echo 'Generating man page for dunamai-/from-/any' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from any' '--version-string=dunamai from any 1.19.0' --output=dunamai-from-any.1 'dunamai from any' + cat dunamai-from-any.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "December 2023" "dunamai from any 1.19.0" "User Commands" .SH NAME dunamai \- dunamai from any .SH DESCRIPTION usage: dunamai from any [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-full\-commit] [\-\-tag\-branch TAG_BRANCH] [\-\-tag\-dir TAG_DIR] .PP Generate version from any detected VCS .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-full\-commit\fR Get the full commit hash instead of the short form (only: Git, Mercurial) (default: False) .TP \fB\-\-tag\-branch\fR TAG_BRANCH Branch on which to find tags, if different than the current branch (only: Git) (default: None) .TP \fB\-\-tag\-dir\fR TAG_DIR Location of tags relative to the root (only: Subversion) (default: tags) Generating man page for dunamai-/from-/bazaar + install -t /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-any.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" + echo 'Generating man page for dunamai-/from-/bazaar' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from bazaar' '--version-string=dunamai from bazaar 1.19.0' --output=dunamai-from-bazaar.1 'dunamai from bazaar' + cat dunamai-from-bazaar.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "December 2023" "dunamai from bazaar 1.19.0" "User Commands" .SH NAME dunamai \- dunamai from bazaar .SH DESCRIPTION usage: dunamai from bazaar [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] .PP Generate version from Bazaar .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) + install -t /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-bazaar.1 Generating man page for dunamai-/from-/darcs + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" + echo 'Generating man page for dunamai-/from-/darcs' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from darcs' '--version-string=dunamai from darcs 1.19.0' --output=dunamai-from-darcs.1 'dunamai from darcs' + cat dunamai-from-darcs.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "December 2023" "dunamai from darcs 1.19.0" "User Commands" .SH NAME dunamai \- dunamai from darcs .SH DESCRIPTION usage: dunamai from darcs [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] .PP Generate version from Darcs .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) + install -t /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-darcs.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/from-/fossil + echo 'Generating man page for dunamai-/from-/fossil' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from fossil' '--version-string=dunamai from fossil 1.19.0' --output=dunamai-from-fossil.1 'dunamai from fossil' + cat dunamai-from-fossil.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "December 2023" "dunamai from fossil 1.19.0" "User Commands" .SH NAME dunamai \- dunamai from fossil .SH DESCRIPTION usage: dunamai from fossil [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] .PP Generate version from Fossil .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) + install -t /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-fossil.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/from-/git + echo 'Generating man page for dunamai-/from-/git' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from git' '--version-string=dunamai from git 1.19.0' --output=dunamai-from-git.1 'dunamai from git' + cat dunamai-from-git.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "December 2023" "dunamai from git 1.19.0" "User Commands" .SH NAME dunamai \- dunamai from git .SH DESCRIPTION usage: dunamai from git [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-full\-commit] [\-\-tag\-branch TAG_BRANCH] .PP Generate version from Git .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-full\-commit\fR Get the full commit hash instead of the short form (only: Git, Mercurial) (default: False) .TP \fB\-\-tag\-branch\fR TAG_BRANCH Branch on which to find tags, if different than the current branch (only: Git) (default: None) + install -t /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-git.1 Generating man page for dunamai-/from-/mercurial + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" + echo 'Generating man page for dunamai-/from-/mercurial' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from mercurial' '--version-string=dunamai from mercurial 1.19.0' --output=dunamai-from-mercurial.1 'dunamai from mercurial' + cat dunamai-from-mercurial.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "December 2023" "dunamai from mercurial 1.19.0" "User Commands" .SH NAME dunamai \- dunamai from mercurial .SH DESCRIPTION usage: dunamai from mercurial [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-full\-commit] .PP Generate version from Mercurial .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-full\-commit\fR Get the full commit hash instead of the short form (only: Git, Mercurial) (default: False) Generating man page for dunamai-/from-/pijul + install -t /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-mercurial.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" + echo 'Generating man page for dunamai-/from-/pijul' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from pijul' '--version-string=dunamai from pijul 1.19.0' --output=dunamai-from-pijul.1 'dunamai from pijul' + cat dunamai-from-pijul.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "December 2023" "dunamai from pijul 1.19.0" "User Commands" .SH NAME dunamai \- dunamai from pijul .SH DESCRIPTION usage: dunamai from pijul [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] .PP Generate version from Pijul .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) + install -t /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-pijul.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" + echo 'Generating man page for dunamai-/from-/subversion' Generating man page for dunamai-/from-/subversion + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from subversion' '--version-string=dunamai from subversion 1.19.0' --output=dunamai-from-subversion.1 'dunamai from subversion' + cat dunamai-from-subversion.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "December 2023" "dunamai from subversion 1.19.0" "User Commands" .SH NAME dunamai \- dunamai from subversion .SH DESCRIPTION usage: dunamai from subversion [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-tag\-dir TAG_DIR] .PP Generate version from Subversion .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-tag\-dir\fR TAG_DIR Location of tags relative to the root (only: Subversion) (default: tags) + install -t /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-subversion.1 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.19.0-1.fc40 --unique-debug-suffix -1.19.0-1.fc40.noarch --unique-debug-src-base python-dunamai-1.19.0-1.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dunamai-1.19.0 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.PeSRuZ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dunamai-1.19.0 + git config --global user.email you@example.com + git config --global user.name 'Your Name' + brz whoami 'Your Name ' + export 'DARCS_EMAIL=Yep something ' + DARCS_EMAIL='Yep something ' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-dunamai-1.19.0-1.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/dunamai-1.19.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -n auto -v -k 'not test__version__from_git__shallow' ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/dunamai-1.19.0 plugins: xdist-3.5.0 created: 8/8 workers 8 workers [59 items] scheduling tests via LoadScheduling tests/integration/test_dunamai.py::test__version__from_git__with_mixed_tags tests/integration/test_dunamai.py::test__version__from_git__gitflow tests/integration/test_dunamai.py::test__version__from_git__archival_tagged tests/integration/test_dunamai.py::test__version__from_mercurial tests/integration/test_dunamai.py::test__version__from_git__exclude_decoration tests/integration/test_dunamai.py::test__version__from_mercurial__archival_tagged tests/integration/test_dunamai.py::test__version__from_subversion tests/integration/test_dunamai.py::test__version__from_git__with_annotated_tags [gw6] [ 1%] PASSED tests/integration/test_dunamai.py::test__version__from_mercurial__archival_tagged [gw3] [ 3%] PASSED tests/integration/test_dunamai.py::test__version__from_git__archival_tagged tests/integration/test_dunamai.py::test__version__from_darcs tests/integration/test_dunamai.py::test__version__from_git__archival_tagged_post [gw3] [ 5%] PASSED tests/integration/test_dunamai.py::test__version__from_git__archival_tagged_post tests/integration/test_dunamai.py::test__version__from_pijul [gw3] [ 6%] SKIPPED tests/integration/test_dunamai.py::test__version__from_pijul tests/unit/test_dunamai.py::test__pattern__regex [gw3] [ 8%] PASSED tests/unit/test_dunamai.py::test__pattern__regex tests/unit/test_dunamai.py::test__pattern__parse [gw3] [ 10%] PASSED tests/unit/test_dunamai.py::test__pattern__parse tests/unit/test_dunamai.py::test__version__init [gw3] [ 11%] PASSED tests/unit/test_dunamai.py::test__version__init tests/unit/test_dunamai.py::test__version__str [gw3] [ 13%] PASSED tests/unit/test_dunamai.py::test__version__str tests/unit/test_dunamai.py::test__version__repr [gw3] [ 15%] PASSED tests/unit/test_dunamai.py::test__version__repr tests/unit/test_dunamai.py::test__version__ordering [gw3] [ 16%] PASSED tests/unit/test_dunamai.py::test__version__ordering tests/unit/test_dunamai.py::test__version__serialize__pep440 [gw3] [ 18%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pep440 tests/unit/test_dunamai.py::test__version__serialize__semver [gw3] [ 20%] PASSED tests/unit/test_dunamai.py::test__version__serialize__semver tests/unit/test_dunamai.py::test__version__serialize__pvp [gw3] [ 22%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pvp tests/unit/test_dunamai.py::test__version__serialize__pep440_metadata [gw3] [ 23%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pep440_metadata tests/unit/test_dunamai.py::test__version__serialize__semver_with_metadata [gw3] [ 25%] PASSED tests/unit/test_dunamai.py::test__version__serialize__semver_with_metadata tests/unit/test_dunamai.py::test__version__serialize__pvp_with_metadata [gw3] [ 27%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pvp_with_metadata tests/unit/test_dunamai.py::test__version__serialize__pep440_with_dirty [gw3] [ 28%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pep440_with_dirty tests/unit/test_dunamai.py::test__version__serialize__semver_with_dirty [gw3] [ 30%] PASSED tests/unit/test_dunamai.py::test__version__serialize__semver_with_dirty tests/unit/test_dunamai.py::test__version__serialize__pvp_with_dirty [gw3] [ 32%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pvp_with_dirty tests/unit/test_dunamai.py::test__version__serialize__format_as_str [gw3] [ 33%] PASSED tests/unit/test_dunamai.py::test__version__serialize__format_as_str tests/unit/test_dunamai.py::test__version__serialize__format_as_callable [gw3] [ 35%] PASSED tests/unit/test_dunamai.py::test__version__serialize__format_as_callable tests/unit/test_dunamai.py::test__version__bump [gw3] [ 37%] PASSED tests/unit/test_dunamai.py::test__version__bump tests/unit/test_dunamai.py::test__version__parse [gw3] [ 38%] PASSED tests/unit/test_dunamai.py::test__version__parse tests/unit/test_dunamai.py::test__get_version__from_name [gw3] [ 40%] PASSED tests/unit/test_dunamai.py::test__get_version__from_name tests/unit/test_dunamai.py::test__get_version__first_choice [gw3] [ 42%] PASSED tests/unit/test_dunamai.py::test__get_version__first_choice tests/unit/test_dunamai.py::test__get_version__third_choice [gw3] [ 44%] PASSED tests/unit/test_dunamai.py::test__get_version__third_choice tests/unit/test_dunamai.py::test__get_version__fallback [gw3] [ 45%] PASSED tests/unit/test_dunamai.py::test__get_version__fallback tests/unit/test_dunamai.py::test__get_version__from_name__ignore [gw3] [ 47%] PASSED tests/unit/test_dunamai.py::test__get_version__from_name__ignore tests/unit/test_dunamai.py::test__get_version__first_choice__ignore [gw3] [ 49%] PASSED tests/unit/test_dunamai.py::test__get_version__first_choice__ignore tests/unit/test_dunamai.py::test__get_version__first_choice__ignore_with_distance [gw3] [ 50%] PASSED tests/unit/test_dunamai.py::test__get_version__first_choice__ignore_with_distance tests/unit/test_dunamai.py::test__get_version__first_choice__ignore__with_commit [gw3] [ 52%] PASSED tests/unit/test_dunamai.py::test__get_version__first_choice__ignore__with_commit tests/unit/test_dunamai.py::test__get_version__first_choice__ignore__without_commit [gw3] [ 54%] PASSED tests/unit/test_dunamai.py::test__get_version__first_choice__ignore__without_commit tests/unit/test_dunamai.py::test__get_version__third_choice__ignore [gw3] [ 55%] PASSED tests/unit/test_dunamai.py::test__get_version__third_choice__ignore tests/unit/test_dunamai.py::test__version__from_any_vcs [gw4] [ 57%] PASSED tests/integration/test_dunamai.py::test__version__from_git__exclude_decoration tests/integration/test_dunamai.py::test__version__not_a_repository [gw4] [ 59%] PASSED tests/integration/test_dunamai.py::test__version__not_a_repository tests/unit/test_dunamai.py::test__check_version__semver [gw4] [ 61%] PASSED tests/unit/test_dunamai.py::test__check_version__semver tests/unit/test_dunamai.py::test__check_version__pvp [gw4] [ 62%] PASSED tests/unit/test_dunamai.py::test__check_version__pvp tests/unit/test_dunamai.py::test__default_version_pattern [gw4] [ 64%] PASSED tests/unit/test_dunamai.py::test__default_version_pattern tests/unit/test_dunamai.py::test__serialize_pep440 [gw4] [ 66%] PASSED tests/unit/test_dunamai.py::test__serialize_pep440 tests/unit/test_dunamai.py::test__serialize_semver [gw4] [ 67%] PASSED tests/unit/test_dunamai.py::test__serialize_semver tests/unit/test_dunamai.py::test__serialize_pvp [gw4] [ 69%] PASSED tests/unit/test_dunamai.py::test__serialize_pvp tests/unit/test_dunamai.py::test__bump_version [gw4] [ 71%] PASSED tests/unit/test_dunamai.py::test__bump_version tests/unit/test_main.py::test__parse_args__from [gw1] [ 72%] PASSED tests/integration/test_dunamai.py::test__version__from_git__with_mixed_tags tests/integration/test_dunamai.py::test__version__from_git__with_nonchronological_commits [gw4] [ 74%] PASSED tests/unit/test_main.py::test__parse_args__from tests/unit/test_main.py::test__parse_args__check [gw4] [ 76%] PASSED tests/unit/test_main.py::test__parse_args__check [gw1] [ 77%] PASSED tests/integration/test_dunamai.py::test__version__from_git__with_nonchronological_commits tests/unit/test_main.py::test__cli_check [gw3] [ 79%] PASSED tests/unit/test_dunamai.py::test__version__from_any_vcs tests/unit/test_dunamai.py::test__check_version__pep440 [gw3] [ 81%] PASSED tests/unit/test_dunamai.py::test__check_version__pep440 [gw1] [ 83%] PASSED tests/unit/test_main.py::test__cli_check [gw2] [ 84%] FAILED tests/integration/test_dunamai.py::test__version__from_git__gitflow tests/integration/test_dunamai.py::test__version__from_git__archival_untagged [gw2] [ 86%] PASSED tests/integration/test_dunamai.py::test__version__from_git__archival_untagged [gw6] [ 88%] FAILED tests/integration/test_dunamai.py::test__version__from_darcs tests/integration/test_dunamai.py::test__version__from_fossil [gw0] [ 89%] FAILED tests/integration/test_dunamai.py::test__version__from_git__with_annotated_tags tests/integration/test_dunamai.py::test__version__from_git__with_lightweight_tags [gw7] [ 91%] FAILED tests/integration/test_dunamai.py::test__version__from_subversion tests/integration/test_dunamai.py::test__version__from_bazaar [gw0] [ 93%] PASSED tests/integration/test_dunamai.py::test__version__from_git__with_lightweight_tags [gw6] [ 94%] FAILED tests/integration/test_dunamai.py::test__version__from_fossil [gw7] [ 96%] FAILED tests/integration/test_dunamai.py::test__version__from_bazaar [gw5] [ 98%] FAILED tests/integration/test_dunamai.py::test__version__from_mercurial tests/integration/test_dunamai.py::test__version__from_mercurial__archival_untagged [gw5] [100%] PASSED tests/integration/test_dunamai.py::test__version__from_mercurial__archival_untagged =================================== FAILURES =================================== _______________________ test__version__from_git__gitflow _______________________ [gw2] linux -- Python 3.12.0 /usr/bin/python3 tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw2/test__version__from_git__gitfl0') @pytest.mark.skipif(shutil.which("git") is None, reason="Requires Git") @pytest.mark.skipif(is_git_legacy(), reason="Requires non-legacy Git") def test__version__from_git__gitflow(tmp_path) -> None: vcs = tmp_path / "dunamai-git-gitflow" vcs.mkdir() run = make_run_callback(vcs) from_vcs = make_from_callback(Version.from_git) b = "master" b2 = "develop" with chdir(vcs): run("git init") (vcs / "foo.txt").write_text("hi") run("git add .") run("git commit --no-gpg-sign -m Initial") run("git tag v0.1.0 -m Release") run("git checkout -b develop") (vcs / "foo.txt").write_text("second") run("git add .") run("git commit --no-gpg-sign -m Second") run("git checkout -b release/v0.2.0") (vcs / "foo.txt").write_text("bugfix") run("git add .") run("git commit --no-gpg-sign -m Bugfix") run("git checkout develop") run("git merge --no-gpg-sign --no-ff release/v0.2.0") run("git checkout master") run("git merge --no-gpg-sign --no-ff release/v0.2.0") run("git tag v0.2.0 -m Release") assert from_vcs() == Version("0.2.0", dirty=False, branch=b) run("git checkout develop") assert from_vcs() == Version("0.1.0", distance=3, dirty=False, branch=b2) assert run('dunamai from any --format "{base}+{distance}"') == "0.1.0+3" assert from_vcs(tag_branch="master") == Version("0.2.0", distance=1, dirty=False, branch=b2) assert run('dunamai from any --tag-branch master --format "{base}+{distance}"') == "0.2.0+1" assert run('dunamai from git --tag-branch master --format "{base}+{distance}"') == "0.2.0+1" (vcs / "foo.txt").write_text("feature") run("git add .") run("git commit --no-gpg-sign -m Feature") assert from_vcs() == Version("0.1.0", distance=4, dirty=False, branch=b2) assert from_vcs(tag_branch="master") == Version("0.2.0", distance=2, dirty=False, branch=b2) run("git checkout master") assert from_vcs() == Version("0.2.0", dirty=False, branch=b) > assert from_vcs(tag_branch="master") == Version("0.2.0", dirty=False, branch=b) tests/integration/test_dunamai.py:393: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fresh = False, args = (), kwargs = {'tag_branch': 'master'} version = Version(base='0.2.0', stage=None, revision=None, distance=0, commit='2d6274d', dirty=False, tagged_metadata=None, epoch=None, branch='master', timestamp=datetime.datetime(2023, 12, 26, 3, 9, 24, tzinfo=datetime.timezone.utc)) @py_assert4 = True, @py_assert3 = False @py_assert2 = datetime.datetime(2023, 12, 26, 3, 9, 24, 811373, tzinfo=datetime.timezone.utc) @py_assert5 = None def inner(*args, fresh: bool = False, **kwargs): version = function(*args, **kwargs) if fresh: assert version.commit is None assert version.timestamp is None else: assert isinstance(version.commit, str) assert len(version.commit) > 0 if chronological: assert isinstance(version.timestamp, dt.datetime) now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) delta = dt.timedelta(minutes=1) > assert now - delta <= version.timestamp <= now + delta E AssertionError: assert (datetime.datetime(2023, 12, 26, 3, 10, 24, 811373, tzinfo=datetime.timezone.utc) - datetime.timedelta(seconds=60)) <= datetime.datetime(2023, 12, 26, 3, 9, 24, tzinfo=datetime.timezone.utc) E + where datetime.datetime(2023, 12, 26, 3, 9, 24, tzinfo=datetime.timezone.utc) = Version(base='0.2.0', stage=None, revision=None, distance=0, commit='2d6274d', dirty=False, tagged_metadata=None, epoch=None, branch='master', timestamp=datetime.datetime(2023, 12, 26, 3, 9, 24, tzinfo=datetime.timezone.utc)).timestamp tests/integration/test_dunamai.py:66: AssertionError __________________________ test__version__from_darcs ___________________________ [gw6] linux -- Python 3.12.0 /usr/bin/python3 tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw6/test__version__from_darcs0') @pytest.mark.skipif(shutil.which("darcs") is None, reason="Requires Darcs") def test__version__from_darcs(tmp_path) -> None: vcs = tmp_path / "dunamai-darcs" vcs.mkdir() run = make_run_callback(vcs) from_vcs = make_from_callback(Version.from_darcs) with chdir(vcs): run("darcs init") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=False) assert from_vcs(fresh=True).vcs == Vcs.Darcs (vcs / "foo.txt").write_text("hi") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=True) run("darcs add foo.txt") run('darcs record -am "Initial commit"') assert from_vcs() == Version("0.0.0", distance=1, dirty=False) run("darcs tag v0.1.0") assert from_vcs() == Version("0.1.0", dirty=False) assert from_vcs(latest_tag=True) == Version("0.1.0", dirty=False) assert run("dunamai from darcs") == "0.1.0" assert run("dunamai from any") == "0.1.0" (vcs / "foo.txt").write_text("bye") assert from_vcs() == Version("0.1.0", dirty=True) run('darcs record -am "Second"') assert from_vcs() == Version("0.1.0", distance=1, dirty=False) assert from_any_vcs() == Version("0.1.0", distance=1, dirty=False) run("darcs tag unmatched") assert from_vcs() == Version("0.1.0", distance=2, dirty=False) with pytest.raises(ValueError): from_vcs(latest_tag=True) run("darcs tag v0.2.0") assert from_vcs() == Version("0.2.0", dirty=False) run("darcs obliterate --all --last 3") > assert from_vcs() == Version("0.1.0", dirty=False) tests/integration/test_dunamai.py:622: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fresh = False, args = (), kwargs = {} version = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='cfdb7bb5acb8c7dde59c118570197a9b205a27c6', dirty=...adata=None, epoch=None, branch=None, timestamp=datetime.datetime(2023, 12, 26, 3, 9, 38, tzinfo=datetime.timezone.utc)) @py_assert4 = True, @py_assert3 = False @py_assert2 = datetime.datetime(2023, 12, 26, 3, 9, 55, 547780, tzinfo=datetime.timezone.utc) @py_assert5 = None def inner(*args, fresh: bool = False, **kwargs): version = function(*args, **kwargs) if fresh: assert version.commit is None assert version.timestamp is None else: assert isinstance(version.commit, str) assert len(version.commit) > 0 if chronological: assert isinstance(version.timestamp, dt.datetime) now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) delta = dt.timedelta(minutes=1) > assert now - delta <= version.timestamp <= now + delta E AssertionError: assert (datetime.datetime(2023, 12, 26, 3, 10, 55, 547780, tzinfo=datetime.timezone.utc) - datetime.timedelta(seconds=60)) <= datetime.datetime(2023, 12, 26, 3, 9, 38, tzinfo=datetime.timezone.utc) E + where datetime.datetime(2023, 12, 26, 3, 9, 38, tzinfo=datetime.timezone.utc) = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='cfdb7bb5acb8c7dde59c118570197a9b205a27c6', dirty=False, tagged_metadata=None, epoch=None, branch=None, timestamp=datetime.datetime(2023, 12, 26, 3, 9, 38, tzinfo=datetime.timezone.utc)).timestamp tests/integration/test_dunamai.py:66: AssertionError _________________ test__version__from_git__with_annotated_tags _________________ [gw0] linux -- Python 3.12.0 /usr/bin/python3 tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test__version__from_git__with_0') @pytest.mark.skipif(shutil.which("git") is None, reason="Requires Git") def test__version__from_git__with_annotated_tags(tmp_path) -> None: vcs = tmp_path / "dunamai-git-annotated" vcs.mkdir() run = make_run_callback(vcs) from_vcs = make_from_callback(Version.from_git) b = "master" legacy = is_git_legacy() with chdir(vcs): run("git init") try: # Compatibility for newer Git versions: run("git branch -m master") except Exception: pass assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=True, branch=b) assert from_vcs(fresh=True).vcs == Vcs.Git # Additional one-off check not in other VCS integration tests: # strict mode requires there to be a tag with pytest.raises(RuntimeError): from_vcs(strict=True) (vcs / "foo.txt").write_text("hi") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=True, branch=b) assert from_vcs(fresh=True).concerns == set() run("git add .") run('git commit --no-gpg-sign -m "Initial commit"') assert from_vcs() == Version("0.0.0", distance=1, dirty=False, branch=b) # Detect dirty if untracked files (vcs / "bar.txt").write_text("bye") assert from_vcs() == Version("0.0.0", distance=1, dirty=True, branch=b) # Once the untracked file is removed we are no longer dirty (vcs / "bar.txt").unlink() assert from_vcs() == Version("0.0.0", distance=1, dirty=False, branch=b) # Additional one-off check not in other VCS integration tests: # when the only tag in the repository does not match the pattern. run("git tag other -m Annotated") with pytest.raises(ValueError): from_vcs() avoid_identical_ref_timestamps() run("git tag v0.1.0 -m Annotated") assert from_vcs() == Version("0.1.0", dirty=False, branch=b) assert from_vcs(latest_tag=True) == Version("0.1.0", dirty=False, branch=b) assert run("dunamai from git") == "0.1.0" assert run("dunamai from any") == "0.1.0" # Additional one-off checks not in other VCS integration tests: assert run(r'dunamai from any --pattern "(?P\d\.\d\.\d)"') == "0.1.0" run(r'dunamai from any --pattern "(\d\.\d\.\d)"', 1) assert run('dunamai from any --format "v{base}"') == "v0.1.0" assert run('dunamai from any --style "semver"') == "0.1.0" assert ( run('dunamai from any --format "v{base}" --style "semver"', 1) == "Version 'v0.1.0' does not conform to the Semantic Versioning style" ) assert run("dunamai from any --latest-tag") == "0.1.0" > assert from_explicit_vcs(Vcs.Any) == Version("0.1.0", dirty=False, branch=b) tests/integration/test_dunamai.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fresh = False, args = (,), kwargs = {} version = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='ce322d1', dirty=False, tagged_metadata=None, epoch=None, branch='master', timestamp=datetime.datetime(2023, 12, 26, 3, 9, 27, tzinfo=datetime.timezone.utc)) @py_assert4 = True, @py_assert3 = False @py_assert2 = datetime.datetime(2023, 12, 26, 3, 10, 16, 793965, tzinfo=datetime.timezone.utc) @py_assert5 = None def inner(*args, fresh: bool = False, **kwargs): version = function(*args, **kwargs) if fresh: assert version.commit is None assert version.timestamp is None else: assert isinstance(version.commit, str) assert len(version.commit) > 0 if chronological: assert isinstance(version.timestamp, dt.datetime) now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) delta = dt.timedelta(minutes=1) > assert now - delta <= version.timestamp <= now + delta E AssertionError: assert (datetime.datetime(2023, 12, 26, 3, 11, 16, 793965, tzinfo=datetime.timezone.utc) - datetime.timedelta(seconds=60)) <= datetime.datetime(2023, 12, 26, 3, 9, 27, tzinfo=datetime.timezone.utc) E + where datetime.datetime(2023, 12, 26, 3, 9, 27, tzinfo=datetime.timezone.utc) = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='ce322d1', dirty=False, tagged_metadata=None, epoch=None, branch='master', timestamp=datetime.datetime(2023, 12, 26, 3, 9, 27, tzinfo=datetime.timezone.utc)).timestamp tests/integration/test_dunamai.py:66: AssertionError ________________________ test__version__from_subversion ________________________ [gw7] linux -- Python 3.12.0 /usr/bin/python3 tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw7/test__version__from_subversion0') @pytest.mark.skipif( None in [shutil.which("svn"), shutil.which("svnadmin")], reason="Requires Subversion" ) def test__version__from_subversion(tmp_path) -> None: vcs = tmp_path / "dunamai-svn" vcs.mkdir() run = make_run_callback(vcs) from_vcs = make_from_callback(Version.from_subversion, clear=False) vcs_srv = tmp_path / "dunamai-svn-srv" vcs_srv.mkdir() run_srv = make_run_callback(vcs_srv) vcs_srv_uri = vcs_srv.as_uri() with chdir(vcs_srv): run_srv("svnadmin create .") with chdir(vcs): run('svn checkout "{}" .'.format(vcs_srv_uri)) assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=False) assert from_vcs(fresh=True).vcs == Vcs.Subversion run("svn mkdir trunk tags") # No tags yet, so version should be 0.0.0. assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=True) run("svn add --force .") run('svn commit -m "Initial commit"') # commit 1 run("svn update") # A single commit, but still no tags. Version should be 0.0.0. assert from_vcs() == Version("0.0.0", distance=1, commit="1", dirty=False) with chdir(vcs / "trunk"): # ^-- Make sure things work when we're in trunk, too. Path("foo.txt").write_text("hi") run("svn add --force .") run('svn commit -m "Initial foo.txt commit"') # commit 2 run("svn update") # Two commits, but still no tag. Version should still be 0.0.0. assert from_vcs() == Version("0.0.0", distance=2, commit="2", dirty=False) run( 'svn copy {0}/trunk {0}/tags/v0.1.0 -m "Tag 1"'.format(vcs_srv_uri) ) # commit 3 and first tag! run("svn update") # 3 commits, one tag (v.0.1.0), version should be 0.1.0. assert from_vcs() == Version("0.1.0", commit="3", dirty=False) assert run("dunamai from subversion") == "0.1.0" assert run("dunamai from any") == "0.1.0" # Dirty the working directory. Make sure we identify it as such. (vcs / "trunk" / "foo.txt").write_text("bye") assert from_vcs() == Version("0.1.0", commit="3", dirty=True) # Fourth commit, still just one tag. Version should be 0.1.0, and dirty flag # should be reset. run('svn commit -m "Fourth"') # commit 4 run("svn update") assert from_vcs() == Version("0.1.0", distance=1, commit="4", dirty=False) assert from_any_vcs_unmocked() == Version("0.1.0", distance=1, commit="4", dirty=False) # Ensure we get the tag based on the highest commit, not necessarily # just the newest tag. run('svn copy {0}/trunk {0}/tags/v0.2.0 -m "Tag 2"'.format(vcs_srv_uri)) # commit 5 run('svn copy {0}/trunk {0}/tags/v0.1.1 -r 1 -m "Tag 3"'.format(vcs_srv_uri)) # commit 6 run("svn update") assert from_vcs() == Version("0.2.0", distance=1, commit="6", dirty=False) assert from_vcs(latest_tag=True) == Version("0.2.0", distance=1, commit="6", dirty=False) run('svn copy {0}/trunk {0}/tags/unmatched -m "Tag 4"'.format(vcs_srv_uri)) # commit 7 run("svn update") assert from_vcs() == Version("0.2.0", distance=2, commit="7", dirty=False) with pytest.raises(ValueError): from_vcs(latest_tag=True) # Checkout an earlier commit. Commit 2 occurred before the first tag # (v0.1.0, commit #3), so version should be 0.0.0. run("svn update -r 2") > assert from_vcs() == Version("0.0.0", distance=2, commit="2", dirty=False) tests/integration/test_dunamai.py:709: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fresh = False, args = (), kwargs = {} version = Version(base='0.0.0', stage=None, revision=None, distance=2, commit='2', dirty=False, tagged_metadata=None, epoch=None, branch=None, timestamp=datetime.datetime(2023, 12, 26, 3, 9, 41, 734159, tzinfo=datetime.timezone.utc)) @py_assert4 = True, @py_assert3 = False @py_assert2 = datetime.datetime(2023, 12, 26, 3, 10, 23, 252005, tzinfo=datetime.timezone.utc) @py_assert5 = None def inner(*args, fresh: bool = False, **kwargs): version = function(*args, **kwargs) if fresh: assert version.commit is None assert version.timestamp is None else: assert isinstance(version.commit, str) assert len(version.commit) > 0 if chronological: assert isinstance(version.timestamp, dt.datetime) now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) delta = dt.timedelta(minutes=1) > assert now - delta <= version.timestamp <= now + delta E AssertionError: assert (datetime.datetime(2023, 12, 26, 3, 11, 23, 252005, tzinfo=datetime.timezone.utc) - datetime.timedelta(seconds=60)) <= datetime.datetime(2023, 12, 26, 3, 9, 41, 734159, tzinfo=datetime.timezone.utc) E + where datetime.datetime(2023, 12, 26, 3, 9, 41, 734159, tzinfo=datetime.timezone.utc) = Version(base='0.0.0', stage=None, revision=None, distance=2, commit='2', dirty=False, tagged_metadata=None, epoch=None, branch=None, timestamp=datetime.datetime(2023, 12, 26, 3, 9, 41, 734159, tzinfo=datetime.timezone.utc)).timestamp tests/integration/test_dunamai.py:66: AssertionError __________________________ test__version__from_fossil __________________________ [gw6] linux -- Python 3.12.0 /usr/bin/python3 tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw6/test__version__from_fossil0') @pytest.mark.skipif(shutil.which("fossil") is None, reason="Requires Fossil") def test__version__from_fossil(tmp_path) -> None: vcs = tmp_path / "dunamai-fossil" vcs.mkdir() run = make_run_callback(vcs) from_vcs = make_from_callback(Version.from_fossil) b = "trunk" with chdir(vcs): run("fossil init repo") run("fossil open repo --force") assert from_vcs() == Version("0.0.0", distance=0, dirty=False, branch=b) assert from_vcs().vcs == Vcs.Fossil (vcs / "foo.txt").write_text("hi") assert from_vcs() == Version("0.0.0", distance=0, dirty=True, branch=b) run("fossil add .") run('fossil commit -m "Initial commit"') assert from_vcs() == Version("0.0.0", distance=1, dirty=False, branch=b) run("fossil tag add v0.1.0 trunk") assert from_vcs() == Version("0.1.0", dirty=False, branch=b) assert from_vcs(latest_tag=True) == Version("0.1.0", dirty=False, branch=b) assert run("dunamai from fossil") == "0.1.0" assert run("dunamai from any") == "0.1.0" (vcs / "foo.txt").write_text("bye") assert from_vcs() == Version("0.1.0", dirty=True, branch=b) run("fossil add .") run('fossil commit -m "Second"') assert from_vcs() == Version("0.1.0", distance=1, dirty=False, branch=b) assert from_any_vcs() == Version("0.1.0", distance=1, dirty=False, branch=b) run("fossil tag add unmatched trunk") assert from_vcs() == Version("0.1.0", distance=1, dirty=False, branch=b) with pytest.raises(ValueError): from_vcs(latest_tag=True) (vcs / "foo.txt").write_text("third") run("fossil add .") run("fossil commit --tag v0.2.0 -m 'Third'") assert from_vcs() == Version("0.2.0", dirty=False, branch=b) assert from_vcs(latest_tag=True) == Version("0.2.0", dirty=False, branch=b) run("fossil tag add v0.1.1 v0.1.0") assert from_vcs() == Version("0.2.0", dirty=False, branch=b) assert from_vcs(latest_tag=True) == Version("0.2.0", dirty=False, branch=b) run("fossil checkout v0.1.0") > assert from_vcs() == Version("0.1.1", dirty=False, branch=b) tests/integration/test_dunamai.py:842: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fresh = False, args = (), kwargs = {} version = Version(base='0.1.1', stage=None, revision=None, distance=0, commit='f0d0e6ffb1123b0c0bbd8e46cc11dd8105df4ad08a6b29a52...a=None, epoch=None, branch='trunk', timestamp=datetime.datetime(2023, 12, 26, 3, 11, 13, tzinfo=datetime.timezone.utc)) @py_assert4 = True, @py_assert3 = False @py_assert2 = datetime.datetime(2023, 12, 26, 3, 11, 54, 143655, tzinfo=datetime.timezone.utc) @py_assert5 = None def inner(*args, fresh: bool = False, **kwargs): version = function(*args, **kwargs) if fresh: assert version.commit is None assert version.timestamp is None else: assert isinstance(version.commit, str) assert len(version.commit) > 0 if chronological: assert isinstance(version.timestamp, dt.datetime) now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) delta = dt.timedelta(minutes=1) > assert now - delta <= version.timestamp <= now + delta E AssertionError: assert (datetime.datetime(2023, 12, 26, 3, 12, 54, 143655, tzinfo=datetime.timezone.utc) - datetime.timedelta(seconds=60)) <= datetime.datetime(2023, 12, 26, 3, 11, 13, tzinfo=datetime.timezone.utc) E + where datetime.datetime(2023, 12, 26, 3, 11, 13, tzinfo=datetime.timezone.utc) = Version(base='0.1.1', stage=None, revision=None, distance=0, commit='f0d0e6ffb1123b0c0bbd8e46cc11dd8105df4ad08a6b29a525c4cafd1f3fb97f', dirty=False, tagged_metadata=None, epoch=None, branch='trunk', timestamp=datetime.datetime(2023, 12, 26, 3, 11, 13, tzinfo=datetime.timezone.utc)).timestamp tests/integration/test_dunamai.py:66: AssertionError __________________________ test__version__from_bazaar __________________________ [gw7] linux -- Python 3.12.0 /usr/bin/python3 tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw7/test__version__from_bazaar0') @pytest.mark.skipif(shutil.which("bzr") is None, reason="Requires Bazaar") def test__version__from_bazaar(tmp_path) -> None: vcs = tmp_path / "dunamai-bzr" vcs.mkdir() run = make_run_callback(vcs) from_vcs = make_from_callback(Version.from_bazaar, clear=False) b = "dunamai-bzr" with chdir(vcs): run("bzr init") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=False) assert from_vcs(fresh=True).vcs == Vcs.Bazaar (vcs / "foo.txt").write_text("hi") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=True) run("bzr add .") run('bzr commit -m "Initial commit"') assert from_vcs() == Version("0.0.0", distance=1, commit="1", dirty=False, branch=b) run("bzr tag v0.1.0") assert from_vcs() == Version("0.1.0", commit="1", dirty=False, branch=b) > assert from_vcs(latest_tag=True) == Version("0.1.0", commit="1", dirty=False, branch=b) tests/integration/test_dunamai.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fresh = False, args = (), kwargs = {'latest_tag': True} version = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='1', dirty=False, tagged_metadata=None, epoch=None, branch='dunamai-bzr', timestamp=datetime.datetime(2023, 12, 26, 3, 13, 7, tzinfo=datetime.timezone.utc)) @py_assert4 = True, @py_assert3 = False @py_assert2 = datetime.datetime(2023, 12, 26, 3, 13, 33, 585999, tzinfo=datetime.timezone.utc) @py_assert5 = None def inner(*args, fresh: bool = False, **kwargs): version = function(*args, **kwargs) if fresh: assert version.commit is None assert version.timestamp is None else: assert isinstance(version.commit, str) assert len(version.commit) > 0 if chronological: assert isinstance(version.timestamp, dt.datetime) now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) delta = dt.timedelta(minutes=1) > assert now - delta <= version.timestamp <= now + delta E AssertionError: assert (datetime.datetime(2023, 12, 26, 3, 14, 33, 585999, tzinfo=datetime.timezone.utc) - datetime.timedelta(seconds=60)) <= datetime.datetime(2023, 12, 26, 3, 13, 7, tzinfo=datetime.timezone.utc) E + where datetime.datetime(2023, 12, 26, 3, 13, 7, tzinfo=datetime.timezone.utc) = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='1', dirty=False, tagged_metadata=None, epoch=None, branch='dunamai-bzr', timestamp=datetime.datetime(2023, 12, 26, 3, 13, 7, tzinfo=datetime.timezone.utc)).timestamp tests/integration/test_dunamai.py:66: AssertionError ________________________ test__version__from_mercurial _________________________ [gw5] linux -- Python 3.12.0 /usr/bin/python3 tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw5/test__version__from_mercurial0') @pytest.mark.skipif(shutil.which("hg") is None, reason="Requires Mercurial") def test__version__from_mercurial(tmp_path) -> None: vcs = tmp_path / "dunamai-hg" vcs.mkdir() run = make_run_callback(vcs) from_vcs = make_from_callback(Version.from_mercurial) b = "default" with chdir(vcs): run("hg init") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=False, branch=b) assert from_vcs(fresh=True).vcs == Vcs.Mercurial (vcs / "foo.txt").write_text("hi") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=True, branch=b) run("hg add .") run('hg commit -m "Initial commit"') assert from_vcs() == Version("0.0.0", distance=1, dirty=False, branch=b) assert run('dunamai from mercurial --format "{commit}"') != run( 'dunamai from mercurial --format "{commit}" --full-commit' ) assert run('dunamai from any --format "{commit}"') != run( 'dunamai from any --format "{commit}" --full-commit' ) run("hg tag v0.1.0") assert from_vcs() == Version("0.1.0", dirty=False, branch=b) > assert from_vcs(latest_tag=True) == Version("0.1.0", dirty=False, branch=b) tests/integration/test_dunamai.py:520: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fresh = False, args = (), kwargs = {'latest_tag': True} version = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='a295fcfac959', dirty=False, tagged_metadata=None, epoch=None, branch='default', timestamp=datetime.datetime(2023, 12, 26, 3, 18, 28, tzinfo=datetime.timezone.utc)) @py_assert4 = True, @py_assert3 = False @py_assert2 = datetime.datetime(2023, 12, 26, 3, 19, 16, 758874, tzinfo=datetime.timezone.utc) @py_assert5 = None def inner(*args, fresh: bool = False, **kwargs): version = function(*args, **kwargs) if fresh: assert version.commit is None assert version.timestamp is None else: assert isinstance(version.commit, str) assert len(version.commit) > 0 if chronological: assert isinstance(version.timestamp, dt.datetime) now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) delta = dt.timedelta(minutes=1) > assert now - delta <= version.timestamp <= now + delta E AssertionError: assert (datetime.datetime(2023, 12, 26, 3, 20, 16, 758874, tzinfo=datetime.timezone.utc) - datetime.timedelta(seconds=60)) <= datetime.datetime(2023, 12, 26, 3, 18, 28, tzinfo=datetime.timezone.utc) E + where datetime.datetime(2023, 12, 26, 3, 18, 28, tzinfo=datetime.timezone.utc) = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='a295fcfac959', dirty=False, tagged_metadata=None, epoch=None, branch='default', timestamp=datetime.datetime(2023, 12, 26, 3, 18, 28, tzinfo=datetime.timezone.utc)).timestamp tests/integration/test_dunamai.py:66: AssertionError =============================== warnings summary =============================== tests/integration/test_dunamai.py: 68 warnings /builddir/build/BUILD/dunamai-1.19.0/tests/integration/test_dunamai.py:64: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/integration/test_dunamai.py::test__version__from_git__gitflow - ... FAILED tests/integration/test_dunamai.py::test__version__from_darcs - Asserti... FAILED tests/integration/test_dunamai.py::test__version__from_git__with_annotated_tags FAILED tests/integration/test_dunamai.py::test__version__from_subversion - As... FAILED tests/integration/test_dunamai.py::test__version__from_fossil - Assert... FAILED tests/integration/test_dunamai.py::test__version__from_bazaar - Assert... FAILED tests/integration/test_dunamai.py::test__version__from_mercurial - Ass... ======= 7 failed, 51 passed, 1 skipped, 68 warnings in 708.03s (0:11:48) ======= error: Bad exit status from /var/tmp/rpm-tmp.PeSRuZ (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.PeSRuZ (%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-dunamai.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.spec