Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that python-xsdata fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4859450/
From the log, the error seems to be:
dh_auto_install -i -O--buildsystem=pybuild
I: pybuild plugin_pyproject:199: Copying package built for python3.15 to
destdir
I: pybuild plugin_pyproject:199: Copying package built for python3.14 to
destdir
dh_install -i -O--buildsystem=pybuild
dh_installdocs -i -O--buildsystem=pybuild
dh_installdocs: warning: Cannot auto-detect main package for
python-xsdata-doc. If the default is wrong, please use
--doc-main-package or the X-Doc-Main-Package field
debian/rules override_dh_mkdocs
make[1]: Entering directory
'/build/reproducible-path/python-xsdata-26.2'
dh_mkdocs -T mkdocs-material -T fonts-roboto-fontface
dpkg-query: package 'libjs-bootstrap4' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files
contents.
dpkg-query: package 'libjs-modernizr' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files
contents.
dpkg-query: package 'node-jquery' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files
contents.
make[1]: Leaving directory '/build/reproducible-path/python-xsdata-26.2'
dh_installchangelogs -i -O--buildsystem=pybuild
debian/rules execute_before_dh_installman
make[1]: Entering directory
'/build/reproducible-path/python-xsdata-26.2'
PYTHONPATH=$(pybuild --print build_dir |awk '{print $3}') click-man
--target /build/reproducible-path/python-xsdata-26.2 xsdata
Error: "xsdata" is not an installed console script.
make[1]: *** [debian/rules:27: execute_before_dh_installman] Error 1
While we ran into this error during the rebuild against Python 3.15, the
reproducible builds infrastructure is also failing to build the package:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-xsdata.html
Although in that case, the error is also related to click-man, but
different:
dh_installchangelogs -O--buildsystem=pybuild
debian/rules execute_before_dh_installman
make[1]: Entering directory
'/build/reproducible-path/python-xsdata-26.2'
PYTHONPATH=$(pybuild --print build_dir |awk '{print $3}') click-man
--target /build/reproducible-path/python-xsdata-26.2 xsdata
Traceback (most recent call last):
File "/usr/bin/click-man", line 8, in <module>
sys.exit(cli())
~~~^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1514, in
__call__
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1435, in
main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1298, in
invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 853, in
invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click_man/shell.py", line 80, in
cli
man_version = entry_point.version
^^^^^^^^^^^^^^^^^^^
AttributeError: 'EntryPoint' object has no attribute 'version'
make[1]: *** [debian/rules:27: execute_before_dh_installman] Error 1
I'm not sure if these two are the same issue or not. Setting the
severity to important for now. Once Python 3.15 is released, it will be
added to python3-defaults and this bug will become release critical.
Cheers,
Marga