--- Begin Message ---
Package: src:mkdocs-section-index
Version: 0.3.9-1
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
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocs-section-index
* Building wheel...
Successfully built mkdocs_section_index-0.3.9-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocs-section-index/build; python3.12
-m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: typeguard-4.3.0, golden-0.2.2
collected 36 items
tests/test_integration.py .................... [ 55%]
tests/test_plugin.py FF...... [ 77%]
tests/test_rewrites.py ........ [100%]
=================================== FAILURES ===================================
______________ test_real_example[explicit_nav-use_directory_urls] ______________
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:
- '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocs-section-index/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/lib/python3/dist-packages/_pytest/runner.py", line 341, in
from_call
result: TResult | None = func()
^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in <lambda>
lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs,
firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in
_hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in
_multicall
raise exception.with_traceback(exception.__traceback__)
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in
_multicall
teardown.throw(exception) # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 92, in
pytest_runtest_call
yield from thread_exception_runtest_hook()
File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 68, in
thread_exception_runtest_hook
yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in
_multicall
teardown.throw(exception) # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line
95, in pytest_runtest_call
yield from unraisable_exception_runtest_hook()
File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line
70, in unraisable_exception_runtest_hook
yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in
_multicall
teardown.throw(exception) # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 846, in
pytest_runtest_call
yield from self._runtest_for(item, "call")
File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 829, in
_runtest_for
yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in
_multicall
teardown.throw(exception) # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 880, in
pytest_runtest_call
return (yield)
^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in
_multicall
teardown.throw(exception) # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in
pytest_runtest_call
return (yield)
^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in
_multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in
pytest_runtest_call
item.runtest()
File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs,
firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in
_hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in
_multicall
raise exception.with_traceback(exception.__traceback__)
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in
_multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in
pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocs-section-index/build/tests/test_plugin.py",
line 24, in test_real_example
nav=load_config(str(example_dir / "mkdocs.yml"))["nav"] if nav ==
"explicit_nav" else None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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:
- '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocs-section-index/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'
**********************************************************************
______________ test_real_example[explicit_nav-no_directory_urls] _______________
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:
- '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocs-section-index/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/lib/python3/dist-packages/_pytest/runner.py", line 341, in
from_call
result: TResult | None = func()
^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in <lambda>
lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs,
firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in
_hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in
_multicall
raise exception.with_traceback(exception.__traceback__)
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in
_multicall
teardown.throw(exception) # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 92, in
pytest_runtest_call
yield from thread_exception_runtest_hook()
File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line 68, in
thread_exception_runtest_hook
yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in
_multicall
teardown.throw(exception) # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line
95, in pytest_runtest_call
yield from unraisable_exception_runtest_hook()
File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line
70, in unraisable_exception_runtest_hook
yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in
_multicall
teardown.throw(exception) # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 846, in
pytest_runtest_call
yield from self._runtest_for(item, "call")
File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 829, in
_runtest_for
yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in
_multicall
teardown.throw(exception) # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 880, in
pytest_runtest_call
return (yield)
^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in
_multicall
teardown.throw(exception) # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in
pytest_runtest_call
return (yield)
^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in
_multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in
pytest_runtest_call
item.runtest()
File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1627, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs,
firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in
_hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in
_multicall
raise exception.with_traceback(exception.__traceback__)
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in
_multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/python.py", line 159, in
pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocs-section-index/build/tests/test_plugin.py",
line 24, in test_real_example
nav=load_config(str(example_dir / "mkdocs.yml"))["nav"] if nav ==
"explicit_nav" else None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 156, in <module>
from nltk.stem import *
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:
- '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocs-section-index/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'
**********************************************************************
=========================== short test summary info ============================
FAILED tests/test_plugin.py::test_real_example[explicit_nav-use_directory_urls]
FAILED tests/test_plugin.py::test_real_example[explicit_nav-no_directory_urls]
========================= 2 failed, 34 passed in 3.63s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocs-section-index/build; python3.12
-m pytest tests
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit
code 13
make: *** [debian/rules:7: binary] Error 25
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 ---