Adding a Build-Depends-Indep on python3-pkg-resources fixes the build,
but is deprecated.
According to setuptools:
def declare_namespace(packageName: str) -> None:
"""Declare that package 'packageName' is a namespace package"""
msg = (
f"Deprecated call to
`pkg_resources.declare_namespace({packageName!r})`.\n"
"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"
)
warnings.warn(msg, DeprecationWarning, stacklevel=2)
Here it looks like the explicit namespacing was only needed when extending the
sphinxcontrib module, but it was renamed to be an independent module
"rubydomain.rubydomain":
https://github.com/nghttp2/nghttp2/commit/a029f6ed2cd585dd739cf9a10de9a3710cad5beb
So potentially the doc/_extrs/rubydomain/__init__.py can just be dropped to
make it an implicit namespaced package in accordance with
https://peps.python.org/pep-0420/.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2104171
Title:
nghttp2: FTBFS: Could not import extension rubydomain.rubydomain
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nghttp2/+bug/2104171/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs