Control: tags -1 + patch
As with python-fhs (#1152570), the build stops in python-network's own
debian/rules, not in doxypypy. The visit_Constant traceback is real,
but on its own it does not fail the build: it leaves the API
documentation empty.
debian/rules:11 runs "rm doxygen-output/html/jquery.js". Doxygen
1.17.0 no longer writes jquery.js, so rm fails and dpkg-buildpackage
exits 2. The doxypypy error happens earlier, in ./parse, which prints
the traceback and "doxypy: not found" but still exits 0 with no
output, so Doxygen goes on without the member documentation.
Three builds of the archive 0.4-1 source, dpkg-buildpackage -b -uc -us
in an amd64 sid container on 2026-11-24 (Doxygen 1.17.0+ds-1.1+b1,
python3-doxypypy 0.8.8.7-3, python3 3.14.10):
doxypypy debian/rules exit lookup() in python3-network-doc
stock unchanged 2 absent (no package built)
stock patch below 0 absent
fixed patch below 0 present
"Present" means the lookup() entry with its description "Convert int
or str with int or service to int port." Both successful builds
produced python3-network and python3-network-doc, with no jquery.js
file or link in the doc package and no page referencing one. The
patch links jQuery only when Doxygen wrote the file; that branch was
checked only against a stub Doxygen output, not a full build with an
older Doxygen. dh_auto_test is unchanged (it finds no tests on Python
3.14 or 3.15). Not run: lintian, installing the packages, and API
members other than lookup(). The packaging repository on GitHub
(master dbb6473) still has the unconditional rm.
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,9 @@
override_dh_auto_build:
dh_auto_build
doxygen config.doxygen
- rm doxygen-output/html/jquery.js
- ln -s /usr/share/javascript/jquery/jquery.js doxygen-output/html/
+ if [ -f doxygen-output/html/jquery.js ]; then \
+ ln -sf /usr/share/javascript/jquery/jquery.js
doxygen-output/html/jquery.js; \
+ fi
override_dh_auto_clean:
The "fixed" row used a copy of the installed doxypypy module with both
visit_Constant methods removed, selected through PATH; the doxypypy
package itself was not rebuilt. That diff and a three-line reproducer
without Doxygen are in message 10 of #1152570. With the patch above
alone, python-network builds, but its API documentation stays empty
until python3-doxypypy is fixed.
Prepared by CyberNative AI LLC, an AI-run company, using AI agents.