Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-sphinx.spec'], chrootPath='/var/lib/mock/f40-build-2711504-71849/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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', 'd7ab6f15316d45d3b09a9c18a350386d', '-D', '/var/lib/mock/f40-build-2711504-71849/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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-jupyter-sphinx.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=1706227200 Wrote: /builddir/build/SRPMS/python-jupyter-sphinx-0.5.3-3.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-sphinx.spec'], chrootPath='/var/lib/mock/f40-build-2711504-71849/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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', 'ed106dd2a78243829b29a462f0e03433', '-D', '/var/lib/mock/f40-build-2711504-71849/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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-jupyter-sphinx.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=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.frZ5Ow + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter-sphinx-0.5.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter-sphinx-0.5.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter-sphinx-0.5.3 + rm -rf /builddir/build/BUILD/jupyter-sphinx-0.5.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/jupyter-sphinx-0.5.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.C7UG1E + umask 022 + cd /builddir/build/BUILD + cd jupyter-sphinx-0.5.3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter-sphinx-0.5.3/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-buildrequires -x doc,test Handling hatchling>=1.5 from build-system.requires Requirement not satisfied: hatchling>=1.5 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-sphinx-0.5.3-3.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-sphinx.spec'], chrootPath='/var/lib/mock/f40-build-2711504-71849/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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', '89001245d438491dad32bb4d9cdde805', '-D', '/var/lib/mock/f40-build-2711504-71849/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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-jupyter-sphinx.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=1706227200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.e91EXP + umask 022 + cd /builddir/build/BUILD + cd jupyter-sphinx-0.5.3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter-sphinx-0.5.3/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-buildrequires -x doc,test Handling hatchling>=1.5 from build-system.requires Requirement satisfied: hatchling>=1.5 (installed: hatchling 1.21.1) Handling ipykernel>=4.5.1 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement not satisfied: ipykernel>=4.5.1 Handling ipython from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement not satisfied: ipython Handling ipywidgets>=7.0.0 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement not satisfied: ipywidgets>=7.0.0 Handling nbconvert>=5.5 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement not satisfied: nbconvert>=5.5 Handling nbformat from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement not satisfied: nbformat Handling sphinx>=7 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement not satisfied: sphinx>=7 Handling matplotlib; extra == 'doc' from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement not satisfied: matplotlib; extra == 'doc' Handling bash-kernel; extra == 'test' from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement not satisfied: bash-kernel; extra == 'test' Handling pytest; extra == 'test' from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement not satisfied: pytest; extra == 'test' + cat /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-buildrequires + rm -rfv jupyter_sphinx-0.5.3.dist-info/ removed 'jupyter_sphinx-0.5.3.dist-info/METADATA' removed directory 'jupyter_sphinx-0.5.3.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-sphinx-0.5.3-3.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-sphinx.spec'], chrootPath='/var/lib/mock/f40-build-2711504-71849/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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', '43237b446f6c492b9037a3e0955c6705', '-D', '/var/lib/mock/f40-build-2711504-71849/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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-jupyter-sphinx.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=1706227200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0saxtd + umask 022 + cd /builddir/build/BUILD + cd jupyter-sphinx-0.5.3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter-sphinx-0.5.3/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-buildrequires -x doc,test Handling hatchling>=1.5 from build-system.requires Requirement satisfied: hatchling>=1.5 (installed: hatchling 1.21.1) Handling ipykernel>=4.5.1 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: ipykernel>=4.5.1 (installed: ipykernel 6.25.1) Handling ipython from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: ipython (installed: ipython 8.14.0) Handling ipywidgets>=7.0.0 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: ipywidgets>=7.0.0 (installed: ipywidgets 8.0.7) Handling nbconvert>=5.5 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: nbconvert>=5.5 (installed: nbconvert 7.2.5) Handling nbformat from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: nbformat (installed: nbformat 5.9.2) Handling sphinx>=7 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: sphinx>=7 (installed: sphinx 7.2.6) Handling matplotlib; extra == 'doc' from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: matplotlib; extra == 'doc' (installed: matplotlib 3.8.2) Handling bash-kernel; extra == 'test' from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: bash-kernel; extra == 'test' (installed: bash-kernel 0.9.3) Handling pytest; extra == 'test' from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: pytest; extra == 'test' (installed: pytest 7.4.3) + cat /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-buildrequires + rm -rfv jupyter_sphinx-0.5.3.dist-info/ removed 'jupyter_sphinx-0.5.3.dist-info/METADATA' removed directory 'jupyter_sphinx-0.5.3.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-sphinx-0.5.3-3.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-sphinx.spec'], chrootPath='/var/lib/mock/f40-build-2711504-71849/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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', 'b44c4c6ee4254f3c83890e9b89606bbc', '-D', '/var/lib/mock/f40-build-2711504-71849/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c2ngp4bc:/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 --nodeps /builddir/build/SPECS/python-jupyter-sphinx.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=1706227200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.r0Ehn1 + umask 022 + cd /builddir/build/BUILD + cd jupyter-sphinx-0.5.3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter-sphinx-0.5.3/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-buildrequires -x doc,test Handling hatchling>=1.5 from build-system.requires Requirement satisfied: hatchling>=1.5 (installed: hatchling 1.21.1) Handling ipykernel>=4.5.1 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: ipykernel>=4.5.1 (installed: ipykernel 6.25.1) Handling ipython from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: ipython (installed: ipython 8.14.0) Handling ipywidgets>=7.0.0 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: ipywidgets>=7.0.0 (installed: ipywidgets 8.0.7) Handling nbconvert>=5.5 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: nbconvert>=5.5 (installed: nbconvert 7.2.5) Handling nbformat from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: nbformat (installed: nbformat 5.9.2) Handling sphinx>=7 from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: sphinx>=7 (installed: sphinx 7.2.6) Handling matplotlib; extra == 'doc' from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: matplotlib; extra == 'doc' (installed: matplotlib 3.8.2) Handling bash-kernel; extra == 'test' from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: bash-kernel; extra == 'test' (installed: bash-kernel 0.9.3) Handling pytest; extra == 'test' from hook generated metadata: Requires-Dist (jupyter-sphinx) Requirement satisfied: pytest; extra == 'test' (installed: pytest 7.4.3) + cat /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-buildrequires + rm -rfv jupyter_sphinx-0.5.3.dist-info/ removed 'jupyter_sphinx-0.5.3.dist-info/METADATA' removed directory 'jupyter_sphinx-0.5.3.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vq8ZNI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --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 jupyter-sphinx-0.5.3 + mkdir -p /builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/jupyter-sphinx-0.5.3/pyproject-wheeldir Processing /builddir/build/BUILD/jupyter-sphinx-0.5.3 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: jupyter-sphinx Building wheel for jupyter-sphinx (pyproject.toml): started Running command Building wheel for jupyter-sphinx (pyproject.toml) Building wheel for jupyter-sphinx (pyproject.toml): finished with status 'done' Created wheel for jupyter-sphinx: filename=jupyter_sphinx-0.5.3-py3-none-any.whl size=21810 sha256=2aebfb33052ab78bb4253b808f91a4ae93cb55f69efb7cf1dc6360e9b09d1135 Stored in directory: /builddir/.cache/pip/wheels/83/c9/27/c85bebe465a2b36c27e9f3346836fc65a2087ef63ea32fe0e5 Successfully built jupyter-sphinx + PYTHONPATH=/builddir/build/BUILD/jupyter-sphinx-0.5.3 + make -C doc html make: Entering directory '/builddir/build/BUILD/jupyter-sphinx-0.5.3/doc' Running Sphinx v7.2.6 making output directory... done building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 1 source files that are out of date updating environment: [new config] 1 added, 0 changed, 0 removed reading sources... [100%] index executing index [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled looking for now-outdated files... none found pickling environment... WARNING: Cell printed to stderr: Matplotlib is building the font cache; this may take a moment. done checking consistency... done preparing documents... done copying assets... copying downloadable files... [100%] ../build/jupyter_execute/index.ipynb copying static files... done copying extra files... done done writing output... [100%] index generating indices... genindex done writing additional pages... search done copying images... [100%] ../build/jupyter_execute/index_3_1.png dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 1 warning. The HTML pages are in build/html. make: Leaving directory '/builddir/build/BUILD/jupyter-sphinx-0.5.3/doc' + rm doc/build/html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Z0Xo6h + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --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 jupyter-sphinx-0.5.3 ++ ls /builddir/build/BUILD/jupyter-sphinx-0.5.3/pyproject-wheeldir/jupyter_sphinx-0.5.3-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=jupyter_sphinx==0.5.3 + '[' -z jupyter_sphinx==0.5.3 ']' + TMPDIR=/builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/jupyter-sphinx-0.5.3/pyproject-wheeldir jupyter_sphinx==0.5.3 Using pip 23.3.2 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/jupyter-sphinx-0.5.3/pyproject-wheeldir Processing ./pyproject-wheeldir/jupyter_sphinx-0.5.3-py3-none-any.whl Installing collected packages: jupyter_sphinx Successfully installed jupyter_sphinx-0.5.3 + '[' -d /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/jupyter_sphinx-0.5.3.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx-0.5.3.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch --record /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx-0.5.3.dist-info/RECORD --output /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx-0.5.3.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx-0.5.3.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx-0.5.3.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx-0.5.3.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-jupyter-sphinx-0.5.3-3.fc40.noarch-pyproject-record --prefix /usr jupyter_sphinx + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.5.3-3.fc40 --unique-debug-suffix -0.5.3-3.fc40.noarch --unique-debug-src-base python-jupyter-sphinx-0.5.3-3.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jupyter-sphinx-0.5.3 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j32 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.o5ys9t + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --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 jupyter-sphinx-0.5.3 + export JUPYTER_PLATFORM_DIRS=1 + JUPYTER_PLATFORM_DIRS=1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/jupyter-sphinx-0.5.3/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=32 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.4.3, pluggy-1.3.0 rootdir: /builddir/build/BUILD/jupyter-sphinx-0.5.3 configfile: pyproject.toml testpaths: tests/ plugins: anyio-3.7.1 collected 35 items tests/test_execute.py ..FFF..F...F................FFFF.FF [100%] =================================== FAILURES =================================== _______________________________ test_hide_output _______________________________ kernel_name = 'python3' cells = [{'id': '0af7b6e0', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '2 + 2', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: > executenb(notebook, **execute_kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nbclient/client.py:1305: in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:160: in wrapped return loop.run_until_complete(inner) /usr/lib64/python3.12/asyncio/base_events.py:664: in run_until_complete return future.result() /usr/lib/python3.12/site-packages/nbclient/client.py:689: in async_execute async with self.async_setup_kernel(**kwargs): /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) /usr/lib/python3.12/site-packages/nbclient/client.py:647: in async_setup_kernel await self.async_start_new_kernel_client() /usr/lib/python3.12/site-packages/nbclient/client.py:562: in async_start_new_kernel_client await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout)) /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:172: in ensure_async result = await obj _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 60 seconds /usr/lib/python3.12/site-packages/jupyter_client/client.py:206: RuntimeError During handling of the above exception, another exception occurred: doctree = .doctree at 0xffffff91027e20> def test_hide_output(doctree): source = """ .. jupyter-execute:: :hide-output:  2 + 2 """ > tree = doctree(source) tests/test_execute.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_execute.py:70: in doctree app.build() /usr/lib/python3.12/site-packages/sphinx/testing/util.py:147: in build super().build(force_all, filenames) /usr/lib/python3.12/site-packages/sphinx/application.py:360: in build self.builder.build_update() /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:293: in build_update self.build(to_build, /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:313: in build updated_docnames = set(self.read()) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:420: in read self._read_serial(docnames) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:441: in _read_serial self.read_doc(docname) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:498: in read_doc publisher.publish() /usr/lib/python3.12/site-packages/docutils/core.py:236: in publish self.apply_transforms() /usr/lib/python3.12/site-packages/docutils/core.py:216: in apply_transforms self.document.transformer.apply_transforms() /usr/lib/python3.12/site-packages/sphinx/transforms/__init__.py:83: in apply_transforms super().apply_transforms() /usr/lib/python3.12/site-packages/docutils/transforms/__init__.py:182: in apply_transforms transform.apply(**kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:158: in apply notebook = execute_cells( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kernel_name = 'python3' cells = [{'id': '0af7b6e0', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '2 + 2', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: executenb(notebook, **execute_kwargs) except Exception as e: > raise ExtensionError("Notebook execution failed", orig_exc=e) E sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel didn't respond in 60 seconds) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:294: ExtensionError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.12/site-packages/ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 19, in from IPython.core.application import ( # type:ignore[attr-defined] File "/usr/lib/python3.12/site-packages/IPython/__init__.py", line 54, in from .terminal.embed import embed File "/usr/lib/python3.12/site-packages/IPython/terminal/embed.py", line 15, in from IPython.core.interactiveshell import DummyMod, InteractiveShell File "/usr/lib/python3.12/site-packages/IPython/core/interactiveshell.py", line 61, in from IPython.core.alias import Alias, AliasManager File "", line 1354, in _find_and_load File "", line 1325, in _find_and_load_unlocked File "", line 929, in _load_unlocked File "", line 990, in exec_module File "", line 1086, in get_code File "", line 1185, in get_data KeyboardInterrupt ------------------------------ Captured log call ------------------------------- ERROR traitlets:client.py:564 Error occurred while starting new kernel client for kernel 4ea3a65c-4e92-4eae-b333-f41e989fd869: Kernel didn't respond in 60 seconds ________________________________ test_hide_code ________________________________ kernel_name = 'python3' cells = [{'id': 'af52b7cd', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '2 + 2', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: > executenb(notebook, **execute_kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nbclient/client.py:1305: in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:160: in wrapped return loop.run_until_complete(inner) /usr/lib64/python3.12/asyncio/base_events.py:664: in run_until_complete return future.result() /usr/lib/python3.12/site-packages/nbclient/client.py:689: in async_execute async with self.async_setup_kernel(**kwargs): /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) /usr/lib/python3.12/site-packages/nbclient/client.py:647: in async_setup_kernel await self.async_start_new_kernel_client() /usr/lib/python3.12/site-packages/nbclient/client.py:562: in async_start_new_kernel_client await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout)) /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:172: in ensure_async result = await obj _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 60 seconds /usr/lib/python3.12/site-packages/jupyter_client/client.py:206: RuntimeError During handling of the above exception, another exception occurred: doctree = .doctree at 0xffffff91027d80> def test_hide_code(doctree): source = """ .. jupyter-execute:: :hide-code:  2 + 2 """ > tree = doctree(source) tests/test_execute.py:127: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_execute.py:70: in doctree app.build() /usr/lib/python3.12/site-packages/sphinx/testing/util.py:147: in build super().build(force_all, filenames) /usr/lib/python3.12/site-packages/sphinx/application.py:360: in build self.builder.build_update() /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:293: in build_update self.build(to_build, /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:313: in build updated_docnames = set(self.read()) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:420: in read self._read_serial(docnames) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:441: in _read_serial self.read_doc(docname) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:498: in read_doc publisher.publish() /usr/lib/python3.12/site-packages/docutils/core.py:236: in publish self.apply_transforms() /usr/lib/python3.12/site-packages/docutils/core.py:216: in apply_transforms self.document.transformer.apply_transforms() /usr/lib/python3.12/site-packages/sphinx/transforms/__init__.py:83: in apply_transforms super().apply_transforms() /usr/lib/python3.12/site-packages/docutils/transforms/__init__.py:182: in apply_transforms transform.apply(**kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:158: in apply notebook = execute_cells( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kernel_name = 'python3' cells = [{'id': 'af52b7cd', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '2 + 2', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: executenb(notebook, **execute_kwargs) except Exception as e: > raise ExtensionError("Notebook execution failed", orig_exc=e) E sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel didn't respond in 60 seconds) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:294: ExtensionError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/usr/lib64/python3.12/shutil.py", line 1470, in get_terminal_size size = os.get_terminal_size(sys.__stdout__.fileno()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: [Errno 25] Inappropriate ioctl for device During handling of the above exception, another exception occurred: Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.12/site-packages/ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 19, in from IPython.core.application import ( # type:ignore[attr-defined] File "/usr/lib/python3.12/site-packages/IPython/__init__.py", line 54, in from .terminal.embed import embed File "/usr/lib/python3.12/site-packages/IPython/terminal/embed.py", line 17, in from IPython.terminal.ipapp import load_default_config File "/usr/lib/python3.12/site-packages/IPython/terminal/ipapp.py", line 28, in from IPython.core.magics import ( File "/usr/lib/python3.12/site-packages/IPython/core/magics/__init__.py", line 23, in from .history import HistoryMagics File "/usr/lib/python3.12/site-packages/IPython/core/magics/history.py", line 38, in class HistoryMagics(Magics): File "/usr/lib/python3.12/site-packages/IPython/core/magics/history.py", line 40, in HistoryMagics @magic_arguments() ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/IPython/core/magic_arguments.py", line 241, in __call__ func.parser = construct_parser(func) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/IPython/core/magic_arguments.py", line 183, in construct_parser result = deco.add_to_parser(parser, group) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/IPython/core/magic_arguments.py", line 265, in add_to_parser getattr(parser, self._method_name)(*self.args, **self.kwds) File "/usr/lib64/python3.12/argparse.py", line 1486, in add_argument self._get_formatter()._format_args(action, None) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/argparse.py", line 2613, in _get_formatter return self.formatter_class(prog=self.prog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/argparse.py", line 173, in __init__ width = shutil.get_terminal_size().columns ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/shutil.py", line 1474, in get_terminal_size size = os.terminal_size(fallback) ^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyboardInterrupt ------------------------------ Captured log call ------------------------------- ERROR traitlets:client.py:564 Error occurred while starting new kernel client for kernel 3d41eb80-7cad-4ce3-aec5-d3b54b2aa5e4: Kernel didn't respond in 60 seconds _______________________________ test_code_below ________________________________ kernel_name = 'python3' cells = [{'id': '05b0f297', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '2 + 2', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: > executenb(notebook, **execute_kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nbclient/client.py:1305: in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:160: in wrapped return loop.run_until_complete(inner) /usr/lib64/python3.12/asyncio/base_events.py:664: in run_until_complete return future.result() /usr/lib/python3.12/site-packages/nbclient/client.py:689: in async_execute async with self.async_setup_kernel(**kwargs): /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) /usr/lib/python3.12/site-packages/nbclient/client.py:647: in async_setup_kernel await self.async_start_new_kernel_client() /usr/lib/python3.12/site-packages/nbclient/client.py:562: in async_start_new_kernel_client await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout)) /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:172: in ensure_async result = await obj _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 60 seconds /usr/lib/python3.12/site-packages/jupyter_client/client.py:206: RuntimeError During handling of the above exception, another exception occurred: doctree = .doctree at 0xffffff906e4ea0> def test_code_below(doctree): source = """ .. jupyter-execute:: :code-below:  2 + 2 """ > tree = doctree(source) tests/test_execute.py:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_execute.py:70: in doctree app.build() /usr/lib/python3.12/site-packages/sphinx/testing/util.py:147: in build super().build(force_all, filenames) /usr/lib/python3.12/site-packages/sphinx/application.py:360: in build self.builder.build_update() /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:293: in build_update self.build(to_build, /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:313: in build updated_docnames = set(self.read()) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:420: in read self._read_serial(docnames) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:441: in _read_serial self.read_doc(docname) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:498: in read_doc publisher.publish() /usr/lib/python3.12/site-packages/docutils/core.py:236: in publish self.apply_transforms() /usr/lib/python3.12/site-packages/docutils/core.py:216: in apply_transforms self.document.transformer.apply_transforms() /usr/lib/python3.12/site-packages/sphinx/transforms/__init__.py:83: in apply_transforms super().apply_transforms() /usr/lib/python3.12/site-packages/docutils/transforms/__init__.py:182: in apply_transforms transform.apply(**kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:158: in apply notebook = execute_cells( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kernel_name = 'python3' cells = [{'id': '05b0f297', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '2 + 2', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: executenb(notebook, **execute_kwargs) except Exception as e: > raise ExtensionError("Notebook execution failed", orig_exc=e) E sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel didn't respond in 60 seconds) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:294: ExtensionError ----------------------------- Captured stderr call ----------------------------- [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled ------------------------------ Captured log call ------------------------------- ERROR traitlets:client.py:564 Error occurred while starting new kernel client for kernel 80b6698c-43fa-4ba9-b63f-373c7249c1c3: Kernel didn't respond in 60 seconds ______________________ test_continue_linenos_conf_option _______________________ kernel_name = 'python3' cells = [{'id': 'fad23b6f', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '2 + 2', 'outputs': []}, {'id': '80adeade', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '3 + 3', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: > executenb(notebook, **execute_kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nbclient/client.py:1305: in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:160: in wrapped return loop.run_until_complete(inner) /usr/lib64/python3.12/asyncio/base_events.py:664: in run_until_complete return future.result() /usr/lib/python3.12/site-packages/nbclient/client.py:689: in async_execute async with self.async_setup_kernel(**kwargs): /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) /usr/lib/python3.12/site-packages/nbclient/client.py:647: in async_setup_kernel await self.async_start_new_kernel_client() /usr/lib/python3.12/site-packages/nbclient/client.py:562: in async_start_new_kernel_client await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout)) /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:172: in ensure_async result = await obj _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 60 seconds /usr/lib/python3.12/site-packages/jupyter_client/client.py:206: RuntimeError During handling of the above exception, another exception occurred: doctree = .doctree at 0xffffff907a84a0> def test_continue_linenos_conf_option(doctree): # Test no linenumbering without linenos config or lineno-start directive source = """ .. jupyter-execute::  2 + 2  """  tree = doctree(source, config="jupyter_sphinx_continue_linenos = True") (cell,) = tree.findall(JupyterCellNode) (cellinput, celloutput) = cell.children assert not cellinput.children[0].attributes["linenos"] assert cellinput.children[0].astext().strip() == "2 + 2" assert celloutput.children[0].astext().strip() == "4"  # Test continuous line numbering source = """ .. jupyter-execute::  2 + 2  .. jupyter-execute::  3 + 3  """  > tree = doctree( source, config="jupyter_sphinx_linenos = True\n" "jupyter_sphinx_continue_linenos = True", ) tests/test_execute.py:220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_execute.py:70: in doctree app.build() /usr/lib/python3.12/site-packages/sphinx/testing/util.py:147: in build super().build(force_all, filenames) /usr/lib/python3.12/site-packages/sphinx/application.py:360: in build self.builder.build_update() /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:293: in build_update self.build(to_build, /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:313: in build updated_docnames = set(self.read()) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:420: in read self._read_serial(docnames) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:441: in _read_serial self.read_doc(docname) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:498: in read_doc publisher.publish() /usr/lib/python3.12/site-packages/docutils/core.py:236: in publish self.apply_transforms() /usr/lib/python3.12/site-packages/docutils/core.py:216: in apply_transforms self.document.transformer.apply_transforms() /usr/lib/python3.12/site-packages/sphinx/transforms/__init__.py:83: in apply_transforms super().apply_transforms() /usr/lib/python3.12/site-packages/docutils/transforms/__init__.py:182: in apply_transforms transform.apply(**kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:158: in apply notebook = execute_cells( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kernel_name = 'python3' cells = [{'id': 'fad23b6f', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '2 + 2', 'outputs': []}, {'id': '80adeade', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '3 + 3', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: executenb(notebook, **execute_kwargs) except Exception as e: > raise ExtensionError("Notebook execution failed", orig_exc=e) E sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel didn't respond in 60 seconds) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:294: ExtensionError ----------------------------- Captured stderr call ----------------------------- [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.12/site-packages/ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 19, in from IPython.core.application import ( # type:ignore[attr-defined] File "/usr/lib/python3.12/site-packages/IPython/__init__.py", line 54, in from .terminal.embed import embed File "/usr/lib/python3.12/site-packages/IPython/terminal/embed.py", line 17, in from IPython.terminal.ipapp import load_default_config File "/usr/lib/python3.12/site-packages/IPython/terminal/ipapp.py", line 28, in from IPython.core.magics import ( File "/usr/lib/python3.12/site-packages/IPython/core/magics/__init__.py", line 21, in from .execution import ExecutionMagics File "/usr/lib/python3.12/site-packages/IPython/core/magics/execution.py", line 11, in import cProfile as profile File "", line 1354, in _find_and_load File "", line 1316, in _find_and_load_unlocked File "", line 1256, in _find_spec File "", line 1524, in find_spec File "", line 1498, in _get_spec File "", line 1630, in find_spec File "", line 161, in _path_isfile File "", line 153, in _path_is_mode_type File "", line 147, in _path_stat KeyboardInterrupt ------------------------------ Captured log call ------------------------------- INFO traitlets:client.py:691 Executing notebook with kernel: python3 INFO traitlets:files.py:127 Writing 1026 bytes to /tmp/tmpce_0akw8/_build/jupyter_execute/index.ipynb ERROR traitlets:client.py:564 Error occurred while starting new kernel client for kernel 3ab462bd-54da-43d4-9277-26705db2bf1e: Kernel didn't respond in 60 seconds _________________________________ test_raises __________________________________ kernel_name = 'python3' cells = [{'id': 'de135b76', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': 'raise ValueError()', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: > executenb(notebook, **execute_kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nbclient/client.py:1305: in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:160: in wrapped return loop.run_until_complete(inner) /usr/lib64/python3.12/asyncio/base_events.py:664: in run_until_complete return future.result() /usr/lib/python3.12/site-packages/nbclient/client.py:689: in async_execute async with self.async_setup_kernel(**kwargs): /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) /usr/lib/python3.12/site-packages/nbclient/client.py:647: in async_setup_kernel await self.async_start_new_kernel_client() /usr/lib/python3.12/site-packages/nbclient/client.py:562: in async_start_new_kernel_client await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout)) /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:172: in ensure_async result = await obj _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 60 seconds /usr/lib/python3.12/site-packages/jupyter_client/client.py:206: RuntimeError During handling of the above exception, another exception occurred: doctree = .doctree at 0xffffff8d8cdee0> def test_raises(doctree): source = """ .. jupyter-execute::  raise ValueError() """ with pytest.raises(ExtensionError): doctree(source)  source = """ .. jupyter-execute:: :raises:  raise ValueError() """ > tree = doctree(source) tests/test_execute.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_execute.py:70: in doctree app.build() /usr/lib/python3.12/site-packages/sphinx/testing/util.py:147: in build super().build(force_all, filenames) /usr/lib/python3.12/site-packages/sphinx/application.py:360: in build self.builder.build_update() /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:293: in build_update self.build(to_build, /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:313: in build updated_docnames = set(self.read()) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:420: in read self._read_serial(docnames) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:441: in _read_serial self.read_doc(docname) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:498: in read_doc publisher.publish() /usr/lib/python3.12/site-packages/docutils/core.py:236: in publish self.apply_transforms() /usr/lib/python3.12/site-packages/docutils/core.py:216: in apply_transforms self.document.transformer.apply_transforms() /usr/lib/python3.12/site-packages/sphinx/transforms/__init__.py:83: in apply_transforms super().apply_transforms() /usr/lib/python3.12/site-packages/docutils/transforms/__init__.py:182: in apply_transforms transform.apply(**kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:158: in apply notebook = execute_cells( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kernel_name = 'python3' cells = [{'id': 'de135b76', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': 'raise ValueError()', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: executenb(notebook, **execute_kwargs) except Exception as e: > raise ExtensionError("Notebook execution failed", orig_exc=e) E sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel didn't respond in 60 seconds) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:294: ExtensionError ----------------------------- Captured stderr call ----------------------------- [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled ------------------------------ Captured log call ------------------------------- INFO traitlets:client.py:691 Executing notebook with kernel: python3 ERROR traitlets:client.py:564 Error occurred while starting new kernel client for kernel fe4cab45-1fc8-4111-9be5-a9d1a670b3e3: Kernel didn't respond in 60 seconds _______________________________ test_bash_kernel _______________________________ kernel_name = 'bash' cells = [{'id': 'afe2e017', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': 'bind \'set enable-bracketed-paste off\'\necho "foo"', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: > executenb(notebook, **execute_kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nbclient/client.py:1305: in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:160: in wrapped return loop.run_until_complete(inner) /usr/lib64/python3.12/asyncio/base_events.py:664: in run_until_complete return future.result() /usr/lib/python3.12/site-packages/nbclient/client.py:689: in async_execute async with self.async_setup_kernel(**kwargs): /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) /usr/lib/python3.12/site-packages/nbclient/client.py:647: in async_setup_kernel await self.async_start_new_kernel_client() /usr/lib/python3.12/site-packages/nbclient/client.py:562: in async_start_new_kernel_client await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout)) /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:172: in ensure_async result = await obj _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 60 seconds /usr/lib/python3.12/site-packages/jupyter_client/client.py:206: RuntimeError During handling of the above exception, another exception occurred: doctree = .doctree at 0xffffff8d886980> def test_bash_kernel(doctree): pytest.importorskip("bash_kernel") if sys.platform == "win32": pytest.skip("Not trying bash on windows.")  # we set enable-bracketed-paste off # to avoid bash_kernel accidentally raising errors # (related to https://github.com/takluyver/bash_kernel/issues/107) source = """ .. jupyter-kernel:: bash :id: test  .. jupyter-execute::  bind 'set enable-bracketed-paste off' echo "foo" """ with warnings.catch_warnings(): # See https://github.com/takluyver/bash_kernel/issues/105 warnings.simplefilter("ignore", DeprecationWarning) > _, app, _ = doctree(source, return_all=True) tests/test_execute.py:674: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_execute.py:70: in doctree app.build() /usr/lib/python3.12/site-packages/sphinx/testing/util.py:147: in build super().build(force_all, filenames) /usr/lib/python3.12/site-packages/sphinx/application.py:360: in build self.builder.build_update() /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:293: in build_update self.build(to_build, /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:313: in build updated_docnames = set(self.read()) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:420: in read self._read_serial(docnames) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:441: in _read_serial self.read_doc(docname) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:498: in read_doc publisher.publish() /usr/lib/python3.12/site-packages/docutils/core.py:236: in publish self.apply_transforms() /usr/lib/python3.12/site-packages/docutils/core.py:216: in apply_transforms self.document.transformer.apply_transforms() /usr/lib/python3.12/site-packages/sphinx/transforms/__init__.py:83: in apply_transforms super().apply_transforms() /usr/lib/python3.12/site-packages/docutils/transforms/__init__.py:182: in apply_transforms transform.apply(**kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:158: in apply notebook = execute_cells( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kernel_name = 'bash' cells = [{'id': 'afe2e017', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': 'bind \'set enable-bracketed-paste off\'\necho "foo"', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: executenb(notebook, **execute_kwargs) except Exception as e: > raise ExtensionError("Notebook execution failed", orig_exc=e) E sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel didn't respond in 60 seconds) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:294: ExtensionError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.12/site-packages/bash_kernel/__main__.py", line 3, in IPKernelApp.launch_instance(kernel_class=BashKernel) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 692, in initialize self.write_connection_file() File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 278, in write_connection_file connection_info = dict(existing_connection_info, **connection_info) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyboardInterrupt ------------------------------ Captured log call ------------------------------- ERROR traitlets:client.py:564 Error occurred while starting new kernel client for kernel fe25a9aa-fca2-4ba5-b2b0-fb3cfd590bc9: Kernel didn't respond in 60 seconds _______________________________ test_input_cell ________________________________ kernel_name = 'python3' cells = [{'id': 'f2ac45f6', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: > executenb(notebook, **execute_kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nbclient/client.py:1305: in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:160: in wrapped return loop.run_until_complete(inner) /usr/lib64/python3.12/asyncio/base_events.py:664: in run_until_complete return future.result() /usr/lib/python3.12/site-packages/nbclient/client.py:689: in async_execute async with self.async_setup_kernel(**kwargs): /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) /usr/lib/python3.12/site-packages/nbclient/client.py:647: in async_setup_kernel await self.async_start_new_kernel_client() /usr/lib/python3.12/site-packages/nbclient/client.py:562: in async_start_new_kernel_client await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout)) /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:172: in ensure_async result = await obj _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 60 seconds /usr/lib/python3.12/site-packages/jupyter_client/client.py:206: RuntimeError During handling of the above exception, another exception occurred: doctree = .doctree at 0xffffff8d885620> def test_input_cell(doctree): source = """ .. jupyter-input::  2 + 2 """ > tree = doctree(source) tests/test_execute.py:687: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_execute.py:70: in doctree app.build() /usr/lib/python3.12/site-packages/sphinx/testing/util.py:147: in build super().build(force_all, filenames) /usr/lib/python3.12/site-packages/sphinx/application.py:360: in build self.builder.build_update() /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:293: in build_update self.build(to_build, /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:313: in build updated_docnames = set(self.read()) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:420: in read self._read_serial(docnames) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:441: in _read_serial self.read_doc(docname) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:498: in read_doc publisher.publish() /usr/lib/python3.12/site-packages/docutils/core.py:236: in publish self.apply_transforms() /usr/lib/python3.12/site-packages/docutils/core.py:216: in apply_transforms self.document.transformer.apply_transforms() /usr/lib/python3.12/site-packages/sphinx/transforms/__init__.py:83: in apply_transforms super().apply_transforms() /usr/lib/python3.12/site-packages/docutils/transforms/__init__.py:182: in apply_transforms transform.apply(**kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:158: in apply notebook = execute_cells( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kernel_name = 'python3' cells = [{'id': 'f2ac45f6', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: executenb(notebook, **execute_kwargs) except Exception as e: > raise ExtensionError("Notebook execution failed", orig_exc=e) E sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel didn't respond in 60 seconds) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:294: ExtensionError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.12/site-packages/ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 19, in from IPython.core.application import ( # type:ignore[attr-defined] File "/usr/lib/python3.12/site-packages/IPython/__init__.py", line 54, in from .terminal.embed import embed File "/usr/lib/python3.12/site-packages/IPython/terminal/embed.py", line 17, in from IPython.terminal.ipapp import load_default_config File "/usr/lib/python3.12/site-packages/IPython/terminal/ipapp.py", line 28, in from IPython.core.magics import ( File "/usr/lib/python3.12/site-packages/IPython/core/magics/__init__.py", line 18, in from .code import CodeMagics, MacroToEdit File "/usr/lib/python3.12/site-packages/IPython/core/magics/code.py", line 23, in from urllib.request import Request, urlopen File "/usr/lib64/python3.12/urllib/request.py", line 88, in import http.client File "/usr/lib64/python3.12/http/client.py", line 71, in import email.parser File "/usr/lib64/python3.12/email/parser.py", line 12, in from email.feedparser import FeedParser, BytesFeedParser File "/usr/lib64/python3.12/email/feedparser.py", line 27, in from email._policybase import compat32 File "/usr/lib64/python3.12/email/_policybase.py", line 7, in from email import header File "", line 1354, in _find_and_load File "", line 1325, in _find_and_load_unlocked File "", line 929, in _load_unlocked File "", line 990, in exec_module File "", line 1123, in get_code File "", line 752, in _compile_bytecode KeyboardInterrupt ------------------------------ Captured log call ------------------------------- ERROR traitlets:client.py:564 Error occurred while starting new kernel client for kernel d1b0523a-1da3-4641-bb9d-4f2aedfde159: Kernel didn't respond in 60 seconds ___________________________ test_input_cell_linenos ____________________________ kernel_name = 'python3' cells = [{'id': 'b7f49fbd', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: > executenb(notebook, **execute_kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nbclient/client.py:1305: in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:160: in wrapped return loop.run_until_complete(inner) /usr/lib64/python3.12/asyncio/base_events.py:664: in run_until_complete return future.result() /usr/lib/python3.12/site-packages/nbclient/client.py:689: in async_execute async with self.async_setup_kernel(**kwargs): /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) /usr/lib/python3.12/site-packages/nbclient/client.py:647: in async_setup_kernel await self.async_start_new_kernel_client() /usr/lib/python3.12/site-packages/nbclient/client.py:562: in async_start_new_kernel_client await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout)) /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:172: in ensure_async result = await obj _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 60 seconds /usr/lib/python3.12/site-packages/jupyter_client/client.py:206: RuntimeError During handling of the above exception, another exception occurred: doctree = .doctree at 0xffffff8d656a20> def test_input_cell_linenos(doctree): source = """ .. jupyter-input:: :linenos:  2 + 2 """ > tree = doctree(source) tests/test_execute.py:703: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_execute.py:70: in doctree app.build() /usr/lib/python3.12/site-packages/sphinx/testing/util.py:147: in build super().build(force_all, filenames) /usr/lib/python3.12/site-packages/sphinx/application.py:360: in build self.builder.build_update() /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:293: in build_update self.build(to_build, /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:313: in build updated_docnames = set(self.read()) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:420: in read self._read_serial(docnames) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:441: in _read_serial self.read_doc(docname) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:498: in read_doc publisher.publish() /usr/lib/python3.12/site-packages/docutils/core.py:236: in publish self.apply_transforms() /usr/lib/python3.12/site-packages/docutils/core.py:216: in apply_transforms self.document.transformer.apply_transforms() /usr/lib/python3.12/site-packages/sphinx/transforms/__init__.py:83: in apply_transforms super().apply_transforms() /usr/lib/python3.12/site-packages/docutils/transforms/__init__.py:182: in apply_transforms transform.apply(**kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:158: in apply notebook = execute_cells( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kernel_name = 'python3' cells = [{'id': 'b7f49fbd', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: executenb(notebook, **execute_kwargs) except Exception as e: > raise ExtensionError("Notebook execution failed", orig_exc=e) E sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel didn't respond in 60 seconds) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:294: ExtensionError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.12/site-packages/ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 52, in from .ipkernel import IPythonKernel File "/usr/lib/python3.12/site-packages/ipykernel/ipkernel.py", line 20, in from .comm.comm import BaseComm File "/usr/lib/python3.12/site-packages/ipykernel/comm/__init__.py", line 3, in from .comm import Comm File "/usr/lib/python3.12/site-packages/ipykernel/comm/comm.py", line 15, in from ipykernel.kernelbase import Kernel File "/usr/lib/python3.12/site-packages/ipykernel/kernelbase.py", line 38, in import psutil File "/usr/lib64/python3.12/site-packages/psutil/__init__.py", line 42, in from . import _common File "/usr/lib64/python3.12/site-packages/psutil/_common.py", line 236, in pctxsw = namedtuple('pctxsw', ['voluntary', 'involuntary']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/collections/__init__.py", line 508, in namedtuple result = type(typename, (tuple,), class_namespace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyboardInterrupt ------------------------------ Captured log call ------------------------------- ERROR traitlets:client.py:564 Error occurred while starting new kernel client for kernel 530d6e1a-cd6d-4c8c-9198-2b338b5a8731: Kernel didn't respond in 60 seconds _______________________________ test_output_cell _______________________________ kernel_name = 'python3' cells = [{'id': '9dc3dff5', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: > executenb(notebook, **execute_kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nbclient/client.py:1305: in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:160: in wrapped return loop.run_until_complete(inner) /usr/lib64/python3.12/asyncio/base_events.py:664: in run_until_complete return future.result() /usr/lib/python3.12/site-packages/nbclient/client.py:689: in async_execute async with self.async_setup_kernel(**kwargs): /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) /usr/lib/python3.12/site-packages/nbclient/client.py:647: in async_setup_kernel await self.async_start_new_kernel_client() /usr/lib/python3.12/site-packages/nbclient/client.py:562: in async_start_new_kernel_client await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout)) /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:172: in ensure_async result = await obj _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 60 seconds /usr/lib/python3.12/site-packages/jupyter_client/client.py:206: RuntimeError During handling of the above exception, another exception occurred: doctree = .doctree at 0xffffff8d9a1d00> def test_output_cell(doctree): source = """ .. jupyter-input::  3 + 2  .. jupyter-output::  4 """ > tree = doctree(source) tests/test_execute.py:722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_execute.py:70: in doctree app.build() /usr/lib/python3.12/site-packages/sphinx/testing/util.py:147: in build super().build(force_all, filenames) /usr/lib/python3.12/site-packages/sphinx/application.py:360: in build self.builder.build_update() /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:293: in build_update self.build(to_build, /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:313: in build updated_docnames = set(self.read()) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:420: in read self._read_serial(docnames) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:441: in _read_serial self.read_doc(docname) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:498: in read_doc publisher.publish() /usr/lib/python3.12/site-packages/docutils/core.py:236: in publish self.apply_transforms() /usr/lib/python3.12/site-packages/docutils/core.py:216: in apply_transforms self.document.transformer.apply_transforms() /usr/lib/python3.12/site-packages/sphinx/transforms/__init__.py:83: in apply_transforms super().apply_transforms() /usr/lib/python3.12/site-packages/docutils/transforms/__init__.py:182: in apply_transforms transform.apply(**kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:158: in apply notebook = execute_cells( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kernel_name = 'python3' cells = [{'id': '9dc3dff5', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: executenb(notebook, **execute_kwargs) except Exception as e: > raise ExtensionError("Notebook execution failed", orig_exc=e) E sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel didn't respond in 60 seconds) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:294: ExtensionError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.12/site-packages/ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 51, in from .iostream import IOPubThread File "", line 1354, in _find_and_load File "", line 1325, in _find_and_load_unlocked File "", line 929, in _load_unlocked File "", line 990, in exec_module File "", line 1086, in get_code File "", line 1185, in get_data KeyboardInterrupt ------------------------------ Captured log call ------------------------------- ERROR traitlets:client.py:564 Error occurred while starting new kernel client for kernel 6415584f-1fdd-4d30-b4cc-f8447626d879: Kernel didn't respond in 60 seconds ___________________________ test_multiple_directives ___________________________ kernel_name = 'python3' cells = [{'id': '539b4173', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '2 + 2', 'outputs': []}, {'id': '3bce5a07', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: > executenb(notebook, **execute_kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nbclient/client.py:1305: in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:160: in wrapped return loop.run_until_complete(inner) /usr/lib64/python3.12/asyncio/base_events.py:664: in run_until_complete return future.result() /usr/lib/python3.12/site-packages/nbclient/client.py:689: in async_execute async with self.async_setup_kernel(**kwargs): /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) /usr/lib/python3.12/site-packages/nbclient/client.py:647: in async_setup_kernel await self.async_start_new_kernel_client() /usr/lib/python3.12/site-packages/nbclient/client.py:562: in async_start_new_kernel_client await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout)) /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:172: in ensure_async result = await obj _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 60 seconds /usr/lib/python3.12/site-packages/jupyter_client/client.py:206: RuntimeError During handling of the above exception, another exception occurred: doctree = .doctree at 0xffffff8d8858a0> def test_multiple_directives(doctree): source = """ .. jupyter-execute::  2 + 2  .. jupyter-input::  3 + 3  .. jupyter-output::  5 """ > tree = doctree(source) tests/test_execute.py:756: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_execute.py:70: in doctree app.build() /usr/lib/python3.12/site-packages/sphinx/testing/util.py:147: in build super().build(force_all, filenames) /usr/lib/python3.12/site-packages/sphinx/application.py:360: in build self.builder.build_update() /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:293: in build_update self.build(to_build, /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:313: in build updated_docnames = set(self.read()) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:420: in read self._read_serial(docnames) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:441: in _read_serial self.read_doc(docname) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:498: in read_doc publisher.publish() /usr/lib/python3.12/site-packages/docutils/core.py:236: in publish self.apply_transforms() /usr/lib/python3.12/site-packages/docutils/core.py:216: in apply_transforms self.document.transformer.apply_transforms() /usr/lib/python3.12/site-packages/sphinx/transforms/__init__.py:83: in apply_transforms super().apply_transforms() /usr/lib/python3.12/site-packages/docutils/transforms/__init__.py:182: in apply_transforms transform.apply(**kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:158: in apply notebook = execute_cells( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kernel_name = 'python3' cells = [{'id': '539b4173', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '2 + 2', 'outputs': []}, {'id': '3bce5a07', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': '', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: executenb(notebook, **execute_kwargs) except Exception as e: > raise ExtensionError("Notebook execution failed", orig_exc=e) E sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel didn't respond in 60 seconds) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:294: ExtensionError ------------------------------ Captured log call ------------------------------- ERROR traitlets:client.py:564 Error occurred while starting new kernel client for kernel 1a10c028-042d-421b-a673-a3d91136a109: Kernel didn't respond in 60 seconds ____________________________ test_builder_priority _____________________________ kernel_name = 'python3' cells = [{'id': 'b2baa895', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': 'display({"text/plain": "I am html output", "text/latex": "I am latex"})', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: > executenb(notebook, **execute_kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nbclient/client.py:1305: in execute return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute() /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:160: in wrapped return loop.run_until_complete(inner) /usr/lib64/python3.12/asyncio/base_events.py:664: in run_until_complete return future.result() /usr/lib/python3.12/site-packages/nbclient/client.py:689: in async_execute async with self.async_setup_kernel(**kwargs): /usr/lib64/python3.12/contextlib.py:204: in __aenter__ return await anext(self.gen) /usr/lib/python3.12/site-packages/nbclient/client.py:647: in async_setup_kernel await self.async_start_new_kernel_client() /usr/lib/python3.12/site-packages/nbclient/client.py:562: in async_start_new_kernel_client await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout)) /usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py:172: in ensure_async result = await obj _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 60 seconds /usr/lib/python3.12/site-packages/jupyter_client/client.py:206: RuntimeError During handling of the above exception, another exception occurred: doctree = .doctree at 0xffffff8d8849a0> def test_builder_priority(doctree): source = """ .. jupyter-execute::  display({"text/plain": "I am html output", "text/latex": "I am latex"}) """ config = ( "render_priority_html = ['text/plain', 'text/latex']\n" "render_priority_latex = ['text/latex', 'text/plain']" ) > _, app, _ = doctree(source, config=config, return_all=True, buildername="html") tests/test_execute.py:776: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_execute.py:70: in doctree app.build() /usr/lib/python3.12/site-packages/sphinx/testing/util.py:147: in build super().build(force_all, filenames) /usr/lib/python3.12/site-packages/sphinx/application.py:360: in build self.builder.build_update() /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:293: in build_update self.build(to_build, /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:313: in build updated_docnames = set(self.read()) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:420: in read self._read_serial(docnames) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:441: in _read_serial self.read_doc(docname) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:498: in read_doc publisher.publish() /usr/lib/python3.12/site-packages/docutils/core.py:236: in publish self.apply_transforms() /usr/lib/python3.12/site-packages/docutils/core.py:216: in apply_transforms self.document.transformer.apply_transforms() /usr/lib/python3.12/site-packages/sphinx/transforms/__init__.py:83: in apply_transforms super().apply_transforms() /usr/lib/python3.12/site-packages/docutils/transforms/__init__.py:182: in apply_transforms transform.apply(**kwargs) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:158: in apply notebook = execute_cells( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ kernel_name = 'python3' cells = [{'id': 'b2baa895', 'cell_type': 'code', 'metadata': {}, 'execution_count': None, 'source': 'display({"text/plain": "I am html output", "text/latex": "I am latex"})', 'outputs': []}] execute_kwargs = {'allow_errors': True, 'store_widget_state': True, 'timeout': -1} def execute_cells(kernel_name, cells, execute_kwargs): """Execute Jupyter cells in the specified kernel and return the notebook.""" notebook = blank_nb(kernel_name) notebook.cells = cells # Modifies 'notebook' in-place try: executenb(notebook, **execute_kwargs) except Exception as e: > raise ExtensionError("Notebook execution failed", orig_exc=e) E sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel didn't respond in 60 seconds) ../../BUILDROOT/python-jupyter-sphinx-0.5.3-3.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_sphinx/execute.py:294: ExtensionError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.12/site-packages/ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 19, in from IPython.core.application import ( # type:ignore[attr-defined] File "/usr/lib/python3.12/site-packages/IPython/__init__.py", line 54, in from .terminal.embed import embed File "/usr/lib/python3.12/site-packages/IPython/terminal/embed.py", line 16, in from IPython.terminal.interactiveshell import TerminalInteractiveShell File "/usr/lib/python3.12/site-packages/IPython/terminal/interactiveshell.py", line 31, in from prompt_toolkit.auto_suggest import AutoSuggestFromHistory File "/usr/lib/python3.12/site-packages/prompt_toolkit/__init__.py", line 27, in from .shortcuts import PromptSession, print_formatted_text, prompt File "/usr/lib/python3.12/site-packages/prompt_toolkit/shortcuts/__init__.py", line 3, in from .dialogs import ( File "/usr/lib/python3.12/site-packages/prompt_toolkit/shortcuts/dialogs.py", line 22, in from prompt_toolkit.widgets import ( File "/usr/lib/python3.12/site-packages/prompt_toolkit/widgets/__init__.py", line 26, in from .menus import MenuContainer, MenuItem File "", line 1354, in _find_and_load File "", line 1325, in _find_and_load_unlocked File "", line 929, in _load_unlocked File "", line 990, in exec_module File "", line 1123, in get_code File "", line 752, in _compile_bytecode KeyboardInterrupt ------------------------------ Captured log call ------------------------------- ERROR traitlets:client.py:564 Error occurred while starting new kernel client for kernel 87f63f9f-e2a5-4776-ab7e-ed819fe8281d: Kernel didn't respond in 60 seconds =============================== warnings summary =============================== tests/test_execute.py: 36 warnings /usr/lib/python3.12/site-packages/jupyter_client/session.py:203: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). return datetime.utcnow().replace(tzinfo=utc) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============================= slowest 10 durations ============================= 369.90s call tests/test_execute.py::test_latex 194.22s call tests/test_execute.py::test_stderr 181.19s call tests/test_execute.py::test_linenos 179.38s call tests/test_execute.py::test_kernel_restart 166.08s call tests/test_execute.py::test_continue_linenos_conf_option 151.60s call tests/test_execute.py::test_raises 113.34s call tests/test_execute.py::test_widgets 106.42s call tests/test_execute.py::test_thebe_button_auto 104.02s call tests/test_execute.py::test_basic[singlehtml] 103.50s call tests/test_execute.py::test_basic[html] =========================== short test summary info ============================ FAILED tests/test_execute.py::test_hide_output - sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel ... FAILED tests/test_execute.py::test_hide_code - sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel ... FAILED tests/test_execute.py::test_code_below - sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel ... FAILED tests/test_execute.py::test_continue_linenos_conf_option - sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel ... FAILED tests/test_execute.py::test_raises - sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel ... FAILED tests/test_execute.py::test_bash_kernel - sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel ... FAILED tests/test_execute.py::test_input_cell - sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel ... FAILED tests/test_execute.py::test_input_cell_linenos - sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel ... FAILED tests/test_execute.py::test_output_cell - sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel ... FAILED tests/test_execute.py::test_multiple_directives - sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel ... FAILED tests/test_execute.py::test_builder_priority - sphinx.errors.ExtensionError: Notebook execution failed (exception: Kernel ... =========== 11 failed, 24 passed, 36 warnings in 3713.25s (1:01:53) ============ Exception ignored in atexit callback: .wrapped of > Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 160, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/nbclient/client.py", line 500, in _async_cleanup_kernel assert self.km is not None AssertionError: Exception ignored in atexit callback: .wrapped of > Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 160, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/nbclient/client.py", line 500, in _async_cleanup_kernel assert self.km is not None AssertionError: Exception ignored in atexit callback: .wrapped of > Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 160, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/nbclient/client.py", line 500, in _async_cleanup_kernel assert self.km is not None AssertionError: Exception ignored in atexit callback: .wrapped of > Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 160, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/nbclient/client.py", line 500, in _async_cleanup_kernel assert self.km is not None AssertionError: Exception ignored in atexit callback: .wrapped of > Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 160, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/nbclient/client.py", line 500, in _async_cleanup_kernel assert self.km is not None AssertionError: Exception ignored in atexit callback: .wrapped of > Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 160, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/nbclient/client.py", line 500, in _async_cleanup_kernel assert self.km is not None AssertionError: Exception ignored in atexit callback: .wrapped of > Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 160, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/nbclient/client.py", line 500, in _async_cleanup_kernel assert self.km is not None AssertionError: Exception ignored in atexit callback: .wrapped of > Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 160, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/nbclient/client.py", line 500, in _async_cleanup_kernel assert self.km is not None AssertionError: Exception ignored in atexit callback: .wrapped of > Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 160, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/nbclient/client.py", line 500, in _async_cleanup_kernel assert self.km is not None AssertionError: Exception ignored in atexit callback: .wrapped of > Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 160, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/nbclient/client.py", line 500, in _async_cleanup_kernel assert self.km is not None AssertionError: Exception ignored in atexit callback: .wrapped of > Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 160, in wrapped return loop.run_until_complete(inner) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/nbclient/client.py", line 500, in _async_cleanup_kernel assert self.km is not None AssertionError: error: Bad exit status from /var/tmp/rpm-tmp.o5ys9t (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.o5ys9t (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b44c4c6ee4254f3c83890e9b89606bbc -D /var/lib/mock/f40-build-2711504-71849/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.c2ngp4bc:/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 --nodeps /builddir/build/SPECS/python-jupyter-sphinx.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, 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 b44c4c6ee4254f3c83890e9b89606bbc -D /var/lib/mock/f40-build-2711504-71849/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.c2ngp4bc:/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 --nodeps /builddir/build/SPECS/python-jupyter-sphinx.spec'