Hi Tomáš, thanks for the report. You are right that this is new: the 'return' in a'finally' block has always been there, but Python 3.14 started warning about it
(PEP 765).
The warning is harmless here. The bare "except:" already swallows every exception and there is no return, break or continue in the try block, so thereturn in the finally block cannot hide anything. It is only noise in the apt
output. It is already fixed upstream [1], and I checked that this is the only such warning in the whole package: compiling all 74 Python files of 6.6.9 withpython3 3.14.7 produces no other one. Since the fix is purely cosmetic, we will pick it up with the next upstream release (6.8) rather than carrying a patch,
and this bug will be closed then. Thanks,[1] https://github.com/linuxmint/cinnamon/commit/127fe2d5ceb411f981257ab47d9ee5e13007c052
OpenPGP_signature.asc
Description: OpenPGP digital signature

