> 1) Fix the development release to not be brittle in this way, so it
won't unnecessarily break if Python is updated in a way that doesn't
break its API in a way that matters to this package.

Done. It no longer tests for python versions at all, but still needs to
grab the python version for internal functions.

> 2) Fix the SRU upload to also not be brittle in this way, so it won't
unnecessarily break against a newer version of Python were we to add it
to 24.04 during its lifetime, as we did for 22.04. For example, you
could the patch you're adding so it works for all future Python
versions, not just 3.12.

Done in the same fashion.

> 3) This also needs some further explanation, please. Is this related
to "since it could crash upon closure", or something else? What's the
status of this? Are you proposing this SRU on the basis that it's
definitely better than the current state? All of this should be
documented, please.

The "since it could crash upon closure" is related to WxPython and not
related to this bug at all. As stated, this has not occurred in my
testing of the actual binary in my PPA at
https://launchpad.net/~eeickmeyer/+archive/ubuntu/displaycaltest.

> > > ++@pytest.mark.skip(reason="Test segfaults with python 3.12 - further 
> > > investigation
required.")

This is related to an internal test not during build, but during runtime
upon launch. Upstream has not yet figured out why it segfaults at this
point (upstream is now maintaining abandoned code and is not the
original author), so they're working diligently on it. However, as
stated in the description, I argue that having a functioning application
is better than a flaky test that crashes the entire application. As far
as I can see, the application functions normally without the test.

-- 
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:
  [SRU] displaycal 3.9.11-2 needs patch to work with Python 3.12

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

Reply via email to