[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
This bug was fixed in the package displaycal-py3 - 3.9.12-1ubuntu1 --- displaycal-py3 (3.9.12-1ubuntu1) oracular; urgency=medium * Patch to fix runtime on python 3.12 (LP: #2061329) -- Erich Eickmeyer Thu, 30 May 2024 10:39:07 -0700 ** Changed in: displaycal-py3 (Ubuntu Oracular) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
Ok, the fix is now uploaded for Oracular and Noble, and is awaiting SRU approval for Noble. This will take a minimum of one week for the SRU process. For more information, see https://wiki.ubuntu.com/StableReleaseUpdates ** Changed in: displaycal-py3 (Ubuntu Oracular) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
** Description changed: + [Impact] + + DisplayCAL, when released, was only compatible with Python 3.8-3.11. + However, all it needed was WxWidgets 4.1.1 and a few patches to make it + work with Python 3.12. Without, it would simply fail. + + + [Test Case] + + * Install displaycal + * Run displaycal + + Expected: Run normally + Result: + + Traceback (most recent call last): + File "/usr/bin/displaycal", line 4, in + from DisplayCAL.main import main + File "/usr/lib/python3/dist-packages/DisplayCAL/main.py", line 27, in + raise RuntimeError( + RuntimeError: Need Python version >= 3.8 <= 3.11, got 3.12.2 + + + [What could go wrong] + + The DisplayCAL developers do not yet support Python 3.12 until the + release of WxWidgets 4.2.0 since it could crash upon closure. I (Erich + Eickmeyer) have not experienced this in my testing, however, it is + plausible. Additionally, the patches that were used to make this work + were developed after the release of DisplayCAL 3.9.12, but still applied + cleanly to 3.9.11 and made it function correctly. + + + [Other Information] + + Original bug report: + I have upgraded to the noble beta today, and displaycal fails to start. The package dependencies request python 3.12, but the actual software needs 3.11 (or older). ``` $ apt show displaycal | grep Depends WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Depends: libc6 (>= 2.34), libx11-6, libxinerama1 (>= 2:1.1.4), libxrandr2 (>= 2:1.2.0), libxxf86vm1, python3 (<< 3.13), python3 (>= 3.12~), python3-build, python3-certifi, python3-dbus, python3-distro, python3-numpy, python3-pil, python3-pychromecast, python3-send2trash, python3-wxgtk4.0, python3-zeroconf, python3:any, dbus-x11, argyll, libjs-jquery, python3-gi, libsdl2-mixer-2.0-0 - $ displaycal --help + $ displaycal --help Traceback (most recent call last): - File "/usr/bin/displaycal", line 4, in - from DisplayCAL.main import main - File "/usr/lib/python3/dist-packages/DisplayCAL/main.py", line 27, in - raise RuntimeError( + File "/usr/bin/displaycal", line 4, in + from DisplayCAL.main import main + File "/usr/lib/python3/dist-packages/DisplayCAL/main.py", line 27, in + raise RuntimeError( RuntimeError: Need Python version >= 3.8 <= 3.11, got 3.12.2 ``` ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: displaycal 3.9.11-2 ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1 Uname: Linux 6.8.0-22-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Sun Apr 14 15:16:10 2024 ProcEnviron: - LANG=en_US.UTF-8 - PATH=(custom, no user) - SHELL=/bin/zsh - TERM=xterm-256color - XDG_RUNTIME_DIR= + LANG=en_US.UTF-8 + PATH=(custom, no user) + SHELL=/bin/zsh + TERM=xterm-256color + XDG_RUNTIME_DIR= SourcePackage: displaycal-py3 UpgradeStatus: Upgraded to noble on 2024-04-14 (0 days ago) mtime.conffile..etc.xdg.autostart.z-displaycal-apply-profiles.desktop: 2023-10-22T21:28:16.420795 ** Also affects: displaycal-py3 (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: displaycal-py3 (Ubuntu Oracular) Importance: High Assignee: Erich Eickmeyer (eeickmeyer) Status: In Progress ** Changed in: displaycal-py3 (Ubuntu Noble) Status: New => In Progress ** Changed in: displaycal-py3 (Ubuntu Noble) Importance: Undecided => High ** Changed in: displaycal-py3 (Ubuntu Noble) Assignee: (unassigned) => Erich Eickmeyer (eeickmeyer) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
Ok, we have success built in my PPA at https://launchpad.net/~eeickmeyer/+archive/ubuntu/displaycaltest. I'll convert this bug into an SRU now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
** Changed in: displaycal-py3 (Ubuntu) Status: Triaged => In Progress ** Changed in: displaycal-py3 (Ubuntu) Assignee: (unassigned) => Erich Eickmeyer (eeickmeyer) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
Unfortunately, that one patch didn't work and it needs more work. Got the following: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/DisplayCAL/main.py", line 549, in main _main(module, name, app_lock_file_name) File "/usr/lib/python3/dist-packages/DisplayCAL/main.py", line 466, in _main from DisplayCAL.wxwindows import BaseApp File "/usr/lib/python3/dist-packages/DisplayCAL/wxwindows.py", line 28, in from DisplayCAL import ICCProfile as ICCP File "/usr/lib/python3/dist-packages/DisplayCAL/ICCProfile.py", line 51, in from DisplayCAL import edid File "/usr/lib/python3/dist-packages/DisplayCAL/edid.py", line 43, in from DisplayCAL import RealDisplaySizeMM as RDSMM File "/usr/lib/python3/dist-packages/DisplayCAL/RealDisplaySizeMM.py", line 47, in _GetXRandROutputXID = GetXRandROutputXID ^^ NameError: name 'GetXRandROutputXID' is not defined -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
Heh, it won't. It simply needs this commit: https://github.com/eoyilmaz/displaycal- py3/commit/0025940335eb1bd56f03f742aa095028d7ffa06f. I'll try simply patching and see if that works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
Actually, the version of wxwidgets supports 3.12. Currently seeing what a backport of the version in oracular, which contains no new features, does. If it works, I'll try to SRU it into noble. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
So I guess this is an upstream issue they are certainly aware of but it's currently out of their hands. I guess all we can do is wait and see. In the meantime, once we get a viable 3.12 version, I'll try to get it into 24.04 one way or another, hopefully just by patching this version. If not, a wholesale backport of the new version might be in order as it might have changes to be relevant. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
Looks like what we're really waiting on is https://github.com/wxWidgets/Phoenix/issues/2553. ** Bug watch added: github.com/wxWidgets/Phoenix/issues #2553 https://github.com/wxWidgets/Phoenix/issues/2553 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
There's a potential clue on fixing this in https://github.com/eoyilmaz/displaycal-py3/issues/341, but I'm not 100% sure on this. I'm definitely keeping an eye on this. ** Changed in: displaycal-py3 (Ubuntu) Status: Confirmed => Triaged ** Changed in: displaycal-py3 (Ubuntu) Importance: Undecided => High ** Bug watch added: github.com/eoyilmaz/displaycal-py3/issues #341 https://github.com/eoyilmaz/displaycal-py3/issues/341 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: displaycal-py3 (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/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2061329] Re: displaycal 3.9.11-2 fails to start in noble, needs python 3.11
It's also worth noting that displaycal-py3 does not support python 3.12 yet. See for example https://github.com/eoyilmaz/displaycal- py3/issues/335#issuecomment-2016761349 ** Bug watch added: github.com/eoyilmaz/displaycal-py3/issues #335 https://github.com/eoyilmaz/displaycal-py3/issues/335 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061329 Title: displaycal 3.9.11-2 fails to start in noble, needs python 3.11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/displaycal-py3/+bug/2061329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs