upgrading python according to 20260624 in UPDATING throws sqlite errors

From: void <void_at_f-m.fm>
Date: Thu, 19 Nov 2026 17:49:14 UTC
Hi,

Looking at the 20260624 entry for python in /usr/ports/updating:

(quote)
...
   With packages, the following may ease the process:
     # pkg set -p -n py311-:py312-
     # pkg upgrade

(/endquote)

Transposing for python312 to 315:

# pkg set -p -n py312-:py315-
Do you want to batch replace 'py312-' in package name with 'py315-'?[y/N]: y
pkg: sqlite error while executing update packages set name = replace(name, 'py312-', 'py315-') where name glob 'ZZZZZZZZ' in file pkgdb.c:3198: UNIQUE constraint failed: packages.name

I had to upgrade everything python by hand.
-- 
void<at>f-m.fm | GPG fingerprint: BD97 5B52 1B78 B7A9 AFFE  7DD4 FD32 D1F9 0814 DECD
Please don't Cc: as I'm already subscribed to the list.