python3-defaults: py3versions -i does not list python3.10 when it is installed

Bug #1946965 reported by Graham Inggs
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3-defaults (Ubuntu)
Undecided
Unassigned
Impish
Undecided
Unassigned

Bug Description

Test case:

$ sudo apt install python3.9 python3.10
...
$ py3versions -i
python3.9

Expected output:

$ py3versions -i
python3.10 python3.9

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Graham, or anyone else affected,

Accepted python3-defaults into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python3-defaults/3.9.4-1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-impish to verification-done-impish. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-impish. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in python3-defaults (Ubuntu Impish):
status: New → Fix Committed
tags: added: verification-needed verification-needed-impish
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Is this needed in focal too?

Revision history for this message
Graham Inggs (ginggs) wrote :

This doesn't affect upgrades, so I don't think it's needed in focal. Hirsute also has python3.10 available, but not as a supported version, and is also affected by this, but I don't think worth another SRU.

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (python3-defaults/3.9.4-1ubuntu1)

All autopkgtests for the newly accepted python3-defaults (3.9.4-1ubuntu1) for impish have finished running.
The following regressions have been reported in tests triggered by the package:

limnoria/2021.07.21-2 (amd64)
adsys/0.7.1 (arm64)
assimp/5.0.1~ds0-2 (arm64)
ubuntu-image/1.11+21.04ubuntu2 (amd64)
supysonic/0.6.2+ds-3 (armhf, amd64)
python-transitions/0.8.6-1 (s390x)
netplan.io/0.103-0ubuntu7 (amd64)
mailman3/3.3.3-1ubuntu1 (armhf)
idseq-bench/0.0~git20200902.8241a9a-1 (ppc64el)
i3pystatus/3.35+git20191126.5a8eaf4-2 (armhf)
sagetex/3.5+ds-2 (armhf)
reprotest/0.7.16 (amd64)
python-azure-devtools/1.2.0-1 (ppc64el, armhf, amd64, arm64, s390x)
python-crontab/2.5.1-1 (ppc64el)
python-fakeredis/1.4.5-4 (s390x)
booth/1.0-237-gdd88847-2 (ppc64el)
boost1.74/1.74.0-8ubuntu6 (arm64)
r-cran-irkernel/1.1.1-1 (armhf)
python-tenacity/6.3.1-1 (ppc64el)
mercurial/5.6.1-4 (armhf, amd64)
ganeti/3.0.1-2build1 (ppc64el, amd64, arm64)
suricata-update/1.2.1-1 (armhf, amd64, s390x, arm64, ppc64el)
smart-open/1.11.1-3 (ppc64el, armhf, amd64, arm64, s390x)
azure-functions-devops-build/0.0.22-5 (ppc64el, armhf, amd64, arm64, s390x)
lintian/2.104.0ubuntu3 (amd64)
python-limits/1.5.1-1 (ppc64el, armhf, s390x)
ruby-pygments.rb/1.2.1-2 (amd64)
ranger/1.9.3-3 (armhf)
python-h2/4.0.0-3 (armhf, amd64)
initramfs-tools/0.140ubuntu6 (amd64)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/impish/update_excuses.html#python3-defaults

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Graham Inggs (ginggs) wrote :

man py3versions says:

       -i, --installed
              Show the installed supported python3 versions.

so this was not a bug in impish, as although python3.10 can be installed, it is not a supported version. This is fixed in python3-defaults 3.9.4-1ubuntu2 in jammy-proposed. Sorry for the noise.

Changed in python3-defaults (Ubuntu):
status: New → Fix Committed
Changed in python3-defaults (Ubuntu Impish):
status: Fix Committed → Invalid
tags: added: verification-failed verification-failed-impish
removed: verification-needed verification-needed-impish
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers