On 2025-05-05, Adam Carter <adamcart...@gmail.com> wrote: > On Tue, May 6, 2025 at 12:12 AM Grant Edwards <grant.b.edwa...@gmail.com> > wrote: > >> How do I get a list of installed packages that are preventing >> switching to Python 3.13. > > Just one package blocking 3.13 for me
On a second machine I did 10 Run emerge -auvND world 20 Add a new "python_targets_python3_12" line to package.use 30 GOTO 10 There were 15 packages that were blocking the upgrade on that machine. > # emerge -pv --emptytree world | grep PYTHON_SINGLE | grep -v 'python3_13' Ah, thanks! I knew there had to be a recipe for that. That was a bit tricky. It turns out I had about a half-dozen packages installed that don't have any available ebuilds (yes, I am using several of them, and no I don't know what I'm going to do when they stop working). After excluding them, that did show me that I only had two packages that were preventing the switch to 3.13. After uninstalling one of them and adding a python_single_target_python3_12 flag for the other, the upgrade is in-progress. Aargh... My first attempt to post this followup (via gmane's NNTP server) failed because nntplib has been removed from the Python 3.13 standard library. -- Grant