--- Begin Message ---
Package: src:python-respx
Version: 0.21.1-2
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/router.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/plugin.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/utils.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/handlers.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/patterns.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/types.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/models.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/api.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/mocks.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/transports.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/__version__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
copying respx/fixtures.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
running egg_info
creating respx.egg-info
writing respx.egg-info/PKG-INFO
writing dependency_links to respx.egg-info/dependency_links.txt
writing entry points to respx.egg-info/entry_points.txt
writing requirements to respx.egg-info/requires.txt
writing top-level names to respx.egg-info/top_level.txt
writing manifest file 'respx.egg-info/SOURCES.txt'
reading manifest file 'respx.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory
'.github'
warning: no previously-included files matching '*' found under directory 'docs'
warning: no previously-included files found matching '*.yaml'
warning: no previously-included files found matching '*.xml'
warning: no previously-included files found matching 'flake.*'
warning: no previously-included files found matching 'noxfile.py'
warning: no previously-included files found matching 'CONTRIBUTING.md'
adding license file 'LICENSE.md'
writing manifest file 'respx.egg-info/SOURCES.txt'
copying respx/py.typed ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build;
python3.12 -m pytest tests
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning:
The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will
default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to
avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class",
"module", "package", "session"
warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: twisted-1.14.1, tornasync-0.6.0.post2, typeguard-4.3.0,
asyncio-0.24.0a1, trio-0.8.0, anyio-4.6.0, cov-5.0.0
asyncio: mode=Mode.AUTO, default_loop_scope=None
collected 321 items / 3 deselected / 318 selected
tests/test_api.py ...................................................... [ 16%]
..................... [ 23%]
tests/test_mock.py ................................................. [ 38%]
tests/test_patterns.py ................................................. [ 54%]
........................................................................ [ 77%]
............ [ 80%]
tests/test_plugin.py . [ 81%]
tests/test_remote.py ss [ 81%]
tests/test_router.py .................................................. [ 97%]
tests/test_stats.py ... [ 98%]
tests/test_transports.py .... [ 99%]
tests/test_utils.py . [100%]
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:255
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:255: PytestDeprecationWarning: mocked_foo
is asynchronous and explicitly requests the "event_loop" fixture. Asynchronous fixtures
and test functions should use "asyncio.get_running_loop()" instead.
warnings.warn(
../../../../../../usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:255
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:255: PytestDeprecationWarning: mocked_ham
is asynchronous and explicitly requests the "event_loop" fixture. Asynchronous fixtures
and test functions should use "asyncio.get_running_loop()" instead.
warnings.warn(
.pybuild/cpython3_3.12_respx/build/tests/test_api.py::test_http_methods
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:783:
DeprecationWarning: The event_loop fixture provided by pytest-asyncio has been
redefined in
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/fixtures.py:8
Replacing the event_loop fixture with a custom implementation is deprecated
and will lead to errors in the future.
If you want to request an asyncio event loop with a scope other than function
scope, use the "scope" argument to the asyncio mark when marking the tests.
If you want to return different types of event loops, use the
event_loop_policy
fixture.
warnings.warn(
.pybuild/cpython3_3.12_respx/build/tests/test_plugin.py::test_respx_mock_fixture
/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py:33:
PytestDeprecationWarning: The hookimpl pytest_pycollect_makeitem uses old-style
configuration options (marks or attributes).
Please use the pytest.hookimpl(tryfirst=True) decorator instead
to configure the hooks.
See
https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
@pytest.mark.tryfirst
.pybuild/cpython3_3.12_respx/build/tests/test_plugin.py::test_respx_mock_fixture
/usr/lib/python3/dist-packages/pytest_tornasync/plugin.py:39:
PytestDeprecationWarning: The hookimpl pytest_pyfunc_call uses old-style
configuration options (marks or attributes).
Please use the pytest.hookimpl(tryfirst=True) decorator instead
to configure the hooks.
See
https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
@pytest.mark.tryfirst
.pybuild/cpython3_3.12_respx/build/tests/test_plugin.py::test_respx_mock_fixture
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning:
The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio
will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order
to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class",
"module", "package", "session"
warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---------- coverage: platform linux, python 3.12.7-final-0 -----------
Name Stmts Miss Cover Missing
--------------------------------------------------------
respx/__init__.py 7 0 100%
respx/__version__.py 1 0 100%
respx/api.py 42 0 100%
respx/fixtures.py 8 0 100%
respx/handlers.py 18 0 100%
respx/mocks.py 197 2 99% 214, 226
respx/models.py 284 0 100%
respx/patterns.py 455 0 100%
respx/plugin.py 12 1 92% 11
respx/router.py 220 0 100%
respx/transports.py 45 0 100%
respx/types.py 18 0 100%
respx/utils.py 66 0 100%
tests/__init__.py 0 0 100%
tests/conftest.py 25 0 100%
tests/test_api.py 342 0 100%
tests/test_mock.py 523 0 100%
tests/test_patterns.py 170 0 100%
tests/test_plugin.py 4 0 100%
tests/test_remote.py 4 0 100%
tests/test_router.py 348 0 100%
tests/test_stats.py 77 0 100%
tests/test_transports.py 49 0 100%
tests/test_utils.py 7 0 100%
--------------------------------------------------------
TOTAL 2922 3 99%
Coverage XML written to file coverage.xml
Required test coverage of 95% reached. Total coverage: 99.90%
=========================== short test summary info ============================
SKIPPED [2] tests/test_remote.py:12: Remote pass-through disabled
=========== 316 passed, 2 skipped, 3 deselected, 6 warnings in 4.07s ===========
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=pybuild
dh_prep -O--buildsystem=pybuild
dh_auto_install -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py install --root
/<<PKGBUILDDIR>>/debian/python3-respx
running install
/usr/lib/python3/dist-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.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
for details.
********************************************************************************
!!
self.initialize_options()
running build
running build_py
running egg_info
writing respx.egg-info/PKG-INFO
writing dependency_links to respx.egg-info/dependency_links.txt
writing entry points to respx.egg-info/entry_points.txt
writing requirements to respx.egg-info/requires.txt
writing top-level names to respx.egg-info/top_level.txt
reading manifest file 'respx.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory
'.github'
warning: no previously-included files matching '*' found under directory 'docs'
warning: no previously-included files found matching '*.yaml'
warning: no previously-included files found matching '*.xml'
warning: no previously-included files found matching 'flake.*'
warning: no previously-included files found matching 'noxfile.py'
warning: no previously-included files found matching 'CONTRIBUTING.md'
adding license file 'LICENSE.md'
writing manifest file 'respx.egg-info/SOURCES.txt'
running install_lib
creating /<<PKGBUILDDIR>>/debian/python3-respx
creating /<<PKGBUILDDIR>>/debian/python3-respx/usr
creating /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib
creating /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12
creating /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages
creating
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/router.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/plugin.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/utils.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/handlers.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/patterns.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/types.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__init__.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/models.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/api.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/mocks.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/py.typed ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/transports.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__version__.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
creating
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/plugin.cpython-312-pytest-8.3.3.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/utils.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/transports.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/fixtures.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/patterns.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/api.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/models.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/types.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/__init__.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/mocks.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/router.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/handlers.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/__pycache__/__version__.cpython-312.pyc
-> /<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/respx/fixtures.py ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/.coverage ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_respx/build/coverage.xml ->
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/router.py
to router.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/plugin.py
to plugin.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/utils.py
to utils.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/handlers.py
to handlers.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/patterns.py
to patterns.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/types.py
to types.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__init__.py
to __init__.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/models.py
to models.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/api.py
to api.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/mocks.py
to mocks.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/transports.py
to transports.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/__version__.py
to __version__.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx/fixtures.py
to fixtures.cpython-312.pyc
running install_egg_info
Copying respx.egg-info to
/<<PKGBUILDDIR>>/debian/python3-respx/usr/lib/python3.12/dist-packages/respx-0.21.1.egg-info
Skipping SOURCES.txt
running install_scripts
debian/rules execute_after_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Exclude coverage from installing
rm -f debian/python3-respx/usr/lib/python3*/dist-packages/coverage.xml
rm -f debian/python3-respx/usr/lib/python3*/dist-packages/.coverage
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_installdocs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=. https_proxy='127.0.0.1:9' http_proxy='127.0.0.1:9' mkdocs build -d
build/html
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 84, in __load
root = nltk.data.find(f"{self.subdir}/{zip_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/nltk/data.py", line 579, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource [93mwordnet[0m not found.
Please use the NLTK Downloader to obtain the resource:
[31m>>> import nltk
>>> nltk.download('wordnet')
[0m
For more information see: https://www.nltk.org/data.html
Attempted to load [93mcorpora/wordnet.zip/wordnet/[0m
Searched in:
- '/sbuild-nonexistent/nltk_data'
- '/usr/nltk_data'
- '/usr/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/mkdocs", line 6, in <module>
cli()
File "/usr/lib/python3/dist-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocs/__main__.py", line 283, in
build_command
cfg = config.load_config(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 378, in
load_config
errors, warnings = cfg.validate()
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 230, in
validate
run_failed, run_warnings = self._validate()
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 188, in
_validate
self[key] = config_option.validate(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line
182, in validate
return self.run_validation(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line
1064, in run_validation
self.load_plugin_with_namespace(name, cfg)
File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line
1102, in load_plugin_with_namespace
return (name, self.load_plugin(name, config))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line
1120, in load_plugin
plugin_cls = self.installed_plugins[name].load()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/material/plugins/search/plugin.py", line 31,
in <module>
from .config import SearchConfig
File "/usr/lib/python3/dist-packages/material/plugins/search/config.py", line 29,
in <module>
from mkdocs.contrib.search import LangOption
File "/usr/lib/python3/dist-packages/mkdocs/contrib/search/__init__.py", line 10,
in <module>
from mkdocs.contrib.search.search_index import SearchIndex
File "/usr/lib/python3/dist-packages/mkdocs/contrib/search/search_index.py", line
16, in <module>
from lunr import lunr
File "/usr/lib/python3/dist-packages/lunr/__init__.py", line 1, in <module>
from lunr.lunr import lunr, get_default_builder
File "/usr/lib/python3/dist-packages/lunr/lunr.py", line 1, in <module>
from lunr import languages as lang
File "/usr/lib/python3/dist-packages/lunr/languages/__init__.py", line 34, in
<module>
import nltk # type: ignore
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/nltk/__init__.py", line 153, in <module>
from nltk.translate import *
File "/usr/lib/python3/dist-packages/nltk/translate/__init__.py", line 24, in
<module>
from nltk.translate.meteor_score import meteor_score as meteor
File "/usr/lib/python3/dist-packages/nltk/translate/meteor_score.py", line 14, in
<module>
from nltk.stem.api import StemmerI
File "/usr/lib/python3/dist-packages/nltk/stem/__init__.py", line 34, in
<module>
from nltk.stem.wordnet import WordNetLemmatizer
File "/usr/lib/python3/dist-packages/nltk/stem/wordnet.py", line 13, in
<module>
class WordNetLemmatizer:
File "/usr/lib/python3/dist-packages/nltk/stem/wordnet.py", line 48, in
WordNetLemmatizer
morphy = wn.morphy
^^^^^^^^^
File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 120, in
__getattr__
self.__load()
File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 86, in __load
raise e
File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 81, in __load
root = nltk.data.find(f"{self.subdir}/{self.__name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/nltk/data.py", line 579, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource [93mwordnet[0m not found.
Please use the NLTK Downloader to obtain the resource:
[31m>>> import nltk
>>> nltk.download('wordnet')
[0m
For more information see: https://www.nltk.org/data.html
Attempted to load [93mcorpora/wordnet[0m
Searched in:
- '/sbuild-nonexistent/nltk_data'
- '/usr/nltk_data'
- '/usr/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
make[1]: *** [debian/rules:15: override_dh_installdocs] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202410/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
--- End Message ---