[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-11-10 Thread Julian Andres Klode
** Changed in: python3.8 (Ubuntu) Status: Confirmed => Won't Fix ** Changed in: python3.12 (Ubuntu) Status: Confirmed => Won't Fix ** Changed in: python3.10 (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-11-10 Thread Michael Vogt
I pushed a potential workaround/fix to https://github.com/mvo5/unattended-upgrades/pull/371 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080940 Title: unattended-upgrades broken by python-upgrade

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Bug Watch Updater
** Changed in: python Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080940 Title: unattended-upgrades broken by python-upgrade To manage notifications about this bug

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Bug Watch Updater
** Changed in: python3.12 (Debian) Status: Unknown => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080940 Title: unattended-upgrades broken by python-upgrade To manage notificati

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Marc Deslauriers
** Bug watch added: github.com/python/cpython/issues #124170 https://github.com/python/cpython/issues/124170 ** Also affects: python via https://github.com/python/cpython/issues/124170 Importance: Unknown Status: Unknown ** Bug watch added: Debian Bug tracker #1079780 https://b

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: python3.8 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080940 Title:

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: python3.12 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080940 Title:

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: python3.10 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080940 Title:

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Julian Andres Klode
One proposed work around in Python is to change the email.generator module import: from email.errors import HeaderWriteError to graciously support the previous version email.errors: try: from email.errors import HeaderWriteError except ImportError: from email.errors import MessageError a

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Julian Andres Klode
While we're debating workarounds, to note: This issue affects unattended-upgrades only once, in a non-default configuration and does not break the ability to install upgrades. After the upgrade ran, the next upgrade will work correctly (as it will have imported the new email.errors due to restarti

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Julian Andres Klode
** Changed in: unattended-upgrades (Ubuntu) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080940 Title: unattended-upgrades broken by python-upgrade To manage notif

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Robie Basak
Looking at https://launchpad.net/ubuntu/+source/python3.10/3.10.12-1~22.04.6, it sounds like this was caused by a security update? ** Information type changed from Public to Public Security -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubun

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Julian Andres Klode
** Also affects: python3.12 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080940 Title: unattended-upgrades broken by python-upgrade To manage

[Bug 2080940] Re: unattended-upgrades broken by python-upgrade

2024-09-17 Thread Julian Andres Klode
The problem here is funny: `Message.as_string()` imports `email.generator` when called. Now, `email.generator` has been updated to the security update that depends on the new class `HeaderWriteError`. But we already had imported `email.errors` earlier, in either of the `email.charset` or `email.