Bug#1122459: python-certbot-dns-netcup: FTBFS: ValueError: Field `alg` in JSONObject `Header` has no type annotation.
On Mon, Jan 5, 2026 at 3:38 PM Colin Watson wrote: > Dear python-josepy maintainers: could you please upgrade to a newer > upstream version (and ideally double-check that that's enough for > python-certbot-dns-netcup to build)? Hi Colin, all, I just pushed up a new version of python-josepy; a quick run through sbuild shows that it resolves the FTBFS, though I didn't test the underlying package. Sincerely, -- Harlan Lieberman-Berg ~hlieberman
Bug#1122459: python-certbot-dns-netcup: FTBFS: ValueError: Field `alg` in JSONObject `Header` has no type annotation.
Control: reassign -1 python3-josepy 2.0.0-1
Control: affects -1 src:python-certbot-dns-netcup
On Wed, Dec 10, 2025 at 08:40:32PM +, Santiago Vila wrote:
Package: src:python-certbot-dns-netcup
Version: 2.0.0-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
[...]
File "certbot_dns_netcup.py", line 16, in
from certbot.plugins import dns_common
File "/usr/lib/python3/dist-packages/certbot/plugins/dns_common.py", line 14, in
from acme import challenges
File "/usr/lib/python3/dist-packages/acme/__init__.py", line 15, in
import josepy as jose
File "/usr/lib/python3/dist-packages/josepy/__init__.py", line 68, in
from josepy.jws import JWS, Header, Signature
File "/usr/lib/python3/dist-packages/josepy/jws.py", line 52, in
class Header(json_util.JSONObjectWithFields):
...<107 lines>...
raise errors.DeserializationError(error)
File "/usr/lib/python3/dist-packages/josepy/json_util.py", line 237, in __new__
raise ValueError(
f"Field `{key}` in JSONObject `{name}` has no type annotation."
)
ValueError: Field `alg` in JSONObject `Header` has no type annotation.
E: pybuild pybuild:389: clean: plugin distutils failed with: exit code=1:
python3.14 setup.py clean
This looks like it's fixed in josepy 2.1.0
(https://github.com/certbot/josepy/pull/224).
Dear python-josepy maintainers: could you please upgrade to a newer
upstream version (and ideally double-check that that's enough for
python-certbot-dns-netcup to build)?
Thanks,
--
Colin Watson (he/him) [[email protected]]
Bug#1122459: python-certbot-dns-netcup: FTBFS: ValueError: Field `alg` in JSONObject `Header` has no type annotation.
Package: src:python-certbot-dns-netcup
Version: 2.0.0-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
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 cannot 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 add an affects on src:python-certbot-dns-netcup, so that this is
still
visible in the BTS web page for this package.
Thanks.
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py clean
Traceback (most recent call last):
File "/<>/setup.py", line 17, in
metadata = exec_file('certbot_dns_netcup.py')
File "/<>/setup.py", line 11, in exec_file
exec(code, namespace, namespace)
File "certbot_dns_netcup.py", line 16, in
from certbot.plugins import dns_common
File "/usr/lib/python3/dist-packages/certbot/plugins/dns_common.py", line 14,
in
from acme import challenges
File "/usr/lib/python3/dist-packages/acme/__init__.py", line 15, in
import josepy as jose
File "/usr/lib/python3/dist-packages/josepy/__init__.py", line 68, in
from josepy.jws import JWS, Header, Signature
File "/usr/lib/python3/dist-packages/josepy/jws.py", line 52, in
class Header(json_util.JSONObjectWithFields):
...<107 lines>...
raise errors.DeserializationError(error)
File "/usr/lib/python3/dist-packages/josepy/json_util.py", line 237, in
__new__
raise ValueError(
f"Field `{key}` in JSONObject `{name}` has no type annotation."
)
ValueError: Field `alg` in JSONObject `Header` has no type annotation.
E: pybuild pybuild:389: clean: plugin distutils failed with: exit code=1:
python3.14 setup.py clean
dh_auto_clean: error: pybuild --clean -i python{version} -p "3.14 3.13"
returned exit code 13
make: *** [debian/rules:6: clean] Error 25
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2

