Package: src:mypy
Version: 1.6.1-1
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12
mypy ftbfs with Python 3.12. Looks like the build itself is ok, but then
it's failing in building the documentation.
[...]
Successfully built mypy-1.6.1-py3-none-any.whl
I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11
with "installer" module
W: pybuild plugin_pyproject:128: Scripts directory already exists,
skipping unpack. Is the Python package being built twice?
PYTHONPATH=/<<PKGBUILDDIR>> /usr/bin/make -C docs html
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v7.2.6
making output directory... done
Exception occurred:
File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 160,
in create_builder
return self.builders[name](app, env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: MypyHTMLBuilder.__init__() takes 2 positional arguments but 3
were given
The full traceback has been saved in /tmp/sphinx-err-rawj671m.log, if
you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error
message can be provided next time.
A bug report can be filed in the tracker at
<https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make[2]: *** [Makefile:53: html] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: *** [debian/rules:54: override_dh_auto_build-indep] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
complete build log at
https://launchpadlibrarian.net/696988859/buildlog_ubuntu-noble-amd64.mypy_1.6.1-1build1_BUILDING.txt.gz