Hello,
Simon McVittie, le lun. 16 mars 2026 15:33:37 +0000, a ecrit:
> With the experimental version of dogtail, some packages (at least gtg
> and nicotine) fail autopkgtests like this:
>
> 89s Traceback (most recent call last):
> 89s File
> "/tmp/autopkgtest-lxc.hrmb4kn4/downtmp/build.kIt/src/debian/tests/check-graphical-app.py",
> line 8, in <module>
> 89s config.logDebugToFile = False
> 89s ^^^^^^^^^^^^^^^^^^^^^
> 89s File "/usr/lib/python3/dist-packages/dogtail/config.py", line 276, in
> __setattr__
> 89s raise AttributeError(f"Attempt to use invalid option
> '{set_option_id}'.")
> 89s AttributeError: Attempt to use invalid option 'log_debug_to_file'.
>
> Examples:
> - https://ci.debian.net/packages/g/gtg/unstable/amd64/69504221/
> - https://ci.debian.net/packages/g/gtg/unstable/arm64/69531180/
> - https://ci.debian.net/packages/n/nicotine/unstable/amd64/69504362/
> - https://ci.debian.net/packages/n/nicotine/unstable/arm64/69531182/
>
> From codesearch, it looks like atril, virt-manager, liferea, deja-dup
> and leocad are likely to fail in the same way. Is this an intentional
> API change that requires updates to the affected packages, or an
> unintended API break in dogtail?
Upstream said they didn't plan to maintain all dogtail compatibility. I
have introduced another dogtail2 source package with python3-dogtail2
binary package.
It happens that the config.logDebugToFile part of the API was fixed in
upstream, but there can be others.
Samuel