Mock Version: 6.0
Mock Version: 6.0
Mock Version: 6.0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'], chrootPath='/var/lib/mock/f42-build-56322776-6543326/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'])
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b552d8f1ef0a474280d51a3b65e6fc67', '-D', '/var/lib/mock/f42-build-56322776-6543326/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1726790400
Wrote: /builddir/build/SRPMS/python-myst-parser-4.0.0-1.fc42.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-myst-parser.spec'], chrootPath='/var/lib/mock/f42-build-56322776-6543326/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'])
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7650ee3dc23247b09b86781f0d322eb6', '-D', '/var/lib/mock/f42-build-56322776-6543326/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1726790400
Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ySWqjM
+ umask 022
+ cd /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ test -d /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ /usr/bin/rm -rf /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ /usr/bin/mkdir -p /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ /usr/bin/mkdir -p /builddir/build/BUILD/python-myst-parser-4.0.0-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IlYtVK
+ umask 022
+ cd /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ cd /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ rm -rf MyST-Parser-4.0.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/myst-parser-4.0.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd MyST-Parser-4.0.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/973.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.F87uvB
+ umask 022
+ cd /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ cd MyST-Parser-4.0.0
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(packaging)'
+ echo 'python3dist(pip) >= 19'
+ '[' -f pyproject.toml ']'
+ echo '(python3dist(tomli) if python3-devel < 3.11)'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ mkdir -p /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir
+ echo -n
+ CFLAGS='-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ VALAFLAGS=-g
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn'
+ 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 '
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ CC=gcc
+ CXX=g++
+ TMPDIR=/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir
+ RPM_TOXENV=py313
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-buildrequires
Handling flit_core >=3.4,<4 from build-system.requires
Requirement not satisfied: flit_core >=3.4,<4
Exiting dependency generation pass: build backend
+ cat /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-buildrequires
+ rm -rfv '*.dist-info/'
+ RPM_EC=0
++ jobs -p
+ exit 0
Wrote: /builddir/build/SRPMS/python-myst-parser-4.0.0-1.fc42.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 --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'], chrootPath='/var/lib/mock/f42-build-56322776-6543326/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'])
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '72952443f0694a3785ff3b5dd2d9285b', '-D', '/var/lib/mock/f42-build-56322776-6543326/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1726790400
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.NXkTgC
+ umask 022
+ cd /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ cd MyST-Parser-4.0.0
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(packaging)'
+ echo 'python3dist(pip) >= 19'
+ '[' -f pyproject.toml ']'
+ echo '(python3dist(tomli) if python3-devel < 3.11)'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ mkdir -p /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir
+ echo -n
+ CFLAGS='-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ VALAFLAGS=-g
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn'
+ 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 '
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ CC=gcc
+ CXX=g++
+ TMPDIR=/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir
+ RPM_TOXENV=py313
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-buildrequires
Handling flit_core >=3.4,<4 from build-system.requires
Requirement satisfied: flit_core >=3.4,<4
(installed: flit_core 3.10.1)
Handling docutils>=0.19,<0.22 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: docutils>=0.19,<0.22
(installed: docutils 0.21.2)
Handling jinja2 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: jinja2
(installed: jinja2 3.1.5)
Handling markdown-it-py~=3.0 from hook generated metadata: Requires-Dist (myst-parser)
Requirement not satisfied: markdown-it-py~=3.0
Handling mdit-py-plugins~=0.4,>=0.4.1 from hook generated metadata: Requires-Dist (myst-parser)
Requirement not satisfied: mdit-py-plugins~=0.4,>=0.4.1
Handling pyyaml from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: pyyaml
(installed: pyyaml 6.0.2)
Handling sphinx>=7,<9 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: sphinx>=7,<9
(installed: sphinx 8.1.3)
Handling pre-commit~=3.0 ; extra == "code-style" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pre-commit~=3.0 ; extra == "code-style"
Handling linkify-it-py~=2.0 ; extra == "linkify" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: linkify-it-py~=2.0 ; extra == "linkify"
Handling sphinx>=7 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx>=7 ; extra == "rtd"
Handling ipython ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: ipython ; extra == "rtd"
Handling sphinx-book-theme~=1.1 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-book-theme~=1.1 ; extra == "rtd"
Handling sphinx-design ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-design ; extra == "rtd"
Handling sphinx-copybutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-copybutton ; extra == "rtd"
Handling sphinxext-rediraffe~=0.2.7 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinxext-rediraffe~=0.2.7 ; extra == "rtd"
Handling sphinxext-opengraph~=0.9.0 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinxext-opengraph~=0.9.0 ; extra == "rtd"
Handling sphinx-pyscript ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-pyscript ; extra == "rtd"
Handling sphinx-tippy>=0.4.3 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-tippy>=0.4.3 ; extra == "rtd"
Handling sphinx-autodoc2~=0.5.0 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-autodoc2~=0.5.0 ; extra == "rtd"
Handling sphinx-togglebutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-togglebutton ; extra == "rtd"
Handling beautifulsoup4 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: beautifulsoup4 ; extra == "testing"
Handling coverage[toml] ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: coverage[toml] ; extra == "testing"
Handling defusedxml ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: defusedxml ; extra == "testing"
Handling pytest>=8,<9 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest>=8,<9 ; extra == "testing"
Handling pytest-cov ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-cov ; extra == "testing"
Handling pytest-regressions ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-regressions ; extra == "testing"
Handling pytest-param-files~=0.6.0 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-param-files~=0.6.0 ; extra == "testing"
Handling sphinx-pytest ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-pytest ; extra == "testing"
Handling pygments ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pygments ; extra == "testing-docutils"
Handling pytest>=8,<9 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest>=8,<9 ; extra == "testing-docutils"
Handling pytest-param-files~=0.6.0 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-param-files~=0.6.0 ; extra == "testing-docutils"
+ cat /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-buildrequires
+ rm -rfv myst_parser-4.0.0.dist-info/
removed 'myst_parser-4.0.0.dist-info/WHEEL'
removed 'myst_parser-4.0.0.dist-info/METADATA'
removed 'myst_parser-4.0.0.dist-info/entry_points.txt'
removed directory 'myst_parser-4.0.0.dist-info/'
+ RPM_EC=0
++ jobs -p
+ exit 0
Wrote: /builddir/build/SRPMS/python-myst-parser-4.0.0-1.fc42.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 --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'], chrootPath='/var/lib/mock/f42-build-56322776-6543326/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'])
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a844cfd5e2004a3c93ac7818ab5b4ecd', '-D', '/var/lib/mock/f42-build-56322776-6543326/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1726790400
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.tRrM6q
+ umask 022
+ cd /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ cd MyST-Parser-4.0.0
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(packaging)'
+ echo 'python3dist(pip) >= 19'
+ '[' -f pyproject.toml ']'
+ echo '(python3dist(tomli) if python3-devel < 3.11)'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ mkdir -p /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir
+ echo -n
+ CFLAGS='-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ VALAFLAGS=-g
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn'
+ 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 '
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ CC=gcc
+ CXX=g++
+ TMPDIR=/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir
+ RPM_TOXENV=py313
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-buildrequires
Handling flit_core >=3.4,<4 from build-system.requires
Requirement satisfied: flit_core >=3.4,<4
(installed: flit_core 3.10.1)
Handling docutils>=0.19,<0.22 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: docutils>=0.19,<0.22
(installed: docutils 0.21.2)
Handling jinja2 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: jinja2
(installed: jinja2 3.1.5)
Handling markdown-it-py~=3.0 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: markdown-it-py~=3.0
(installed: markdown-it-py 3.0.0)
Handling mdit-py-plugins~=0.4,>=0.4.1 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: mdit-py-plugins~=0.4,>=0.4.1
(installed: mdit-py-plugins 0.4.2)
Handling pyyaml from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: pyyaml
(installed: pyyaml 6.0.2)
Handling sphinx>=7,<9 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: sphinx>=7,<9
(installed: sphinx 8.1.3)
Handling pre-commit~=3.0 ; extra == "code-style" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pre-commit~=3.0 ; extra == "code-style"
Handling linkify-it-py~=2.0 ; extra == "linkify" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: linkify-it-py~=2.0 ; extra == "linkify"
Handling sphinx>=7 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx>=7 ; extra == "rtd"
Handling ipython ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: ipython ; extra == "rtd"
Handling sphinx-book-theme~=1.1 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-book-theme~=1.1 ; extra == "rtd"
Handling sphinx-design ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-design ; extra == "rtd"
Handling sphinx-copybutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-copybutton ; extra == "rtd"
Handling sphinxext-rediraffe~=0.2.7 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinxext-rediraffe~=0.2.7 ; extra == "rtd"
Handling sphinxext-opengraph~=0.9.0 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinxext-opengraph~=0.9.0 ; extra == "rtd"
Handling sphinx-pyscript ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-pyscript ; extra == "rtd"
Handling sphinx-tippy>=0.4.3 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-tippy>=0.4.3 ; extra == "rtd"
Handling sphinx-autodoc2~=0.5.0 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-autodoc2~=0.5.0 ; extra == "rtd"
Handling sphinx-togglebutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-togglebutton ; extra == "rtd"
Handling beautifulsoup4 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: beautifulsoup4 ; extra == "testing"
Handling coverage[toml] ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: coverage[toml] ; extra == "testing"
Handling defusedxml ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: defusedxml ; extra == "testing"
Handling pytest>=8,<9 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest>=8,<9 ; extra == "testing"
Handling pytest-cov ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-cov ; extra == "testing"
Handling pytest-regressions ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-regressions ; extra == "testing"
Handling pytest-param-files~=0.6.0 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-param-files~=0.6.0 ; extra == "testing"
Handling sphinx-pytest ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-pytest ; extra == "testing"
Handling pygments ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pygments ; extra == "testing-docutils"
Handling pytest>=8,<9 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest>=8,<9 ; extra == "testing-docutils"
Handling pytest-param-files~=0.6.0 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-param-files~=0.6.0 ; extra == "testing-docutils"
+ cat /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-buildrequires
+ rm -rfv myst_parser-4.0.0.dist-info/
removed 'myst_parser-4.0.0.dist-info/WHEEL'
removed 'myst_parser-4.0.0.dist-info/METADATA'
removed 'myst_parser-4.0.0.dist-info/entry_points.txt'
removed directory 'myst_parser-4.0.0.dist-info/'
+ RPM_EC=0
++ jobs -p
+ exit 0
Wrote: /builddir/build/SRPMS/python-myst-parser-4.0.0-1.fc42.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 /builddir/build/SPECS/python-myst-parser.spec'], chrootPath='/var/lib/mock/f42-build-56322776-6543326/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'])
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7554ee3e5ce94d82bdb00b1e93f45630', '-D', '/var/lib/mock/f42-build-56322776-6543326/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-myst-parser.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1726790400
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.xaKasm
+ umask 022
+ cd /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ cd MyST-Parser-4.0.0
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(packaging)'
+ echo 'python3dist(pip) >= 19'
+ '[' -f pyproject.toml ']'
+ echo '(python3dist(tomli) if python3-devel < 3.11)'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ mkdir -p /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir
+ echo -n
+ CFLAGS='-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ VALAFLAGS=-g
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn'
+ 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 '
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ CC=gcc
+ CXX=g++
+ TMPDIR=/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir
+ RPM_TOXENV=py313
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-buildrequires
Handling flit_core >=3.4,<4 from build-system.requires
Requirement satisfied: flit_core >=3.4,<4
(installed: flit_core 3.10.1)
Handling docutils>=0.19,<0.22 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: docutils>=0.19,<0.22
(installed: docutils 0.21.2)
Handling jinja2 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: jinja2
(installed: jinja2 3.1.5)
Handling markdown-it-py~=3.0 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: markdown-it-py~=3.0
(installed: markdown-it-py 3.0.0)
Handling mdit-py-plugins~=0.4,>=0.4.1 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: mdit-py-plugins~=0.4,>=0.4.1
(installed: mdit-py-plugins 0.4.2)
Handling pyyaml from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: pyyaml
(installed: pyyaml 6.0.2)
Handling sphinx>=7,<9 from hook generated metadata: Requires-Dist (myst-parser)
Requirement satisfied: sphinx>=7,<9
(installed: sphinx 8.1.3)
Handling pre-commit~=3.0 ; extra == "code-style" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pre-commit~=3.0 ; extra == "code-style"
Handling linkify-it-py~=2.0 ; extra == "linkify" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: linkify-it-py~=2.0 ; extra == "linkify"
Handling sphinx>=7 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx>=7 ; extra == "rtd"
Handling ipython ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: ipython ; extra == "rtd"
Handling sphinx-book-theme~=1.1 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-book-theme~=1.1 ; extra == "rtd"
Handling sphinx-design ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-design ; extra == "rtd"
Handling sphinx-copybutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-copybutton ; extra == "rtd"
Handling sphinxext-rediraffe~=0.2.7 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinxext-rediraffe~=0.2.7 ; extra == "rtd"
Handling sphinxext-opengraph~=0.9.0 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinxext-opengraph~=0.9.0 ; extra == "rtd"
Handling sphinx-pyscript ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-pyscript ; extra == "rtd"
Handling sphinx-tippy>=0.4.3 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-tippy>=0.4.3 ; extra == "rtd"
Handling sphinx-autodoc2~=0.5.0 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-autodoc2~=0.5.0 ; extra == "rtd"
Handling sphinx-togglebutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-togglebutton ; extra == "rtd"
Handling beautifulsoup4 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: beautifulsoup4 ; extra == "testing"
Handling coverage[toml] ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: coverage[toml] ; extra == "testing"
Handling defusedxml ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: defusedxml ; extra == "testing"
Handling pytest>=8,<9 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest>=8,<9 ; extra == "testing"
Handling pytest-cov ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-cov ; extra == "testing"
Handling pytest-regressions ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-regressions ; extra == "testing"
Handling pytest-param-files~=0.6.0 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-param-files~=0.6.0 ; extra == "testing"
Handling sphinx-pytest ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: sphinx-pytest ; extra == "testing"
Handling pygments ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pygments ; extra == "testing-docutils"
Handling pytest>=8,<9 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest>=8,<9 ; extra == "testing-docutils"
Handling pytest-param-files~=0.6.0 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser)
Ignoring alien requirement: pytest-param-files~=0.6.0 ; extra == "testing-docutils"
+ cat /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-buildrequires
+ rm -rfv myst_parser-4.0.0.dist-info/
removed 'myst_parser-4.0.0.dist-info/WHEEL'
removed 'myst_parser-4.0.0.dist-info/METADATA'
removed 'myst_parser-4.0.0.dist-info/entry_points.txt'
removed directory 'myst_parser-4.0.0.dist-info/'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WRJjUq
+ umask 022
+ cd /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ CFLAGS='-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 --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 MyST-Parser-4.0.0
+ mkdir -p /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir
+ CFLAGS='-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules '
+ VALAFLAGS=-g
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn'
+ 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 '
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ CC=gcc
+ CXX=g++
+ TMPDIR=/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/pyproject-wheeldir
Processing /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.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: myst-parser
Building wheel for myst-parser (pyproject.toml): started
Running command Building wheel for myst-parser (pyproject.toml)
Building wheel for myst-parser (pyproject.toml): finished with status 'done'
Created wheel for myst-parser: filename=myst_parser-4.0.0-py3-none-any.whl size=84244 sha256=a71e0931f72bd4e27cc14cc655e422f986ec10993764d562696a4f4d07f05678
Stored in directory: /builddir/.cache/pip/wheels/f5/7c/b1/990a316268558460dd3556bf690dc62b324088b01aace7ae96
Successfully built myst-parser
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.H0sx63
+ umask 022
+ cd /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ '[' /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT '!=' / ']'
+ rm -rf /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT
++ dirname /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT
+ mkdir -p /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ mkdir /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT
+ CFLAGS='-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 --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 MyST-Parser-4.0.0
++ ls /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/pyproject-wheeldir/myst_parser-4.0.0-py3-none-any.whl
++ xargs basename --multiple
++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/'
+ specifier=myst_parser==4.0.0
+ '[' -z myst_parser==4.0.0 ']'
+ TMPDIR=/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir
+ /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT --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/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/pyproject-wheeldir myst_parser==4.0.0
Using pip 24.3.1 from /usr/lib/python3.13/site-packages/pip (python 3.13)
Looking in links: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/pyproject-wheeldir
Processing ./pyproject-wheeldir/myst_parser-4.0.0-py3-none-any.whl
Installing collected packages: myst_parser
Creating /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin
changing mode of /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-anchors to 755
changing mode of /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-demo to 755
changing mode of /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-html to 755
changing mode of /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-html5 to 755
changing mode of /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-latex to 755
changing mode of /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-pseudoxml to 755
changing mode of /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-xml to 755
changing mode of /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-inv to 755
Successfully installed myst_parser-4.0.0
+ '[' -d /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin ']'
+ '[' -z sP ']'
+ shebang_flags=-kasP
+ /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-anchors /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-demo /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-html /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-html5 /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-latex /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-pseudoxml /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-xml /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-inv
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-anchors: updating
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-demo: updating
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-html: updating
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-html5: updating
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-latex: updating
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-pseudoxml: updating
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-docutils-xml: updating
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/myst-inv: updating
+ rm -rfv /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin/__pycache__
+ rm -f /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-ghost-distinfo
+ site_dirs=()
+ '[' -d /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']'
+ site_dirs+=("/usr/lib/python3.13/site-packages")
+ '[' /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']'
+ '[' -d /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages ']'
+ for site_dir in ${site_dirs[@]}
+ for distinfo in /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT$site_dir/*.dist-info
+ echo '%ghost /usr/lib/python3.13/site-packages/myst_parser-4.0.0.dist-info'
+ sed -i s/pip/rpm/ /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser-4.0.0.dist-info/INSTALLER
+ PYTHONPATH=/usr/lib/rpm/redhat
+ /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT --record /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser-4.0.0.dist-info/RECORD --output /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-record
+ rm -fv /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser-4.0.0.dist-info/RECORD
removed '/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser-4.0.0.dist-info/RECORD'
+ rm -fv /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser-4.0.0.dist-info/REQUESTED
removed '/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser-4.0.0.dist-info/REQUESTED'
++ wc -l /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-ghost-distinfo
++ cut -f1 '-d '
+ lines=1
+ '[' 1 -ne 1 ']'
+ RPM_FILES_ESCAPE=4.19
+ /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-modules --buildroot /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /builddir/build/BUILD/python-myst-parser-4.0.0-build/python-myst-parser-4.0.0-1.fc42.noarch-pyproject-record --prefix /usr myst_parser
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /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 -j6
Bytecompiling .py files below /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13 using python3.13
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/config/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/mdit_to_docutils/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/config/__pycache__/dc_validators.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/mdit_to_docutils/__pycache__/sphinx_.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/mdit_to_docutils/__pycache__/html_to_nodes.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/mdit_to_docutils/__pycache__/transforms.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/config/__pycache__/main.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/parsers/__pycache__/directives.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/parsers/__pycache__/mdit.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/parsers/__pycache__/sphinx_.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/parsers/__pycache__/docutils_.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/parsers/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/sphinx_ext/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/parsers/__pycache__/options.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/parsers/__pycache__/parse_html.cpython-313.opt-1.pyc: replacing with normalized version
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/sphinx_ext/__pycache__/myst_refs.cpython-313.pyc: replacing with normalized version
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/sphinx_ext/__pycache__/directives.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/sphinx_ext/__pycache__/main.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/sphinx_ext/__pycache__/mathjax.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/__pycache__/_compat.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/parsers/__pycache__/parse_html.cpython-313.pyc: replacing with normalized version
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/sphinx_ext/__pycache__/myst_refs.cpython-313.opt-1.pyc: replacing with normalized version
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/__pycache__/cli.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/__pycache__/docutils_.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/__pycache__/inventory.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/__pycache__/sphinx_.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/__pycache__/_docs.cpython-313.pyc: replacing with normalized version
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/__pycache__/warnings_.cpython-313.pyc: rewriting with normalized contents
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/mdit_to_docutils/__pycache__/base.cpython-313.pyc: replacing with normalized version
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/__pycache__/_docs.cpython-313.opt-1.pyc: replacing with normalized version
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/mdit_to_docutils/__pycache__/base.cpython-313.opt-1.pyc: replacing with normalized version
/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/myst_parser/__pycache__/mocking.cpython-313.pyc: rewriting with normalized contents
Scanned 17 directories and 101 files,
processed 33 inodes,
33 modified (8 replaced + 25 rewritten),
0 unsupported format, 0 errors
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Zzcsyc
+ umask 022
+ cd /builddir/build/BUILD/python-myst-parser-4.0.0-build
+ CFLAGS='-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 --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 MyST-Parser-4.0.0
+ CFLAGS='-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ PYTHONPATH=/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-myst-parser-4.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages
+ PYTHONDONTWRITEBYTECODE=1
+ PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/.pyproject-builddir'
+ PYTEST_XDIST_AUTO_NUM_WORKERS=6
+ /usr/bin/pytest
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0
configfile: pyproject.toml
plugins: datadir-1.5.0, regressions-2.7.0, pytest_param_files-0.6.0, sphinx_pytest-0.2.0
collected 1095 items
tests/test_anchors.py . [ 0%]
tests/test_commonmark/test_commonmark.py .............s................. [ 2%]
..................................s.s................................... [ 9%]
........................................................................ [ 16%]
........................................................................ [ 22%]
........................................................................ [ 29%]
........................................................................ [ 35%]
........................................................................ [ 42%]
........................................................................ [ 48%]
........................................................................ [ 55%]
.......................................... [ 59%]
tests/test_docutils.py ........... [ 60%]
tests/test_html/test_html_to_nodes.py ................. [ 61%]
tests/test_html/test_parse_html.py ..................... [ 63%]
tests/test_inventory.py .............. [ 65%]
tests/test_renderers/test_error_reporting.py ................... [ 66%]
tests/test_renderers/test_fixtures_docutils.py ......................... [ 69%]
........................................................................ [ 75%]
[ 75%]
tests/test_renderers/test_fixtures_sphinx.py ........................... [ 78%]
...........................................s...........s.s.........s..s. [ 84%]
...............ss..............................s........................ [ 91%]
.... [ 91%]
tests/test_renderers/test_include_directive.py ........ [ 92%]
tests/test_renderers/test_myst_config.py ........................ [ 94%]
tests/test_renderers/test_myst_refs.py ......... [ 95%]
tests/test_renderers/test_parse_directives.py .......................... [ 97%]
....... [ 98%]
tests/test_sphinx/test_sphinx_builds.py FFFFFF.FFF.F..F.. [100%]
=================================== FAILURES ===================================
__________________________________ test_basic __________________________________
app =
status = <_io.StringIO object at 0x7f68c6195600>
warning = <_io.StringIO object at 0x7f68c61977c0>
get_sphinx_app_doctree = .read at 0x7f68c600f060>
get_sphinx_app_output = .read at 0x7f68c600f2e0>
@pytest.mark.sphinx(
buildername="html",
srcdir=os.path.join(SOURCE_DIR, "basic"),
freshenv=True,
confoverrides={"myst_enable_extensions": ["dollarmath"]},
)
def test_basic(
app,
status,
warning,
get_sphinx_app_doctree,
get_sphinx_app_output,
):
"""basic test."""
app.build()
assert "build succeeded" in status.getvalue() # Build succeeded
warnings = warning.getvalue().strip()
assert warnings == ""
try:
get_sphinx_app_doctree(
app,
docname="content",
regress=True,
replace={
# changed in sphinx 7.1
'': '',
},
)
finally:
get_sphinx_app_doctree(
app,
docname="content",
resolve=True,
regress=True,
replace={
# changed in sphinx 7.1
'': '',
},
)
> get_sphinx_app_output(
app,
filename="content.html",
regress_html=True,
regress_ext=".html",
)
tests/test_sphinx/test_sphinx_builds.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
app = , buildername = 'html'
filename = 'content.html', encoding = 'utf-8', regress_html = True
regress_ext = '.html', replace = None
def read(
app,
buildername="html",
filename="index.html",
encoding="utf-8",
regress_html=False,
regress_ext=".html",
replace=None,
):
outpath = pathlib.Path(str(app.srcdir), "_build", buildername, filename)
if not outpath.exists():
raise OSError(f"no output file exists: {outpath}")
content = outpath.read_text(encoding=encoding)
if regress_html:
# only regress the inner body, since other sections are non-deterministic
soup = BeautifulSoup(content, "html.parser")
doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
# pygments 2.11.0 introduces a whitespace tag
for pygment_whitespace in doc_div.select("pre > span.w"):
pygment_whitespace.replace_with(pygment_whitespace.text)
text = doc_div.prettify()
# changed in sphinx 7.2
text = text.replace('"Link to this', '"Permalink to this')
for find, rep in (replace or {}).items():
text = text.replace(find, rep)
> file_regression.check(text, extension=regress_ext, encoding="utf8")
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-mockbuild/pytest-0/test_basic0/test_sphinx_builds/test_basic.html
E /tmp/pytest-of-mockbuild/pytest-0/test_basic0/test_sphinx_builds/test_basic.obtained.html
E HTML DIFF: /tmp/pytest-of-mockbuild/pytest-0/test_basic0/test_sphinx_builds/test_basic.obtained.diff.html
E ---
E +++
E @@ -247,6 +247,8 @@
E 57 words | 0 min read
E
E
E +
E +
E
E
E
tests/test_sphinx/conftest.py:87: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: html
# srcdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/basic
# outdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/basic/_build/html
# status:
Running Sphinx v8.1.3[39;49;00m
loading translations [en]... [39;49;00mdone
myst v4.0.0:[39;49;00m MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'dollarmath'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: [39;49;00mtargets for 0 po files that are out of date
writing output... [39;49;00m
building [html]: [39;49;00mtargets for 3 source files that are out of date
updating environment: [39;49;00m[new config] 3 added, 0 changed, 0 removed
reading sources... [39;49;00m[ 33%] content[39;49;00m
reading sources... [39;49;00m[ 67%] index[39;49;00m
reading sources... [39;49;00m[100%] orphan[39;49;00m
looking for now-outdated files... [39;49;00mnone found
pickling environment... [39;49;00mdone
checking consistency... [39;49;00mdone
preparing documents... [39;49;00mdone
copying assets... [39;49;00m
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/basic/_build/html/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/basic/_build/html/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/basic/_build/html/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
copying assets: [39;49;00mdone
writing output... [39;49;00m[ 33%] content[39;49;00m
writing output... [39;49;00m[ 67%] index[39;49;00m
writing output... [39;49;00m[100%] orphan[39;49;00m
generating indices... [39;49;00mgenindex done
writing additional pages... [39;49;00msearch done
copying images... [39;49;00m[100%] example.jpg[39;49;00m
dumping search index in English (code: en)... [39;49;00mdone
dumping object inventory... [39;49;00mdone
build succeeded.[39;49;00m
The HTML pages are in tests/test_sphinx/sourcedirs/basic/_build/html.
# warning:
_______________________________ test_references ________________________________
app =
status = <_io.StringIO object at 0x7f68c5f51600>
warning = <_io.StringIO object at 0x7f68c5f51780>
get_sphinx_app_doctree = .read at 0x7f68c5efcd60>
get_sphinx_app_output = .read at 0x7f68c5efcf40>
@pytest.mark.sphinx(
buildername="html",
srcdir=os.path.join(SOURCE_DIR, "references"),
freshenv=True,
confoverrides={
"myst_enable_extensions": ["dollarmath"],
"show_warning_types": True,
},
)
def test_references(
app,
status,
warning,
get_sphinx_app_doctree,
get_sphinx_app_output,
):
"""Test reference resolution."""
app.build()
assert "build succeeded" in status.getvalue() # Build succeeded
# should be one warning:
# WARNING: Multiple matches found for 'duplicate':
# inter:py:module:duplicate, inter:std:label:duplicate [myst.iref_ambiguous]
warnings = warning.getvalue().strip().splitlines()
assert len(warnings) == 1
assert "[myst.iref_ambiguous]" in warnings[0]
try:
get_sphinx_app_doctree(app, docname="index", regress=True)
finally:
try:
get_sphinx_app_doctree(app, docname="index", resolve=True, regress=True)
finally:
> get_sphinx_app_output(
app,
filename="index.html",
regress_html=True,
replace={"Permalink to this headline": "Permalink to this heading"},
)
tests/test_sphinx/test_sphinx_builds.py:117:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
app = , buildername = 'html'
filename = 'index.html', encoding = 'utf-8', regress_html = True
regress_ext = '.html'
replace = {'Permalink to this headline': 'Permalink to this heading'}
def read(
app,
buildername="html",
filename="index.html",
encoding="utf-8",
regress_html=False,
regress_ext=".html",
replace=None,
):
outpath = pathlib.Path(str(app.srcdir), "_build", buildername, filename)
if not outpath.exists():
raise OSError(f"no output file exists: {outpath}")
content = outpath.read_text(encoding=encoding)
if regress_html:
# only regress the inner body, since other sections are non-deterministic
soup = BeautifulSoup(content, "html.parser")
doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
# pygments 2.11.0 introduces a whitespace tag
for pygment_whitespace in doc_div.select("pre > span.w"):
pygment_whitespace.replace_with(pygment_whitespace.text)
text = doc_div.prettify()
# changed in sphinx 7.2
text = text.replace('"Link to this', '"Permalink to this')
for find, rep in (replace or {}).items():
text = text.replace(find, rep)
> file_regression.check(text, extension=regress_ext, encoding="utf8")
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-mockbuild/pytest-0/test_references0/test_sphinx_builds/test_references.html
E /tmp/pytest-of-mockbuild/pytest-0/test_references0/test_sphinx_builds/test_references.obtained.html
E HTML DIFF: /tmp/pytest-of-mockbuild/pytest-0/test_references0/test_sphinx_builds/test_references.obtained.diff.html
E ---
E +++
E @@ -277,6 +277,8 @@
E
E
E
E +
E +
E
E
E
tests/test_sphinx/conftest.py:87: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: html
# srcdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references
# outdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references/_build/html
# status:
Running Sphinx v8.1.3[39;49;00m
loading translations [en]... [39;49;00mdone
myst v4.0.0:[39;49;00m MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'dollarmath'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=2, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
loading intersphinx inventory 'inter' from objects.inv ...
building [mo]: [39;49;00mtargets for 0 po files that are out of date
writing output... [39;49;00m
building [html]: [39;49;00mtargets for 3 source files that are out of date
updating environment: [39;49;00m[new config] 3 added, 0 changed, 0 removed
reading sources... [39;49;00m[ 33%] index[39;49;00m
reading sources... [39;49;00m[ 67%] other[39;49;00m
reading sources... [39;49;00m[100%] subfolder/other2[39;49;00m
looking for now-outdated files... [39;49;00mnone found
pickling environment... [39;49;00mdone
checking consistency... [39;49;00mdone
preparing documents... [39;49;00mdone
copying assets... [39;49;00m
copying downloadable files... [39;49;00m[ 50%] ../../../file_link.txt[39;49;00m
copying downloadable files... [39;49;00m[100%] ../../../subfolder/file_link2.txt[39;49;00m
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references/_build/html/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references/_build/html/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references/_build/html/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
copying assets: [39;49;00mdone
writing output... [39;49;00m[ 33%] index[39;49;00m
writing output... [39;49;00m[ 67%] other[39;49;00m
writing output... [39;49;00m[100%] subfolder/other2[39;49;00m
generating indices... [39;49;00mgenindex done
writing additional pages... [39;49;00msearch done
dumping search index in English (code: en)... [39;49;00mdone
dumping object inventory... [39;49;00mdone
build succeeded, 1 warning.[39;49;00m
The HTML pages are in tests/test_sphinx/sourcedirs/references/_build/html.
# warning:
/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references/index.md:69: WARNING: Multiple matches found for 'duplicate': inter:py:module:duplicate, inter:std:label:duplicate [myst.iref_ambiguous][39;49;00m
/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references/index.md:69: WARNING: Multiple matches found for 'duplicate': inter:py:module:duplicate, inter:std:label:duplicate [myst.iref_ambiguous][39;49;00m
__________________________ test_references_singlehtml __________________________
app =
status = <_io.StringIO object at 0x7f68c5f51000>
warning = <_io.StringIO object at 0x7f68c5f51d80>
get_sphinx_app_doctree = .read at 0x7f68c5e7cea0>
get_sphinx_app_output = .read at 0x7f68c5e7c680>
@pytest.mark.sphinx(
buildername="singlehtml",
srcdir=os.path.join(SOURCE_DIR, "references_singlehtml"),
freshenv=True,
confoverrides={"nitpicky": True},
)
def test_references_singlehtml(
app,
status,
warning,
get_sphinx_app_doctree,
get_sphinx_app_output,
):
"""Test reference resolution for singlehtml builds."""
app.build()
assert "build succeeded" in status.getvalue() # Build succeeded
warnings = warning.getvalue().strip()
assert warnings == ""
# try:
# get_sphinx_app_doctree(app, docname="index", regress=True)
# finally:
# get_sphinx_app_doctree(app, docname="index", resolve=True, regress=True)
try:
get_sphinx_app_doctree(
app,
docname="other/other",
regress=True,
replace={"other\\other.md": "other/other.md"},
)
finally:
get_sphinx_app_doctree(
app,
docname="other/other",
resolve=True,
regress=True,
replace={
"other\\other.md": "other/other.md",
# changed in sphinx 7.3
'="#document-index': '="index.html#document-index',
'="#document-other': '="index.html#document-other',
},
)
> get_sphinx_app_output(
app,
filename="index.html",
buildername="singlehtml",
regress_html=True,
replace={
"Permalink to this headline": "Permalink to this heading",
# changed in sphinx 7.3
'="#document-index': '="index.html#document-index',
'="#document-other': '="index.html#document-other',
},
)
tests/test_sphinx/test_sphinx_builds.py:171:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
app = , buildername = 'singlehtml'
filename = 'index.html', encoding = 'utf-8', regress_html = True
regress_ext = '.html'
replace = {'="#document-index': '="index.html#document-index', '="#document-other': '="index.html#document-other', 'Permalink to this headline': 'Permalink to this heading'}
def read(
app,
buildername="html",
filename="index.html",
encoding="utf-8",
regress_html=False,
regress_ext=".html",
replace=None,
):
outpath = pathlib.Path(str(app.srcdir), "_build", buildername, filename)
if not outpath.exists():
raise OSError(f"no output file exists: {outpath}")
content = outpath.read_text(encoding=encoding)
if regress_html:
# only regress the inner body, since other sections are non-deterministic
soup = BeautifulSoup(content, "html.parser")
doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
# pygments 2.11.0 introduces a whitespace tag
for pygment_whitespace in doc_div.select("pre > span.w"):
pygment_whitespace.replace_with(pygment_whitespace.text)
text = doc_div.prettify()
# changed in sphinx 7.2
text = text.replace('"Link to this', '"Permalink to this')
for find, rep in (replace or {}).items():
text = text.replace(find, rep)
> file_regression.check(text, extension=regress_ext, encoding="utf8")
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-mockbuild/pytest-0/test_references_singlehtml0/test_sphinx_builds/test_references_singlehtml.html
E /tmp/pytest-of-mockbuild/pytest-0/test_references_singlehtml0/test_sphinx_builds/test_references_singlehtml.obtained.html
E HTML DIFF: /tmp/pytest-of-mockbuild/pytest-0/test_references_singlehtml0/test_sphinx_builds/test_references_singlehtml.obtained.diff.html
E ---
E +++
E @@ -50,7 +50,7 @@
E
E
E
E -
E +
E
E Title
E
E @@ -99,13 +99,15 @@
E
E
E
E -
E +
E
E Other Title
E
E
E
E
E +
E +
E
E
E
tests/test_sphinx/conftest.py:87: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: singlehtml
# srcdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references_singlehtml
# outdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references_singlehtml/_build/singlehtml
# status:
Running Sphinx v8.1.3[39;49;00m
loading translations [en]... [39;49;00mdone
myst v4.0.0:[39;49;00m MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=set(), disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=2, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: [39;49;00mtargets for 0 po files that are out of date
writing output... [39;49;00m
building [singlehtml]: [39;49;00mall documents
updating environment: [39;49;00m[new config] 4 added, 0 changed, 0 removed
reading sources... [39;49;00m[ 25%] index[39;49;00m
reading sources... [39;49;00m[ 50%] other/index[39;49;00m
reading sources... [39;49;00m[ 75%] other/other[39;49;00m
reading sources... [39;49;00m[100%] other/other2[39;49;00m
looking for now-outdated files... [39;49;00mnone found
pickling environment... [39;49;00mdone
checking consistency... [39;49;00mdone
preparing documents... [39;49;00mdone
copying assets... [39;49;00m
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references_singlehtml/_build/singlehtml/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references_singlehtml/_build/singlehtml/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references_singlehtml/_build/singlehtml/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
copying assets: [39;49;00mdone
assembling single document... [39;49;00m
index[39;49;00m
other/index[39;49;00m
other/other[39;49;00m
other/other2[39;49;00m
assembling single document: [39;49;00mdone
writing... [39;49;00mdone
writing additional files... [39;49;00mdone
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references_singlehtml/_build/singlehtml/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references_singlehtml/_build/singlehtml/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/references_singlehtml/_build/singlehtml/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
dumping object inventory... [39;49;00mdone
build succeeded.[39;49;00m
The HTML page is in tests/test_sphinx/sourcedirs/references_singlehtml/_build/singlehtml.
# warning:
____________________________ test_heading_slug_func ____________________________
app =
status = <_io.StringIO object at 0x7f68c5f51a80>
warning = <_io.StringIO object at 0x7f68c5f53dc0>
get_sphinx_app_doctree = .read at 0x7f68c5efe3e0>
get_sphinx_app_output = .read at 0x7f68c5efeac0>
@pytest.mark.sphinx(
buildername="html",
srcdir=os.path.join(SOURCE_DIR, "heading_slug_func"),
freshenv=True,
)
def test_heading_slug_func(
app,
status,
warning,
get_sphinx_app_doctree,
get_sphinx_app_output,
):
"""Test heading_slug_func configuration."""
app.build()
assert "build succeeded" in status.getvalue() # Build succeeded
warnings = warning.getvalue().strip()
assert warnings == ""
try:
get_sphinx_app_doctree(app, docname="index", regress=True)
finally:
get_sphinx_app_doctree(app, docname="index", resolve=True, regress=True)
> get_sphinx_app_output(
app,
filename="index.html",
regress_html=True,
replace={"Permalink to this headline": "Permalink to this heading"},
)
tests/test_sphinx/test_sphinx_builds.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
app = , buildername = 'html'
filename = 'index.html', encoding = 'utf-8', regress_html = True
regress_ext = '.html'
replace = {'Permalink to this headline': 'Permalink to this heading'}
def read(
app,
buildername="html",
filename="index.html",
encoding="utf-8",
regress_html=False,
regress_ext=".html",
replace=None,
):
outpath = pathlib.Path(str(app.srcdir), "_build", buildername, filename)
if not outpath.exists():
raise OSError(f"no output file exists: {outpath}")
content = outpath.read_text(encoding=encoding)
if regress_html:
# only regress the inner body, since other sections are non-deterministic
soup = BeautifulSoup(content, "html.parser")
doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
# pygments 2.11.0 introduces a whitespace tag
for pygment_whitespace in doc_div.select("pre > span.w"):
pygment_whitespace.replace_with(pygment_whitespace.text)
text = doc_div.prettify()
# changed in sphinx 7.2
text = text.replace('"Link to this', '"Permalink to this')
for find, rep in (replace or {}).items():
text = text.replace(find, rep)
> file_regression.check(text, extension=regress_ext, encoding="utf8")
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-mockbuild/pytest-0/test_heading_slug_func0/test_sphinx_builds/test_heading_slug_func.html
E /tmp/pytest-of-mockbuild/pytest-0/test_heading_slug_func0/test_sphinx_builds/test_heading_slug_func.obtained.html
E HTML DIFF: /tmp/pytest-of-mockbuild/pytest-0/test_heading_slug_func0/test_sphinx_builds/test_heading_slug_func.obtained.diff.html
E ---
E +++
E @@ -17,6 +17,8 @@
E
E
E
E +
E +
E
E
E
tests/test_sphinx/conftest.py:87: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: html
# srcdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/heading_slug_func
# outdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/heading_slug_func/_build/html
# status:
Running Sphinx v8.1.3[39;49;00m
loading translations [en]... [39;49;00mdone
myst v4.0.0:[39;49;00m MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=set(), disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=2, heading_slug_func=, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: [39;49;00mtargets for 0 po files that are out of date
writing output... [39;49;00m
building [html]: [39;49;00mtargets for 1 source files that are out of date
updating environment: [39;49;00m[new config] 1 added, 0 changed, 0 removed
reading sources... [39;49;00m[100%] index[39;49;00m
looking for now-outdated files... [39;49;00mnone found
pickling environment... [39;49;00mdone
checking consistency... [39;49;00mdone
preparing documents... [39;49;00mdone
copying assets... [39;49;00m
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/heading_slug_func/_build/html/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/heading_slug_func/_build/html/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/heading_slug_func/_build/html/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
copying assets: [39;49;00mdone
writing output... [39;49;00m[100%] index[39;49;00m
generating indices... [39;49;00mgenindex done
writing additional pages... [39;49;00msearch done
dumping search index in English (code: en)... [39;49;00mdone
dumping object inventory... [39;49;00mdone
build succeeded.[39;49;00m
The HTML pages are in tests/test_sphinx/sourcedirs/heading_slug_func/_build/html.
# warning:
____________________________ test_extended_syntaxes ____________________________
app =
status = <_io.StringIO object at 0x7f68c5e5c580>
warning = <_io.StringIO object at 0x7f68c5e5c040>
get_sphinx_app_doctree = .read at 0x7f68c5db80e0>
get_sphinx_app_output = .read at 0x7f68c5db8220>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f68c604e900>
@pytest.mark.sphinx(
buildername="html",
srcdir=os.path.join(SOURCE_DIR, "extended_syntaxes"),
freshenv=True,
)
def test_extended_syntaxes(
app,
status,
warning,
get_sphinx_app_doctree,
get_sphinx_app_output,
monkeypatch,
):
"""test setting addition configuration values."""
from myst_parser.mdit_to_docutils.sphinx_ import SphinxRenderer
monkeypatch.setattr(SphinxRenderer, "_random_label", lambda self: "mock-uuid")
app.build()
assert "build succeeded" in status.getvalue() # Build succeeded
warnings = warning.getvalue().strip()
assert warnings == ""
try:
get_sphinx_app_doctree(
app,
docname="index",
regress=True,
)
finally:
> get_sphinx_app_output(
app,
filename="index.html",
regress_html=True,
replace={"Permalink to this headline": "Permalink to this heading"},
)
tests/test_sphinx/test_sphinx_builds.py:245:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
app = , buildername = 'html'
filename = 'index.html', encoding = 'utf-8', regress_html = True
regress_ext = '.html'
replace = {'Permalink to this headline': 'Permalink to this heading'}
def read(
app,
buildername="html",
filename="index.html",
encoding="utf-8",
regress_html=False,
regress_ext=".html",
replace=None,
):
outpath = pathlib.Path(str(app.srcdir), "_build", buildername, filename)
if not outpath.exists():
raise OSError(f"no output file exists: {outpath}")
content = outpath.read_text(encoding=encoding)
if regress_html:
# only regress the inner body, since other sections are non-deterministic
soup = BeautifulSoup(content, "html.parser")
doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
# pygments 2.11.0 introduces a whitespace tag
for pygment_whitespace in doc_div.select("pre > span.w"):
pygment_whitespace.replace_with(pygment_whitespace.text)
text = doc_div.prettify()
# changed in sphinx 7.2
text = text.replace('"Link to this', '"Permalink to this')
for find, rep in (replace or {}).items():
text = text.replace(find, rep)
> file_regression.check(text, extension=regress_ext, encoding="utf8")
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-mockbuild/pytest-0/test_extended_syntaxes0/test_sphinx_builds/test_extended_syntaxes.html
E /tmp/pytest-of-mockbuild/pytest-0/test_extended_syntaxes0/test_sphinx_builds/test_extended_syntaxes.obtained.html
E HTML DIFF: /tmp/pytest-of-mockbuild/pytest-0/test_extended_syntaxes0/test_sphinx_builds/test_extended_syntaxes.obtained.diff.html
E ---
E +++
E @@ -191,6 +191,8 @@
E
E
E
E +
E +
E
E
E
tests/test_sphinx/conftest.py:87: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: html
# srcdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/extended_syntaxes
# outdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/extended_syntaxes/_build/html
# status:
Running Sphinx v8.1.3[39;49;00m
loading translations [en]... [39;49;00mdone
myst v4.0.0:[39;49;00m MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'attrs_inline', 'amsmath', 'dollarmath', 'colon_fence', 'linkify', 'tasklist', 'attrs_block', 'deflist'}, disable_syntax=['emphasis'], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=['typescript'], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={description lang=en: ..., property=og:locale: ...}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=False, dmath_allow_digits=True, dmath_double_inline=True, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: [39;49;00mtargets for 0 po files that are out of date
writing output... [39;49;00m
building [html]: [39;49;00mtargets for 1 source files that are out of date
updating environment: [39;49;00m[new config] 1 added, 0 changed, 0 removed
reading sources... [39;49;00m[100%] index[39;49;00m
looking for now-outdated files... [39;49;00mnone found
pickling environment... [39;49;00mdone
checking consistency... [39;49;00mdone
preparing documents... [39;49;00mdone
copying assets... [39;49;00m
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/extended_syntaxes/_build/html/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/extended_syntaxes/_build/html/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/extended_syntaxes/_build/html/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
copying assets: [39;49;00mdone
writing output... [39;49;00m[100%] index[39;49;00m
generating indices... [39;49;00mgenindex done
writing additional pages... [39;49;00msearch done
copying images... [39;49;00m[100%] fun-fish.png[39;49;00m
dumping search index in English (code: en)... [39;49;00mdone
dumping object inventory... [39;49;00mdone
build succeeded.[39;49;00m
The HTML pages are in tests/test_sphinx/sourcedirs/extended_syntaxes/_build/html.
# warning:
________________________________ test_includes _________________________________
app =
status = <_io.StringIO object at 0x7f68c5f50d00>
warning = <_io.StringIO object at 0x7f68c5f52080>
get_sphinx_app_doctree = .read at 0x7f68c5d52de0>
get_sphinx_app_output = .read at 0x7f68c5d52980>
@pytest.mark.sphinx(
buildername="html", srcdir=os.path.join(SOURCE_DIR, "includes"), freshenv=True
)
def test_includes(
app,
status,
warning,
get_sphinx_app_doctree,
get_sphinx_app_output,
):
"""Test of include directive."""
app.build()
assert "build succeeded" in status.getvalue() # Build succeeded
warnings = warning.getvalue().strip()
assert warnings == ""
try:
get_sphinx_app_doctree(
app,
docname="index",
regress=True,
rstrip_lines=True,
# fix for Windows CI
replace={
r"subfolder\example2.jpg": "subfolder/example2.jpg",
r"subfolder\\example2.jpg": "subfolder/example2.jpg",
r"subfolder\\\\example2.jpg": "subfolder/example2.jpg",
# added in sphinx 7.2 (#9846)
'original_uri="/subfolder/example2.jpg" ': "",
},
)
finally:
> get_sphinx_app_output(
app,
filename="index.html",
regress_html=True,
replace={
"Permalink to this headline": "Permalink to this heading",
r"'subfolder\\example2'": "'subfolder/example2'",
r'uri="subfolder\\example2"': 'uri="subfolder/example2"',
"_images/example21.jpg": "_images/example2.jpg",
},
)
tests/test_sphinx/test_sphinx_builds.py:286:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
app = , buildername = 'html'
filename = 'index.html', encoding = 'utf-8', regress_html = True
regress_ext = '.html'
replace = {"'subfolder\\\\example2'": "'subfolder/example2'", 'Permalink to this headline': 'Permalink to this heading', '_images/example21.jpg': '_images/example2.jpg', 'uri="subfolder\\\\example2"': 'uri="subfolder/example2"'}
def read(
app,
buildername="html",
filename="index.html",
encoding="utf-8",
regress_html=False,
regress_ext=".html",
replace=None,
):
outpath = pathlib.Path(str(app.srcdir), "_build", buildername, filename)
if not outpath.exists():
raise OSError(f"no output file exists: {outpath}")
content = outpath.read_text(encoding=encoding)
if regress_html:
# only regress the inner body, since other sections are non-deterministic
soup = BeautifulSoup(content, "html.parser")
doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
# pygments 2.11.0 introduces a whitespace tag
for pygment_whitespace in doc_div.select("pre > span.w"):
pygment_whitespace.replace_with(pygment_whitespace.text)
text = doc_div.prettify()
# changed in sphinx 7.2
text = text.replace('"Link to this', '"Permalink to this')
for find, rep in (replace or {}).items():
text = text.replace(find, rep)
> file_regression.check(text, extension=regress_ext, encoding="utf8")
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-mockbuild/pytest-0/test_includes0/test_sphinx_builds/test_includes.html
E /tmp/pytest-of-mockbuild/pytest-0/test_includes0/test_sphinx_builds/test_includes.obtained.html
E HTML DIFF: /tmp/pytest-of-mockbuild/pytest-0/test_includes0/test_sphinx_builds/test_includes.obtained.diff.html
E ---
E +++
E @@ -143,6 +143,8 @@
E
E
E
E +
E +
E
E
E
tests/test_sphinx/conftest.py:87: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: html
# srcdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/includes
# outdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/includes/_build/html
# status:
Running Sphinx v8.1.3[39;49;00m
loading translations [en]... [39;49;00mdone
myst v4.0.0:[39;49;00m MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=set(), disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: [39;49;00mtargets for 0 po files that are out of date
writing output... [39;49;00m
building [html]: [39;49;00mtargets for 1 source files that are out of date
updating environment: [39;49;00m[new config] 1 added, 0 changed, 0 removed
reading sources... [39;49;00m[100%] index[39;49;00m
looking for now-outdated files... [39;49;00mnone found
pickling environment... [39;49;00mdone
checking consistency... [39;49;00mdone
preparing documents... [39;49;00mdone
copying assets... [39;49;00m
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/includes/_build/html/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/includes/_build/html/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/includes/_build/html/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
copying assets: [39;49;00mdone
writing output... [39;49;00m[100%] index[39;49;00m
generating indices... [39;49;00mgenindex done
writing additional pages... [39;49;00msearch done
copying images... [39;49;00m[ 50%] example1.jpg[39;49;00m
copying images... [39;49;00m[100%] subfolder/example2.jpg[39;49;00m
dumping search index in English (code: en)... [39;49;00mdone
dumping object inventory... [39;49;00mdone
build succeeded.[39;49;00m
The HTML pages are in tests/test_sphinx/sourcedirs/includes/_build/html.
# warning:
________________________________ test_footnotes ________________________________
app =
status = <_io.StringIO object at 0x7f68c63aa8c0>
warning = <_io.StringIO object at 0x7f68c63ab640>
get_sphinx_app_doctree = .read at 0x7f68c6137c40>
get_sphinx_app_output = .read at 0x7f68c6134cc0>
@pytest.mark.sphinx(
buildername="html", srcdir=os.path.join(SOURCE_DIR, "footnotes"), freshenv=True
)
def test_footnotes(
app,
status,
warning,
get_sphinx_app_doctree,
get_sphinx_app_output,
):
"""Test of include directive."""
app.build()
assert "build succeeded" in status.getvalue() # Build succeeded
warnings = strip_colors(warning.getvalue()).replace(
str(app.srcdir) + os.path.sep, "source/"
)
# print(warnings)
assert (
warnings.strip()
== """
source/footnote_md.md:29: WARNING: Footnote [1] is not referenced. [ref.footnote]
source/footnote_md.md:31: WARNING: Footnote [#] is not referenced. [ref.footnote]
source/footnote_rst.rst:26: WARNING: Footnote [1] is not referenced. [ref.footnote]
source/footnote_rst.rst:28: WARNING: Footnote [#] is not referenced. [ref.footnote]
""".strip()
)
try:
get_sphinx_app_doctree(app, docname="footnote_md", regress=True)
finally:
> get_sphinx_app_output(
app,
filename="footnote_md.html",
regress_html=True,
regress_ext=".html",
replace={
'role="note">': 'role="doc-footnote">', # changed in docutils 0.20
},
)
tests/test_sphinx/test_sphinx_builds.py:356:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
app = , buildername = 'html'
filename = 'footnote_md.html', encoding = 'utf-8', regress_html = True
regress_ext = '.html', replace = {'role="note">': 'role="doc-footnote">'}
def read(
app,
buildername="html",
filename="index.html",
encoding="utf-8",
regress_html=False,
regress_ext=".html",
replace=None,
):
outpath = pathlib.Path(str(app.srcdir), "_build", buildername, filename)
if not outpath.exists():
raise OSError(f"no output file exists: {outpath}")
content = outpath.read_text(encoding=encoding)
if regress_html:
# only regress the inner body, since other sections are non-deterministic
soup = BeautifulSoup(content, "html.parser")
doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
# pygments 2.11.0 introduces a whitespace tag
for pygment_whitespace in doc_div.select("pre > span.w"):
pygment_whitespace.replace_with(pygment_whitespace.text)
text = doc_div.prettify()
# changed in sphinx 7.2
text = text.replace('"Link to this', '"Permalink to this')
for find, rep in (replace or {}).items():
text = text.replace(find, rep)
> file_regression.check(text, extension=regress_ext, encoding="utf8")
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-mockbuild/pytest-0/test_footnotes0/test_sphinx_builds/test_footnotes.html
E /tmp/pytest-of-mockbuild/pytest-0/test_footnotes0/test_sphinx_builds/test_footnotes.obtained.html
E HTML DIFF: /tmp/pytest-of-mockbuild/pytest-0/test_footnotes0/test_sphinx_builds/test_footnotes.obtained.diff.html
E ---
E +++
E @@ -244,6 +244,8 @@
E
E
E
E +
E +
E
E
E
tests/test_sphinx/conftest.py:87: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: html
# srcdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/footnotes
# outdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/footnotes/_build/html
# status:
Running Sphinx v8.1.3[39;49;00m
loading translations [en]... [39;49;00mdone
myst v4.0.0:[39;49;00m MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=set(), disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: [39;49;00mtargets for 0 po files that are out of date
writing output... [39;49;00m
building [html]: [39;49;00mtargets for 3 source files that are out of date
updating environment: [39;49;00m[new config] 3 added, 0 changed, 0 removed
reading sources... [39;49;00m[ 33%] footnote_md[39;49;00m
reading sources... [39;49;00m[ 67%] footnote_rst[39;49;00m
reading sources... [39;49;00m[100%] index[39;49;00m
looking for now-outdated files... [39;49;00mnone found
pickling environment... [39;49;00mdone
checking consistency... [39;49;00mdone
preparing documents... [39;49;00mdone
copying assets... [39;49;00m
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/footnotes/_build/html/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/footnotes/_build/html/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/footnotes/_build/html/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
copying assets: [39;49;00mdone
writing output... [39;49;00m[ 33%] footnote_md[39;49;00m
writing output... [39;49;00m[ 67%] footnote_rst[39;49;00m
writing output... [39;49;00m[100%] index[39;49;00m
generating indices... [39;49;00mgenindex done
writing additional pages... [39;49;00msearch done
dumping search index in English (code: en)... [39;49;00mdone
dumping object inventory... [39;49;00mdone
build succeeded, 4 warnings.[39;49;00m
The HTML pages are in tests/test_sphinx/sourcedirs/footnotes/_build/html.
# warning:
/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/footnotes/footnote_md.md:29: WARNING: Footnote [1] is not referenced. [ref.footnote][39;49;00m
/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/footnotes/footnote_md.md:31: WARNING: Footnote [#] is not referenced. [ref.footnote][39;49;00m
/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/footnotes/footnote_rst.rst:26: WARNING: Footnote [1] is not referenced. [ref.footnote][39;49;00m
/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/footnotes/footnote_rst.rst:28: WARNING: Footnote [#] is not referenced. [ref.footnote][39;49;00m
_____________________________ test_commonmark_only _____________________________
app =
status = <_io.StringIO object at 0x7f68c6196140>
warning = <_io.StringIO object at 0x7f68c6196740>
get_sphinx_app_doctree = .read at 0x7f68c6135da0>
get_sphinx_app_output = .read at 0x7f68c6135a80>
@pytest.mark.sphinx(
buildername="html",
srcdir=os.path.join(SOURCE_DIR, "commonmark_only"),
freshenv=True,
)
def test_commonmark_only(
app,
status,
warning,
get_sphinx_app_doctree,
get_sphinx_app_output,
):
"""test setting addition configuration values."""
app.build()
assert "build succeeded" in status.getvalue() # Build succeeded
warnings = warning.getvalue().strip()
assert "lexer name '{note}'" in warnings
try:
get_sphinx_app_doctree(app, docname="index", regress=True)
finally:
> get_sphinx_app_output(
app,
filename="index.html",
regress_html=True,
replace={"Permalink to this headline": "Permalink to this heading"},
)
tests/test_sphinx/test_sphinx_builds.py:388:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
app = , buildername = 'html'
filename = 'index.html', encoding = 'utf-8', regress_html = True
regress_ext = '.html'
replace = {'Permalink to this headline': 'Permalink to this heading'}
def read(
app,
buildername="html",
filename="index.html",
encoding="utf-8",
regress_html=False,
regress_ext=".html",
replace=None,
):
outpath = pathlib.Path(str(app.srcdir), "_build", buildername, filename)
if not outpath.exists():
raise OSError(f"no output file exists: {outpath}")
content = outpath.read_text(encoding=encoding)
if regress_html:
# only regress the inner body, since other sections are non-deterministic
soup = BeautifulSoup(content, "html.parser")
doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
# pygments 2.11.0 introduces a whitespace tag
for pygment_whitespace in doc_div.select("pre > span.w"):
pygment_whitespace.replace_with(pygment_whitespace.text)
text = doc_div.prettify()
# changed in sphinx 7.2
text = text.replace('"Link to this', '"Permalink to this')
for find, rep in (replace or {}).items():
text = text.replace(find, rep)
> file_regression.check(text, extension=regress_ext, encoding="utf8")
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-mockbuild/pytest-0/test_commonmark_only0/test_sphinx_builds/test_commonmark_only.html
E /tmp/pytest-of-mockbuild/pytest-0/test_commonmark_only0/test_sphinx_builds/test_commonmark_only.obtained.html
E HTML DIFF: /tmp/pytest-of-mockbuild/pytest-0/test_commonmark_only0/test_sphinx_builds/test_commonmark_only.obtained.diff.html
E ---
E +++
E @@ -23,6 +23,8 @@
E
E
E
E +
E +
E
E
E
tests/test_sphinx/conftest.py:87: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: html
# srcdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/commonmark_only
# outdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/commonmark_only/_build/html
# status:
Running Sphinx v8.1.3[39;49;00m
loading translations [en]... [39;49;00mdone
myst v4.0.0:[39;49;00m MdParserConfig(commonmark_only=True, gfm_only=False, enable_extensions=set(), disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: [39;49;00mtargets for 0 po files that are out of date
writing output... [39;49;00m
building [html]: [39;49;00mtargets for 1 source files that are out of date
updating environment: [39;49;00m[new config] 1 added, 0 changed, 0 removed
reading sources... [39;49;00m[100%] index[39;49;00m
looking for now-outdated files... [39;49;00mnone found
pickling environment... [39;49;00mdone
checking consistency... [39;49;00mdone
preparing documents... [39;49;00mdone
copying assets... [39;49;00m
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/commonmark_only/_build/html/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/commonmark_only/_build/html/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/commonmark_only/_build/html/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
copying assets: [39;49;00mdone
writing output... [39;49;00m[100%] index[39;49;00m
generating indices... [39;49;00mgenindex done
writing additional pages... [39;49;00msearch done
dumping search index in English (code: en)... [39;49;00mdone
dumping object inventory... [39;49;00mdone
build succeeded, 1 warning.[39;49;00m
The HTML pages are in tests/test_sphinx/sourcedirs/commonmark_only/_build/html.
# warning:
/builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/commonmark_only/index.md:3: WARNING: Pygments lexer name '{note}' is not known[39;49;00m
______________________________ test_substitutions ______________________________
app =
status = <_io.StringIO object at 0x7f68c6194b80>
warning = <_io.StringIO object at 0x7f68c6197400>
get_sphinx_app_doctree = .read at 0x7f68c60be660>
get_sphinx_app_output = .read at 0x7f68c60bf7e0>
file_regression =
@pytest.mark.sphinx(
buildername="html",
srcdir=os.path.join(SOURCE_DIR, "substitutions"),
freshenv=True,
)
def test_substitutions(
app,
status,
warning,
get_sphinx_app_doctree,
get_sphinx_app_output,
file_regression,
):
"""test setting addition configuration values."""
app.build()
assert "build succeeded" in status.getvalue() # Build succeeded
warnings = warning.getvalue().strip()
assert warnings == ""
try:
get_sphinx_app_doctree(app, docname="index", regress=True)
file_regression.check(
get_sphinx_app_doctree(app, docname="other").pformat(),
extension=".other.xml",
)
finally:
> get_sphinx_app_output(app, filename="index.html", regress_html=True)
tests/test_sphinx/test_sphinx_builds.py:422:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
app = , buildername = 'html'
filename = 'index.html', encoding = 'utf-8', regress_html = True
regress_ext = '.html', replace = None
def read(
app,
buildername="html",
filename="index.html",
encoding="utf-8",
regress_html=False,
regress_ext=".html",
replace=None,
):
outpath = pathlib.Path(str(app.srcdir), "_build", buildername, filename)
if not outpath.exists():
raise OSError(f"no output file exists: {outpath}")
content = outpath.read_text(encoding=encoding)
if regress_html:
# only regress the inner body, since other sections are non-deterministic
soup = BeautifulSoup(content, "html.parser")
doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
# pygments 2.11.0 introduces a whitespace tag
for pygment_whitespace in doc_div.select("pre > span.w"):
pygment_whitespace.replace_with(pygment_whitespace.text)
text = doc_div.prettify()
# changed in sphinx 7.2
text = text.replace('"Link to this', '"Permalink to this')
for find, rep in (replace or {}).items():
text = text.replace(find, rep)
> file_regression.check(text, extension=regress_ext, encoding="utf8")
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-mockbuild/pytest-0/test_substitutions0/test_sphinx_builds/test_substitutions.html
E /tmp/pytest-of-mockbuild/pytest-0/test_substitutions0/test_sphinx_builds/test_substitutions.obtained.html
E HTML DIFF: /tmp/pytest-of-mockbuild/pytest-0/test_substitutions0/test_sphinx_builds/test_substitutions.obtained.diff.html
E ---
E +++
E @@ -86,6 +86,8 @@
E
E value1
E
E +
E +
E
E
E
tests/test_sphinx/conftest.py:87: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: html
# srcdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/substitutions
# outdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/substitutions/_build/html
# status:
Running Sphinx v8.1.3[39;49;00m
loading translations [en]... [39;49;00mdone
myst v4.0.0:[39;49;00m MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'substitution'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={conf: ..., override: ...}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: [39;49;00mtargets for 0 po files that are out of date
writing output... [39;49;00m
building [html]: [39;49;00mtargets for 2 source files that are out of date
updating environment: [39;49;00m[new config] 2 added, 0 changed, 0 removed
reading sources... [39;49;00m[ 50%] index[39;49;00m
reading sources... [39;49;00m[100%] other[39;49;00m
looking for now-outdated files... [39;49;00mnone found
pickling environment... [39;49;00mdone
checking consistency... [39;49;00mdone
preparing documents... [39;49;00mdone
copying assets... [39;49;00m
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/substitutions/_build/html/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/substitutions/_build/html/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/substitutions/_build/html/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
copying assets: [39;49;00mdone
writing output... [39;49;00m[ 50%] index[39;49;00m
writing output... [39;49;00m[100%] other[39;49;00m
generating indices... [39;49;00mgenindex done
writing additional pages... [39;49;00msearch done
dumping search index in English (code: en)... [39;49;00mdone
dumping object inventory... [39;49;00mdone
build succeeded.[39;49;00m
The HTML pages are in tests/test_sphinx/sourcedirs/substitutions/_build/html.
# warning:
______________________________ test_gettext_html _______________________________
app =
status = <_io.StringIO object at 0x7f68c5e5c7c0>
warning = <_io.StringIO object at 0x7f68c5e5fb80>
get_sphinx_app_doctree = .read at 0x7f68c5435260>
get_sphinx_app_output = .read at 0x7f68c5435440>
@pytest.mark.sphinx(
buildername="html",
srcdir=os.path.join(SOURCE_DIR, "gettext"),
freshenv=True,
confoverrides={"language": "fr", "gettext_compact": False, "locale_dirs": ["."]},
)
def test_gettext_html(
app,
status,
warning,
get_sphinx_app_doctree,
get_sphinx_app_output,
):
"""Test gettext message extraction."""
app.build()
assert "build succeeded" in status.getvalue() # Build succeeded
warnings = warning.getvalue().strip()
assert warnings == ""
try:
get_sphinx_app_doctree(
app,
docname="index",
regress=True,
)
finally:
get_sphinx_app_doctree(
app,
docname="index",
resolve=True,
regress=True,
)
> get_sphinx_app_output(
app,
filename="index.html",
regress_html=True,
regress_ext=".html",
replace={
# upstream bug https://github.com/sphinx-doc/sphinx/issues/11689
'"Permalink to this heading"': '"Lien permanent vers cette rubrique"',
# which was fixed to a different translation in sphinx 7.3
'"Lien vers cette rubrique"': '"Lien permanent vers cette rubrique"',
# changed in docutils>0.19
' role="note">': ' role="doc-footnote">',
},
)
tests/test_sphinx/test_sphinx_builds.py:482:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
app = , buildername = 'html'
filename = 'index.html', encoding = 'utf-8', regress_html = True
regress_ext = '.html'
replace = {' role="note">': ' role="doc-footnote">', '"Lien vers cette rubrique"': '"Lien permanent vers cette rubrique"', '"Permalink to this heading"': '"Lien permanent vers cette rubrique"'}
def read(
app,
buildername="html",
filename="index.html",
encoding="utf-8",
regress_html=False,
regress_ext=".html",
replace=None,
):
outpath = pathlib.Path(str(app.srcdir), "_build", buildername, filename)
if not outpath.exists():
raise OSError(f"no output file exists: {outpath}")
content = outpath.read_text(encoding=encoding)
if regress_html:
# only regress the inner body, since other sections are non-deterministic
soup = BeautifulSoup(content, "html.parser")
doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
# pygments 2.11.0 introduces a whitespace tag
for pygment_whitespace in doc_div.select("pre > span.w"):
pygment_whitespace.replace_with(pygment_whitespace.text)
text = doc_div.prettify()
# changed in sphinx 7.2
text = text.replace('"Link to this', '"Permalink to this')
for find, rep in (replace or {}).items():
text = text.replace(find, rep)
> file_regression.check(text, extension=regress_ext, encoding="utf8")
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-mockbuild/pytest-0/test_gettext_html0/test_sphinx_builds/test_gettext_html.html
E /tmp/pytest-of-mockbuild/pytest-0/test_gettext_html0/test_sphinx_builds/test_gettext_html.obtained.html
E HTML DIFF: /tmp/pytest-of-mockbuild/pytest-0/test_gettext_html0/test_sphinx_builds/test_gettext_html.obtained.diff.html
E ---
E +++
E @@ -213,6 +213,8 @@
E
E
E
E +
E +
E
E
E
tests/test_sphinx/conftest.py:87: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: html
# srcdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/gettext
# outdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/gettext/_build/html
# status:
Running Sphinx v8.1.3[39;49;00m
loading translations [fr]... [39;49;00mdone
myst v4.0.0:[39;49;00m MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'deflist'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: [39;49;00mtargets for 1 po files that are out of date
writing output... [39;49;00m[100%] fr/LC_MESSAGES/index.mo[39;49;00m
building [html]: [39;49;00mtargets for 1 source files that are out of date
updating environment: [39;49;00m[new config] 1 added, 0 changed, 0 removed
reading sources... [39;49;00m[100%] index[39;49;00m
looking for now-outdated files... [39;49;00mnone found
pickling environment... [39;49;00mdone
checking consistency... [39;49;00mdone
preparing documents... [39;49;00mdone
copying assets... [39;49;00m
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/gettext/_build/html/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/gettext/_build/html/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/gettext/_build/html/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
copying assets: [39;49;00mdone
writing output... [39;49;00m[100%] index[39;49;00m
generating indices... [39;49;00mgenindex done
writing additional pages... [39;49;00msearch done
copying images... [39;49;00m[ 50%] poisson-amusant.png[39;49;00m
copying images... [39;49;00m[100%] fun-fish.png[39;49;00m
dumping search index in French (code: fr)... [39;49;00mdone
dumping object inventory... [39;49;00mdone
build succeeded.[39;49;00m
The HTML pages are in tests/test_sphinx/sourcedirs/gettext/_build/html.
# warning:
___________________________ test_fieldlist_extension ___________________________
app =
status = <_io.StringIO object at 0x7f68c54b5540>
warning = <_io.StringIO object at 0x7f68c54b5600>
get_sphinx_app_doctree = .read at 0x7f68c54959e0>
get_sphinx_app_output = .read at 0x7f68c5495bc0>
@pytest.mark.sphinx(
buildername="html",
srcdir=os.path.join(SOURCE_DIR, "fieldlist"),
freshenv=True,
)
def test_fieldlist_extension(
app,
status,
warning,
get_sphinx_app_doctree,
get_sphinx_app_output,
):
"""test setting addition configuration values."""
app.build()
assert "build succeeded" in status.getvalue() # Build succeeded
warnings = warning.getvalue().strip()
assert warnings == ""
try:
get_sphinx_app_doctree(
app,
docname="index",
regress=True,
replace={
# changed in sphinx 7.2 for desc_sig_name node
'classes="n n"': 'classes="n"',
# changed in sphinx 7.2 for desc_parameterlist node
'multi_line_parameter_list="False" ': "",
# changed in sphinx 7.1 (but fixed in 7.2) for desc_signature/desc_name nodes
'classes="sig sig-object sig sig-object"': 'classes="sig sig-object"',
'classes="sig-name descname sig-name descname"': 'classes="sig-name descname"',
# changed in sphinx 7.2 (#11533)
(
'no-contents-entry="False" no-index="False" '
'no-index-entry="False" no-typesetting="False" '
): "",
},
)
finally:
> get_sphinx_app_output(
app,
filename="index.html",
regress_html=True,
regress_ext=".html",
)
tests/test_sphinx/test_sphinx_builds.py:594:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
app = , buildername = 'html'
filename = 'index.html', encoding = 'utf-8', regress_html = True
regress_ext = '.html', replace = None
def read(
app,
buildername="html",
filename="index.html",
encoding="utf-8",
regress_html=False,
regress_ext=".html",
replace=None,
):
outpath = pathlib.Path(str(app.srcdir), "_build", buildername, filename)
if not outpath.exists():
raise OSError(f"no output file exists: {outpath}")
content = outpath.read_text(encoding=encoding)
if regress_html:
# only regress the inner body, since other sections are non-deterministic
soup = BeautifulSoup(content, "html.parser")
doc_div = soup.findAll("div", {"class": "documentwrapper"})[0]
# pygments 2.11.0 introduces a whitespace tag
for pygment_whitespace in doc_div.select("pre > span.w"):
pygment_whitespace.replace_with(pygment_whitespace.text)
text = doc_div.prettify()
# changed in sphinx 7.2
text = text.replace('"Link to this', '"Permalink to this')
for find, rep in (replace or {}).items():
text = text.replace(find, rep)
> file_regression.check(text, extension=regress_ext, encoding="utf8")
E AssertionError: FILES DIFFER:
E /tmp/pytest-of-mockbuild/pytest-0/test_fieldlist_extension0/test_sphinx_builds/test_fieldlist_extension.html
E /tmp/pytest-of-mockbuild/pytest-0/test_fieldlist_extension0/test_sphinx_builds/test_fieldlist_extension.obtained.html
E HTML DIFF: /tmp/pytest-of-mockbuild/pytest-0/test_fieldlist_extension0/test_sphinx_builds/test_fieldlist_extension.obtained.diff.html
E ---
E +++
E @@ -144,6 +144,8 @@
E
E
E
E +
E +
E
E
E
tests/test_sphinx/conftest.py:87: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: html
# srcdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/fieldlist
# outdir: /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/fieldlist/_build/html
# status:
Running Sphinx v8.1.3[39;49;00m
loading translations [en]... [39;49;00mdone
myst v4.0.0:[39;49;00m MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'fieldlist'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: [39;49;00mtargets for 0 po files that are out of date
writing output... [39;49;00m
building [html]: [39;49;00mtargets for 1 source files that are out of date
updating environment: [39;49;00m[new config] 1 added, 0 changed, 0 removed
reading sources... [39;49;00m[100%] index[39;49;00m
looking for now-outdated files... [39;49;00mnone found
pickling environment... [39;49;00mdone
checking consistency... [39;49;00mdone
preparing documents... [39;49;00mdone
copying assets... [39;49;00m
copying static files... [39;49;00m
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/fieldlist/_build/html/_static/basic.css
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/fieldlist/_build/html/_static/documentation_options.js
Writing evaluated template result to /builddir/build/BUILD/python-myst-parser-4.0.0-build/MyST-Parser-4.0.0/tests/test_sphinx/sourcedirs/fieldlist/_build/html/_static/language_data.js
copying static files: [39;49;00mdone
copying extra files... [39;49;00m
copying extra files: [39;49;00mdone
copying assets: [39;49;00mdone
writing output... [39;49;00m[100%] index[39;49;00m
generating indices... [39;49;00mgenindex done
writing additional pages... [39;49;00msearch done
dumping search index in English (code: en)... [39;49;00mdone
dumping object inventory... [39;49;00mdone
build succeeded.[39;49;00m
The HTML pages are in tests/test_sphinx/sourcedirs/fieldlist/_build/html.
# warning:
=========================== short test summary info ============================
FAILED tests/test_sphinx/test_sphinx_builds.py::test_basic - AssertionError: ...
FAILED tests/test_sphinx/test_sphinx_builds.py::test_references - AssertionEr...
FAILED tests/test_sphinx/test_sphinx_builds.py::test_references_singlehtml - ...
FAILED tests/test_sphinx/test_sphinx_builds.py::test_heading_slug_func - Asse...
FAILED tests/test_sphinx/test_sphinx_builds.py::test_extended_syntaxes - Asse...
FAILED tests/test_sphinx/test_sphinx_builds.py::test_includes - AssertionErro...
FAILED tests/test_sphinx/test_sphinx_builds.py::test_footnotes - AssertionErr...
FAILED tests/test_sphinx/test_sphinx_builds.py::test_commonmark_only - Assert...
FAILED tests/test_sphinx/test_sphinx_builds.py::test_substitutions - Assertio...
FAILED tests/test_sphinx/test_sphinx_builds.py::test_gettext_html - Assertion...
FAILED tests/test_sphinx/test_sphinx_builds.py::test_fieldlist_extension - As...
================= 11 failed, 1073 passed, 11 skipped in 10.93s =================
error: Bad exit status from /var/tmp/rpm-tmp.Zzcsyc (%check)
Bad exit status from /var/tmp/rpm-tmp.Zzcsyc (%check)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 7554ee3e5ce94d82bdb00b1e93f45630 -D /var/lib/mock/f42-build-56322776-6543326/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-myst-parser.spec\'\n', 1)]
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace
result = func(*args, **kw)
File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status
raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed:
# /usr/bin/systemd-nspawn -q -M 7554ee3e5ce94d82bdb00b1e93f45630 -D /var/lib/mock/f42-build-56322776-6543326/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ovz1uamh:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-myst-parser.spec'