On 4/16/24 21:54, Riccardo Mottola wrote:
Then I went up and tried to remove these py39 packages.. and up to the
tree... I was able to remove them all! No non-python package depended on
them up to python39 removal. I did the same for python 3.10 and 3.8
stuff, so I end up with py2.7 and py3.11 which is fine!
I hope I really didn't break anything.
I wonder if this is automated by your steps above? I thought
pkg_rolling-replace -uv would take care of it.
pkg_rr doesn't, but pkgrrxx(8) from pkgtools/pkgchkxx does something
better in that regard. Suppose you have installed py39-tomli-2.0.0 and
py310-tomli-2.0.0 but you haven't installed py311-tomli-2.0.0, and the
pkgsrc tree was updated to py-tomli-2.0.1nb1. In this case "pkgrrxx -u"
marks both py39-tomli and py310-tomli as MISMATCH_TODO and attempts to
rebuild both of them. On the other hand it doesn't try to update
py311-tomli because it wasn't installed in the first place.