Sunday 13 October 2024

git-ubuntu: call for testing: core24

I've prepared an update to the git-ubuntu snap to move from a base of
core20 to core24.

Automated tests are passing as expected, including various snap
integration tests. But the interactions between git-ubuntu and the host
system are complex. I'd appreciate additional testing!

You can update to a build of my core24 snap branch[1] using:

sudo snap refresh git-ubuntu --channel=latest/edge/core24

Please start by running:

git-ubuntu.self-test

...and check that it passes. Then use git-ubuntu like you normally do,
and please report any regressions.

If no issues are reported, I'll push this to latest/edge in the next few
days.

Architectures other than amd64 are also now available, but I haven't
published a core24 branch for those. They will get the build with core24
shortly after I push to latest/edge in a few days. Until then, builds
continue to be available following the main branch, based on core20.

Known issues:

Python's keyring storage location has moved from $XDG_DATA_HOME to
$XDG_CONFIG_HOME. This may result in the the following error:

> RuntimeError: Keyring config exists only in the old location
> $HOME/.local/share/python_keyring/keyringrc.cfg and should be moved to
> $HOME/.config/python_keyring/keyringrc.cfg to work with this version
> of keyring.

This comes from the python3-keyring package in 24.04.

It seems dangerous to migrate this automatically since other tools may
also keyrings stored in the same places. It's probably best to leave
this for users to resolve themselves. I think the worst case is that you
will need to reauthenticate with Launchpad after renaming the old
keyring away, but please let me know your experience.

When running git-ubuntu.self-test, you will see:

> python-debianbts 4.0.2 requires pysimplesoap, which is not installed.
> pip check failed but ignoring due to LP: #2084358

This is caused by python3-debianbts in 24.04 causing pip in 24.04 to
detect an anomaly. For this reason, the result of the "pip check" test
in git-ubuntu.self-test is still printed, but the failure is ignored.

Thank you for testing!

Robie

[1] Sources: https://git.launchpad.net/~racb/git-ubuntu/ branch "core24"