Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinxcontrib-websupport.spec'], chrootPath='/var/lib/mock/f40-build-2256978-54299/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinxcontrib-websupport.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/python-sphinxcontrib-websupport-1.2.4-14.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinxcontrib-websupport.spec'], chrootPath='/var/lib/mock/f40-build-2256978-54299/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinxcontrib-websupport.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uuqn3A + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sphinxcontrib-websupport-1.2.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sphinxcontrib-websupport-1.2.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sphinxcontrib-websupport-1.2.4 + rm -rf /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf sphinxcontrib-websupport.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hTIymG + 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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sphinxcontrib-websupport-1.2.4 + 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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib/python3.12/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) /usr/lib/python3.12/site-packages/setuptools/dist.py:700: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. !! ******************************************************************************** Please replace its usage with implicit namespaces (PEP 420). See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details. ******************************************************************************** !! ep.load()(self, ep.name, value) running build running build_py creating build creating build/lib creating build/lib/sphinxcontrib copying sphinxcontrib/__init__.py -> build/lib/sphinxcontrib creating build/lib/sphinxcontrib/websupport copying sphinxcontrib/websupport/errors.py -> build/lib/sphinxcontrib/websupport copying sphinxcontrib/websupport/__init__.py -> build/lib/sphinxcontrib/websupport copying sphinxcontrib/websupport/core.py -> build/lib/sphinxcontrib/websupport copying sphinxcontrib/websupport/builder.py -> build/lib/sphinxcontrib/websupport copying sphinxcontrib/websupport/utils.py -> build/lib/sphinxcontrib/websupport copying sphinxcontrib/websupport/writer.py -> build/lib/sphinxcontrib/websupport copying sphinxcontrib/websupport/version.py -> build/lib/sphinxcontrib/websupport creating build/lib/sphinxcontrib/websupport/search copying sphinxcontrib/websupport/search/xapiansearch.py -> build/lib/sphinxcontrib/websupport/search copying sphinxcontrib/websupport/search/whooshsearch.py -> build/lib/sphinxcontrib/websupport/search copying sphinxcontrib/websupport/search/__init__.py -> build/lib/sphinxcontrib/websupport/search copying sphinxcontrib/websupport/search/nullsearch.py -> build/lib/sphinxcontrib/websupport/search creating build/lib/sphinxcontrib/websupport/storage copying sphinxcontrib/websupport/storage/differ.py -> build/lib/sphinxcontrib/websupport/storage copying sphinxcontrib/websupport/storage/__init__.py -> build/lib/sphinxcontrib/websupport/storage copying sphinxcontrib/websupport/storage/sqlalchemy_db.py -> build/lib/sphinxcontrib/websupport/storage copying sphinxcontrib/websupport/storage/sqlalchemystorage.py -> build/lib/sphinxcontrib/websupport/storage running egg_info writing sphinxcontrib_websupport.egg-info/PKG-INFO writing dependency_links to sphinxcontrib_websupport.egg-info/dependency_links.txt writing entry points to sphinxcontrib_websupport.egg-info/entry_points.txt writing namespace_packages to sphinxcontrib_websupport.egg-info/namespace_packages.txt writing requirements to sphinxcontrib_websupport.egg-info/requires.txt writing top-level names to sphinxcontrib_websupport.egg-info/top_level.txt reading manifest file 'sphinxcontrib_websupport.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'sphinxcontrib_websupport.egg-info/SOURCES.txt' /usr/lib/python3.12/site-packages/setuptools/command/build_py.py:204: _Warning: Package 'sphinxcontrib.websupport.files' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'sphinxcontrib.websupport.files' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'sphinxcontrib.websupport.files' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'sphinxcontrib.websupport.files' to be distributed and are already explicitly excluding 'sphinxcontrib.websupport.files' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating build/lib/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/ajax-loader.gif -> build/lib/sphinxcontrib/websupport/files /usr/lib/python3.12/site-packages/setuptools/command/build_py.py:204: _Warning: Package 'sphinxcontrib.websupport.templates' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'sphinxcontrib.websupport.templates' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'sphinxcontrib.websupport.templates' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'sphinxcontrib.websupport.templates' to be distributed and are already explicitly excluding 'sphinxcontrib.websupport.templates' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) copying sphinxcontrib/websupport/files/comment-bright.png -> build/lib/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/comment-close.png -> build/lib/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/comment.png -> build/lib/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/down-pressed.png -> build/lib/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/down.png -> build/lib/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/up-pressed.png -> build/lib/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/up.png -> build/lib/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/websupport.js -> build/lib/sphinxcontrib/websupport/files creating build/lib/sphinxcontrib/websupport/templates copying sphinxcontrib/websupport/templates/searchresults.html -> build/lib/sphinxcontrib/websupport/templates + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sq55pg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sphinxcontrib-websupport-1.2.4 + 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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch --prefix /usr /usr/lib/python3.12/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) /usr/lib/python3.12/site-packages/setuptools/dist.py:700: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated. !! ******************************************************************************** Please replace its usage with implicit namespaces (PEP 420). See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details. ******************************************************************************** !! ep.load()(self, ep.name, value) running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib Skipping installation of /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/__init__.py (namespace package) copying sphinxcontrib/websupport/errors.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport copying sphinxcontrib/websupport/__init__.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport copying sphinxcontrib/websupport/core.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport copying sphinxcontrib/websupport/builder.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport copying sphinxcontrib/websupport/utils.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport copying sphinxcontrib/websupport/writer.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport copying sphinxcontrib/websupport/version.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport copying sphinxcontrib/websupport/files/ajax-loader.gif -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/down-pressed.png -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/comment.png -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/comment-bright.png -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/up.png -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/comment-close.png -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/down.png -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/up-pressed.png -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/files/websupport.js -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/files copying sphinxcontrib/websupport/search/xapiansearch.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/search copying sphinxcontrib/websupport/search/whooshsearch.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/search copying sphinxcontrib/websupport/search/__init__.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/search copying sphinxcontrib/websupport/search/nullsearch.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/search copying sphinxcontrib/websupport/templates/searchresults.html -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/templates copying sphinxcontrib/websupport/storage/differ.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage copying sphinxcontrib/websupport/storage/__init__.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage copying sphinxcontrib/websupport/storage/sqlalchemy_db.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage copying sphinxcontrib/websupport/storage/sqlalchemystorage.py -> /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/errors.py to errors.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/core.py to core.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/builder.py to builder.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/utils.py to utils.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/writer.py to writer.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/version.py to version.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/search/xapiansearch.py to xapiansearch.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/search/whooshsearch.py to whooshsearch.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/search/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/search/nullsearch.py to nullsearch.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage/differ.py to differ.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage/sqlalchemy_db.py to sqlalchemy_db.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage/sqlalchemystorage.py to sqlalchemystorage.cpython-312.pyc writing byte-compilation script '/tmp/tmp46mlzw7m.py' /usr/bin/python3 /tmp/tmp46mlzw7m.py removing /tmp/tmp46mlzw7m.py running install_egg_info running egg_info writing sphinxcontrib_websupport.egg-info/PKG-INFO writing dependency_links to sphinxcontrib_websupport.egg-info/dependency_links.txt writing entry points to sphinxcontrib_websupport.egg-info/entry_points.txt writing namespace_packages to sphinxcontrib_websupport.egg-info/namespace_packages.txt writing requirements to sphinxcontrib_websupport.egg-info/requires.txt writing top-level names to sphinxcontrib_websupport.egg-info/top_level.txt reading manifest file 'sphinxcontrib_websupport.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'sphinxcontrib_websupport.egg-info/SOURCES.txt' Copying sphinxcontrib_websupport.egg-info to /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib_websupport-1.2.4-py3.12.egg-info Installing /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib_websupport-1.2.4-py3.12-nspkg.pth running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.2.4-14.fc40 --unique-debug-suffix -1.2.4-14.fc40.noarch --unique-debug-src-base python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.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.jadifQ + 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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sphinxcontrib-websupport-1.2.4 + 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-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -v -rs ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4 configfile: setup.cfg collecting ... collected 13 items tests/test_searchadapters.py::test_xapian FAILED [ 7%] tests/test_searchadapters.py::test_whoosh FAILED [ 15%] tests/test_websupport.py::test_no_srcdir PASSED [ 23%] tests/test_websupport.py::test_build FAILED [ 30%] tests/test_websupport.py::test_get_document FAILED [ 38%] tests/test_websupport.py::test_comments FAILED [ 46%] tests/test_websupport.py::test_user_delete_comments FAILED [ 53%] tests/test_websupport.py::test_moderation FAILED [ 61%] tests/test_websupport.py::test_moderator_delete_comments FAILED [ 69%] tests/test_websupport.py::test_update_username FAILED [ 76%] tests/test_websupport.py::test_proposals FAILED [ 84%] tests/test_websupport.py::test_voting FAILED [ 92%] tests/test_websupport.py::test_differ PASSED [100%] =================================== FAILURES =================================== _________________________________ test_xapian __________________________________ @skip_unless_importable('xapian', 'needs xapian bindings installed') @pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy') def test_xapian(): > search_adapter_helper('xapian') tests/test_searchadapters.py:64: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_searchadapters.py:32: in search_adapter_helper support.build() ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/core.py:144: in build app.build() /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:363: in build self.write(docnames, list(updated_docnames), method) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:571: in write self._write_serial(sorted(docnames)) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:581: in _write_serial self.write_doc(docname, doctree) ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/builder.py:102: in write_doc self.handle_page(docname, ctx, event_arg=doctree) ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/builder.py:166: in handle_page ctx, doc_ctx = self._render_page(pagename, addctx, ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/builder.py:156: in _render_page template_module = template.make_module(ctx) /usr/lib/python3.12/site-packages/jinja2/environment.py:1405: in make_module return TemplateModule(self, ctx) /usr/lib/python3.12/site-packages/jinja2/environment.py:1535: in __init__ body_stream = list(template.root_render_func(context)) /usr/lib/python3.12/site-packages/sphinx/themes/basic/page.html:15: in root ??? /usr/lib/python3.12/site-packages/alabaster/layout.html:63: in root {% block body %} {% endblock %} /usr/lib/python3.12/site-packages/sphinx/themes/basic/layout.html:299: in root ??? /usr/lib/python3.12/site-packages/sphinx/themes/basic/layout.html:543: in block_css ??? /usr/lib/python3.12/site-packages/jinja2/sandbox.py:393: in call return __context.call(__obj, *args, **kwargs) /usr/lib/python3.12/site-packages/jinja2/runtime.py:298: in call return __obj(*args, **kwargs) /usr/lib/python3.12/site-packages/jinja2/runtime.py:763: in __call__ return self._invoke(arguments, autoescape) /usr/lib/python3.12/site-packages/jinja2/runtime.py:777: in _invoke rv = self._func(*arguments) /usr/lib/python3.12/site-packages/sphinx/themes/basic/layout.html:266: in macro ??? /usr/lib/python3.12/site-packages/jinja2/sandbox.py:391: in call if not __self.is_safe_callable(__obj): /usr/lib/python3.12/site-packages/jinja2/sandbox.py:275: in is_safe_callable getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False) /usr/lib/python3.12/site-packages/jinja2/runtime.py:859: in __getattr__ return self._fail_with_undefined_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Undefined, args = (), kwargs = {} @internalcode def _fail_with_undefined_error( self, *args: t.Any, **kwargs: t.Any ) -> "te.NoReturn": """Raise an :exc:`UndefinedError` when operations are performed on the undefined value. """ > raise self._undefined_exception(self._undefined_message) E jinja2.exceptions.UndefinedError: 'css_tag' is undefined /usr/lib/python3.12/site-packages/jinja2/runtime.py:852: UndefinedError _________________________________ test_whoosh __________________________________ self = dialect = constructor = > statement = 'INSERT INTO sphinx_nodes (id, document, source) VALUES (?, ?, ?)' parameters = ('c881ccadc28b4168b532ea87516c931f', 'markup', 'Testing various markup') execution_options = immutabledict({'autocommit': True, 'compiled_cache': {(, 137]}}) args = (, [{'document': 'markup', 'id': 'c881ccadc...168b532ea87516c931f', 'source': 'Testing various markup'}], , []) kw = {'cache_hit': symbol('CACHE_MISS')} branched = yp = None conn = context = cursor = , evt_handled = False def _execute_context( self, dialect, constructor, statement, parameters, execution_options, *args, **kw ): """Create an :class:`.ExecutionContext` and execute, returning a :class:`_engine.CursorResult`.""" branched = self if self.__branch_from: # if this is a "branched" connection, do everything in terms # of the "root" connection, *except* for .close(), which is # the only feature that branching provides self = self.__branch_from if execution_options: yp = execution_options.get("yield_per", None) if yp: execution_options = execution_options.union( {"stream_results": True, "max_row_buffer": yp} ) try: conn = self._dbapi_connection if conn is None: conn = self._revalidate_connection() context = constructor( dialect, self, conn, execution_options, *args, **kw ) except (exc.PendingRollbackError, exc.ResourceClosedError): raise except BaseException as e: self._handle_dbapi_exception( e, util.text_type(statement), parameters, None, None ) if ( self._transaction and not self._transaction.is_active or ( self._nested_transaction and not self._nested_transaction.is_active ) ): self._invalid_transaction() elif self._trans_context_manager: TransactionalContext._trans_ctx_check(self) if self._is_future and self._transaction is None: self._autobegin() context.pre_exec() if dialect.use_setinputsizes: context._set_input_sizes() cursor, statement, parameters = ( context.cursor, context.statement, context.parameters, ) if not context.executemany: parameters = parameters[0] if self._has_events or self.engine._has_events: for fn in self.dispatch.before_cursor_execute: statement, parameters = fn( self, cursor, statement, parameters, context, context.executemany, ) if self._echo: self._log_info(statement) stats = context._get_cache_stats() if not self.engine.hide_parameters: self._log_info( "[%s] %r", stats, sql_util._repr_params( parameters, batches=10, ismulti=context.executemany ), ) else: self._log_info( "[%s] [SQL parameters hidden due to hide_parameters=True]" % (stats,) ) evt_handled = False try: if context.executemany: if self.dialect._has_events: for fn in self.dialect.dispatch.do_executemany: if fn(cursor, statement, parameters, context): evt_handled = True break if not evt_handled: self.dialect.do_executemany( cursor, statement, parameters, context ) elif not parameters and context.no_parameters: if self.dialect._has_events: for fn in self.dialect.dispatch.do_execute_no_params: if fn(cursor, statement, context): evt_handled = True break if not evt_handled: self.dialect.do_execute_no_params( cursor, statement, context ) else: if self.dialect._has_events: for fn in self.dialect.dispatch.do_execute: if fn(cursor, statement, parameters, context): evt_handled = True break if not evt_handled: > self.dialect.do_execute( cursor, statement, parameters, context ) /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:1910: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cursor = statement = 'INSERT INTO sphinx_nodes (id, document, source) VALUES (?, ?, ?)' parameters = ('c881ccadc28b4168b532ea87516c931f', 'markup', 'Testing various markup') context = def do_execute(self, cursor, statement, parameters, context=None): > cursor.execute(statement, parameters) E sqlite3.OperationalError: database is locked /usr/lib64/python3.12/site-packages/sqlalchemy/engine/default.py:736: OperationalError The above exception was the direct cause of the following exception: @skip_unless_importable('whoosh', 'needs whoosh package installed') @pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy') def test_whoosh(): > search_adapter_helper('whoosh') tests/test_searchadapters.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_searchadapters.py:32: in search_adapter_helper support.build() ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/core.py:144: in build app.build() /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:363: in build self.write(docnames, list(updated_docnames), method) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:571: in write self._write_serial(sorted(docnames)) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:581: in _write_serial self.write_doc(docname, doctree) ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/builder.py:96: in write_doc self.docwriter.write(doctree, destination) /usr/lib/python3.12/site-packages/docutils/writers/__init__.py:80: in write self.translate() /usr/lib/python3.12/site-packages/sphinx/writers/html.py:36: in translate self.document.walkabout(visitor) /usr/lib/python3.12/site-packages/docutils/nodes.py:186: in walkabout if child.walkabout(visitor): /usr/lib/python3.12/site-packages/docutils/nodes.py:186: in walkabout if child.walkabout(visitor): /usr/lib/python3.12/site-packages/docutils/nodes.py:186: in walkabout if child.walkabout(visitor): /usr/lib/python3.12/site-packages/docutils/nodes.py:186: in walkabout if child.walkabout(visitor): /usr/lib/python3.12/site-packages/docutils/nodes.py:186: in walkabout if child.walkabout(visitor): /usr/lib/python3.12/site-packages/docutils/nodes.py:186: in walkabout if child.walkabout(visitor): /usr/lib/python3.12/site-packages/docutils/nodes.py:178: in walkabout visitor.dispatch_visit(self) ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/writer.py:28: in dispatch_visit self.handle_visit_commentable(node) ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/writer.py:35: in handle_visit_commentable self.add_db_node(node) ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/writer.py:45: in add_db_node storage.add_node(id=node.uid, ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage/sqlalchemystorage.py:51: in add_node self.build_session.flush() /usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py:3449: in flush self._flush(objects) /usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py:3588: in _flush with util.safe_reraise(): /usr/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py:70: in __exit__ compat.raise_( /usr/lib64/python3.12/site-packages/sqlalchemy/util/compat.py:211: in raise_ raise exception /usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py:3549: in _flush flush_context.execute() /usr/lib64/python3.12/site-packages/sqlalchemy/orm/unitofwork.py:456: in execute rec.execute(self) /usr/lib64/python3.12/site-packages/sqlalchemy/orm/unitofwork.py:630: in execute util.preloaded.orm_persistence.save_obj( /usr/lib64/python3.12/site-packages/sqlalchemy/orm/persistence.py:245: in save_obj _emit_insert_statements( /usr/lib64/python3.12/site-packages/sqlalchemy/orm/persistence.py:1097: in _emit_insert_statements c = connection._execute_20( /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:1710: in _execute_20 return meth(self, args_10style, kwargs_10style, execution_options) /usr/lib64/python3.12/site-packages/sqlalchemy/sql/elements.py:334: in _execute_on_connection return connection._execute_clauseelement( /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:1577: in _execute_clauseelement ret = self._execute_context( /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:1953: in _execute_context self._handle_dbapi_exception( /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:2134: in _handle_dbapi_exception util.raise_( /usr/lib64/python3.12/site-packages/sqlalchemy/util/compat.py:211: in raise_ raise exception /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:1910: in _execute_context self.dialect.do_execute( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cursor = statement = 'INSERT INTO sphinx_nodes (id, document, source) VALUES (?, ?, ?)' parameters = ('c881ccadc28b4168b532ea87516c931f', 'markup', 'Testing various markup') context = def do_execute(self, cursor, statement, parameters, context=None): > cursor.execute(statement, parameters) E sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) database is locked E [SQL: INSERT INTO sphinx_nodes (id, document, source) VALUES (?, ?, ?)] E [parameters: ('c881ccadc28b4168b532ea87516c931f', 'markup', 'Testing various markup')] E (Background on this error at: https://sqlalche.me/e/14/e3q8) /usr/lib64/python3.12/site-packages/sqlalchemy/engine/default.py:736: OperationalError __________________________________ test_build __________________________________ support = @pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy') @with_support() def test_build(support): > support.build() tests/test_websupport.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/core.py:144: in build app.build() /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:363: in build self.write(docnames, list(updated_docnames), method) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:571: in write self._write_serial(sorted(docnames)) /usr/lib/python3.12/site-packages/sphinx/builders/__init__.py:581: in _write_serial self.write_doc(docname, doctree) ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/builder.py:102: in write_doc self.handle_page(docname, ctx, event_arg=doctree) ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/builder.py:166: in handle_page ctx, doc_ctx = self._render_page(pagename, addctx, ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/builder.py:156: in _render_page template_module = template.make_module(ctx) /usr/lib/python3.12/site-packages/jinja2/environment.py:1405: in make_module return TemplateModule(self, ctx) /usr/lib/python3.12/site-packages/jinja2/environment.py:1535: in __init__ body_stream = list(template.root_render_func(context)) /usr/lib/python3.12/site-packages/sphinx/themes/basic/page.html:15: in root ??? tests/root/_templates/layout.html:15: in root {% endblock %} tests/root/testtheme/layout.html:15: in root ??? /usr/lib/python3.12/site-packages/sphinx/themes/basic/layout.html:299: in root ??? /usr/lib/python3.12/site-packages/sphinx/themes/basic/layout.html:543: in block_css ??? /usr/lib/python3.12/site-packages/jinja2/sandbox.py:393: in call return __context.call(__obj, *args, **kwargs) /usr/lib/python3.12/site-packages/jinja2/runtime.py:298: in call return __obj(*args, **kwargs) /usr/lib/python3.12/site-packages/jinja2/runtime.py:763: in __call__ return self._invoke(arguments, autoescape) /usr/lib/python3.12/site-packages/jinja2/runtime.py:777: in _invoke rv = self._func(*arguments) /usr/lib/python3.12/site-packages/sphinx/themes/basic/layout.html:266: in macro ??? /usr/lib/python3.12/site-packages/jinja2/sandbox.py:391: in call if not __self.is_safe_callable(__obj): /usr/lib/python3.12/site-packages/jinja2/sandbox.py:275: in is_safe_callable getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False) /usr/lib/python3.12/site-packages/jinja2/runtime.py:859: in __getattr__ return self._fail_with_undefined_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Undefined, args = (), kwargs = {} @internalcode def _fail_with_undefined_error( self, *args: t.Any, **kwargs: t.Any ) -> "te.NoReturn": """Raise an :exc:`UndefinedError` when operations are performed on the undefined value. """ > raise self._undefined_exception(self._undefined_message) E jinja2.exceptions.UndefinedError: 'css_tag' is undefined /usr/lib/python3.12/site-packages/jinja2/runtime.py:852: UndefinedError ----------------------------- Captured stdout call ----------------------------- Running Sphinx v7.2.6 building [mo]: targets for 0 po files that are out of date writing output...  building [websupport]: targets for 14 source files that are out of date updating environment: [new config] 14 added, 0 changed, 0 removed reading sources... [ 7%] bom reading sources... [ 14%] contents reading sources... [ 21%] extapi reading sources... [ 29%] extensions reading sources... [ 36%] footnote reading sources... [ 43%] images reading sources... [ 50%] includes reading sources... [ 57%] lists reading sources... [ 64%] markup reading sources... [ 71%] math reading sources... [ 79%] metadata reading sources... [ 86%] objects reading sources... [ 93%] subdir/images reading sources... [100%] subdir/includes looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying downloadable files... [ 50%] ../img.png copying downloadable files... [100%] ../subdir/img.png copying static files... done copying extra files... done done writing output... [ 7%] bom ----------------------------- Captured stderr call ----------------------------- /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/contents.txt:10: WARNING: toctree contains reference to nonexisting document 'autodoc' /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/contents.txt:10: WARNING: duplicated entry found in toctree: extensions /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/extensions.txt:7: ERROR: Unknown interpreted text role "issue". /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/extensions.txt:7: ERROR: Unknown interpreted text role "pyurl". /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/extensions.txt:7: ERROR: Unknown interpreted text role "issue". /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/extensions.txt:14: ERROR: Unknown directive type "todo". .. todo:: Test the todo extension. /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/extensions.txt:18: ERROR: Unknown directive type "todo". .. todo:: Test with |sub| (see #286). /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/extensions.txt:28: ERROR: Unknown directive type "todolist". .. todolist:: /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/images.txt:9: WARNING: image file not readable: foo.png /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/includes.txt:4: WARNING: download file not readable: /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/nonexisting.png WARNING: 'keyword' is deprecated for index entries (from entry 'keyword: with'). Use 'pair: keyword; with' instead. /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/objects.txt:110: WARNING: Error in declarator If declarator-id with parameters (e.g., 'void f(int arg)'): Invalid C declaration: Expected identifier in nested name. [error at 18] Sphinx_DoSomething() ------------------^ If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'): Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 19] Sphinx_DoSomething() -------------------^  /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/objects.txt:112: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 19] SphinxStruct.member -------------------^ /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/objects.txt:118: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 13] sphinx_global -------------^ /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/root/contents.txt:10: WARNING: extensions is already assigned section numbers (nested numbered toctree?) ______________________________ test_get_document _______________________________ self = docname = 'contents', username = '', moderator = False def get_document(self, docname, username='', moderator=False): """Load and return a document from a pickle. The document will be a dict object which can be used to render a template:: support = WebSupport(datadir=datadir) support.get_document('index', username, moderator) In most cases `docname` will be taken from the request path and passed directly to this function. In Flask, that would be something like this:: @app.route('/') def index(docname): username = g.user.name if g.user else '' moderator = g.user.moderator if g.user else False try: document = support.get_document(docname, username, moderator) except DocumentNotFoundError: abort(404) render_template('doc.html', document=document) The document dict that is returned contains the following items to be used during template rendering. * **body**: The main body of the document as HTML * **sidebar**: The sidebar of the document as HTML * **relbar**: A div containing links to related documents * **title**: The title of the document * **css**: Links to css files used by Sphinx * **script**: Javascript containing comment options This raises :class:`~sphinxcontrib.websupport.errors.DocumentNotFoundError` if a document matching `docname` is not found. :param docname: the name of the document to load. """ docpath = path.join(self.datadir, 'pickles', docname) if path.isdir(docpath): infilename = docpath + '/index.fpickle' if not docname: docname = 'index' else: docname += '/index' else: infilename = docpath + '.fpickle' try: > with open(infilename, 'rb') as f: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp26zam0um/websupport/data/pickles/contents.fpickle' ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/core.py:203: FileNotFoundError During handling of the above exception, another exception occurred: support = @pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy') @with_support() def test_get_document(support): with pytest.raises(DocumentNotFoundError): support.get_document('nonexisting') > contents = support.get_document('contents') tests/test_websupport.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = docname = 'contents', username = '', moderator = False def get_document(self, docname, username='', moderator=False): """Load and return a document from a pickle. The document will be a dict object which can be used to render a template:: support = WebSupport(datadir=datadir) support.get_document('index', username, moderator) In most cases `docname` will be taken from the request path and passed directly to this function. In Flask, that would be something like this:: @app.route('/') def index(docname): username = g.user.name if g.user else '' moderator = g.user.moderator if g.user else False try: document = support.get_document(docname, username, moderator) except DocumentNotFoundError: abort(404) render_template('doc.html', document=document) The document dict that is returned contains the following items to be used during template rendering. * **body**: The main body of the document as HTML * **sidebar**: The sidebar of the document as HTML * **relbar**: A div containing links to related documents * **title**: The title of the document * **css**: Links to css files used by Sphinx * **script**: Javascript containing comment options This raises :class:`~sphinxcontrib.websupport.errors.DocumentNotFoundError` if a document matching `docname` is not found. :param docname: the name of the document to load. """ docpath = path.join(self.datadir, 'pickles', docname) if path.isdir(docpath): infilename = docpath + '/index.fpickle' if not docname: docname = 'index' else: docname += '/index' else: infilename = docpath + '.fpickle' try: with open(infilename, 'rb') as f: document = pickle.load(f) except IOError: > raise errors.DocumentNotFoundError( 'The document "%s" could not be found' % docname) E sphinxcontrib.websupport.errors.DocumentNotFoundError: The document "contents" could not be found ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/core.py:206: DocumentNotFoundError ________________________________ test_comments _________________________________ support = @pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy') @with_support() def test_comments(support): session = Session() nodes = session.query(Node).all() > first_node = nodes[0] E IndexError: list index out of range tests/test_websupport.py:82: IndexError __________________________ test_user_delete_comments ___________________________ support = @pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy') @with_support() def test_user_delete_comments(support): def get_comment(): session = Session() node = session.query(Node).first() session.close() return support.get_data(node.id)['comments'][0] > comment = get_comment() tests/test_websupport.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_comment(): session = Session() node = session.query(Node).first() session.close() > return support.get_data(node.id)['comments'][0] E AttributeError: 'NoneType' object has no attribute 'id' tests/test_websupport.py:133: AttributeError _______________________________ test_moderation ________________________________ support = @pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy') @with_support(moderation_callback=moderation_callback) def test_moderation(support): session = Session() nodes = session.query(Node).all() > node = nodes[7] E IndexError: list index out of range tests/test_websupport.py:160: IndexError ________________________ test_moderator_delete_comments ________________________ support = @pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy') @with_support() def test_moderator_delete_comments(support): def get_comment(): session = Session() node = session.query(Node).first() session.close() return support.get_data(node.id, moderator=True)['comments'][1] > comment = get_comment() tests/test_websupport.py:190: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_comment(): session = Session() node = session.query(Node).first() session.close() > return support.get_data(node.id, moderator=True)['comments'][1] E AttributeError: 'NoneType' object has no attribute 'id' tests/test_websupport.py:188: AttributeError _____________________________ test_update_username _____________________________ self = dialect = constructor = > statement = 'UPDATE sphinx_comments SET username=? WHERE sphinx_comments.username = ?' parameters = ('new_user_two', 'user_two') execution_options = immutabledict({'autocommit': True, 'synchronize_session': 'evaluate', '_sa_orm_update_options': default_update_options..., _value_evaluators={'username': . at 0xffffff9f0037e0>})}) args = (, [{}], yp = None conn = context = cursor = , evt_handled = False def _execute_context( self, dialect, constructor, statement, parameters, execution_options, *args, **kw ): """Create an :class:`.ExecutionContext` and execute, returning a :class:`_engine.CursorResult`.""" branched = self if self.__branch_from: # if this is a "branched" connection, do everything in terms # of the "root" connection, *except* for .close(), which is # the only feature that branching provides self = self.__branch_from if execution_options: yp = execution_options.get("yield_per", None) if yp: execution_options = execution_options.union( {"stream_results": True, "max_row_buffer": yp} ) try: conn = self._dbapi_connection if conn is None: conn = self._revalidate_connection() context = constructor( dialect, self, conn, execution_options, *args, **kw ) except (exc.PendingRollbackError, exc.ResourceClosedError): raise except BaseException as e: self._handle_dbapi_exception( e, util.text_type(statement), parameters, None, None ) if ( self._transaction and not self._transaction.is_active or ( self._nested_transaction and not self._nested_transaction.is_active ) ): self._invalid_transaction() elif self._trans_context_manager: TransactionalContext._trans_ctx_check(self) if self._is_future and self._transaction is None: self._autobegin() context.pre_exec() if dialect.use_setinputsizes: context._set_input_sizes() cursor, statement, parameters = ( context.cursor, context.statement, context.parameters, ) if not context.executemany: parameters = parameters[0] if self._has_events or self.engine._has_events: for fn in self.dispatch.before_cursor_execute: statement, parameters = fn( self, cursor, statement, parameters, context, context.executemany, ) if self._echo: self._log_info(statement) stats = context._get_cache_stats() if not self.engine.hide_parameters: self._log_info( "[%s] %r", stats, sql_util._repr_params( parameters, batches=10, ismulti=context.executemany ), ) else: self._log_info( "[%s] [SQL parameters hidden due to hide_parameters=True]" % (stats,) ) evt_handled = False try: if context.executemany: if self.dialect._has_events: for fn in self.dialect.dispatch.do_executemany: if fn(cursor, statement, parameters, context): evt_handled = True break if not evt_handled: self.dialect.do_executemany( cursor, statement, parameters, context ) elif not parameters and context.no_parameters: if self.dialect._has_events: for fn in self.dialect.dispatch.do_execute_no_params: if fn(cursor, statement, context): evt_handled = True break if not evt_handled: self.dialect.do_execute_no_params( cursor, statement, context ) else: if self.dialect._has_events: for fn in self.dialect.dispatch.do_execute: if fn(cursor, statement, parameters, context): evt_handled = True break if not evt_handled: > self.dialect.do_execute( cursor, statement, parameters, context ) /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:1910: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cursor = statement = 'UPDATE sphinx_comments SET username=? WHERE sphinx_comments.username = ?' parameters = ('new_user_two', 'user_two') context = def do_execute(self, cursor, statement, parameters, context=None): > cursor.execute(statement, parameters) E sqlite3.OperationalError: database is locked /usr/lib64/python3.12/site-packages/sqlalchemy/engine/default.py:736: OperationalError The above exception was the direct cause of the following exception: support = @pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy') @with_support() def test_update_username(support): > support.update_username('user_two', 'new_user_two') tests/test_websupport.py:200: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/core.py:385: in update_username self.storage.update_username(old_username, new_username) ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage/sqlalchemystorage.py:160: in update_username update({Comment.username: new_username}) /usr/lib64/python3.12/site-packages/sqlalchemy/orm/query.py:3306: in update result = self.session.execute( /usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py:1717: in execute result = conn._execute_20(statement, params or {}, execution_options) /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:1710: in _execute_20 return meth(self, args_10style, kwargs_10style, execution_options) /usr/lib64/python3.12/site-packages/sqlalchemy/sql/elements.py:334: in _execute_on_connection return connection._execute_clauseelement( /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:1577: in _execute_clauseelement ret = self._execute_context( /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:1953: in _execute_context self._handle_dbapi_exception( /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:2134: in _handle_dbapi_exception util.raise_( /usr/lib64/python3.12/site-packages/sqlalchemy/util/compat.py:211: in raise_ raise exception /usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py:1910: in _execute_context self.dialect.do_execute( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = cursor = statement = 'UPDATE sphinx_comments SET username=? WHERE sphinx_comments.username = ?' parameters = ('new_user_two', 'user_two') context = def do_execute(self, cursor, statement, parameters, context=None): > cursor.execute(statement, parameters) E sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) database is locked E [SQL: UPDATE sphinx_comments SET username=? WHERE sphinx_comments.username = ?] E [parameters: ('new_user_two', 'user_two')] E (Background on this error at: https://sqlalche.me/e/14/e3q8) /usr/lib64/python3.12/site-packages/sqlalchemy/engine/default.py:736: OperationalError ________________________________ test_proposals ________________________________ support = @pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy') @with_support() def test_proposals(support): session = Session() node = session.query(Node).first() > data = support.get_data(node.id) E AttributeError: 'NoneType' object has no attribute 'id' tests/test_websupport.py:222: AttributeError _________________________________ test_voting __________________________________ support = @pytest.mark.skipif(sqlalchemy_missing, reason='needs sqlalchemy') @with_support() def test_voting(support): session = Session() nodes = session.query(Node).all() > node = nodes[0] E IndexError: list index out of range tests/test_websupport.py:237: IndexError =============================== warnings summary =============================== ../../../../usr/lib/python3.12/site-packages/pkg_resources/__init__.py:2866 /usr/lib/python3.12/site-packages/pkg_resources/__init__.py:2866: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/__init__.py:14 /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/__init__.py:14: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib.websupport')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages __import__('pkg_resources').declare_namespace(__name__) ../../../../usr/lib/python3.12/site-packages/pkg_resources/__init__.py:2345 /usr/lib/python3.12/site-packages/pkg_resources/__init__.py:2345: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(parent) ../../BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage/sqlalchemy_db.py:24 /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/storage/sqlalchemy_db.py:24: MovedIn20Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) Base = declarative_base() tests/util.py:15 /builddir/build/BUILD/sphinxcontrib-websupport-1.2.4/tests/util.py:15: RemovedInSphinx90Warning: 'sphinx.testing.path' is deprecated. Use 'os.path' or 'pathlib' instead. from sphinx.testing.path import path tests/test_searchadapters.py::test_xapian tests/test_searchadapters.py::test_whoosh tests/test_websupport.py::test_no_srcdir tests/test_websupport.py::test_build /builddir/build/BUILDROOT/python-sphinxcontrib-websupport-1.2.4-14.fc40.noarch/usr/lib/python3.12/site-packages/sphinxcontrib/websupport/builder.py:65: RemovedInSphinx90Warning: 'sphinx.builders.html.WebSupportBuilder.script_files' is deprecated. Check CHANGES for Sphinx API modifications. self.script_files.append('_static/websupport.js') -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============= 11 failed, 2 passed, 9 warnings in 400.22s (0:06:40) ============= error: Bad exit status from /var/tmp/rpm-tmp.jadifQ (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.jadifQ (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinxcontrib-websupport.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sphinxcontrib-websupport.spec