This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------pcPKGqxT0Dz08b0AHvahAHr5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 5/6/25 11:06 AM, Grant Edwards wrote:
On 2025-05-05, Adam Carter <[email protected]> wrote:
On Tue, May 6, 2025 at 12:12 AM Grant Edwards <[email protected]> >> 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
# emerge -pv --emptytree world | grep PYTHON_SINGLE | grep -v 'python3_13'
That dosn't quite work. On my machine that has 15 packages that are preventing switching to 3_13, the line above doesn't show any of them.
None of those packages have the PYTHON_SINGLE_TARGET flag. They all
use PYTHON_TARGETS.
I've tried this:
emerge -pv --emptytree world | grep PYTHON_TARGETS | grep -v '[ "]python_3_13 '
But that doesn't work either. emerge finds all sorts of cascading
problems and then gives up early.
Install "pkgcore".
Run:
pquery -I \
--has-use python_targets_python3_12 \
--has-use python_single_target_python3_12 \
--attr use | grep -v python3_13
It will list all *installed* packages with either "targets" or "single
target" that *do* support Python 3.12...
... but don't support Python 3.13
- They may have a fixed version available that you haven't yet
installed. If you've recently done a world update with --newuse
(--changed-use is not good enough) then it won't have any false
reports.
- They may have USE="-python", in which case it doesn't matter which
python versions the optional USE supports. If the USE flag is enabled,
you may be able to just disable it, too. e.g. boost, vim, file,
util-linux, pax-utils.
--
Eli Schwartz
--------------pcPKGqxT0Dz08b0AHvahAHr5--
-----BEGIN PGP SIGNATURE-----
wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCaBouogUDAAAAAAAKCRCEp9ErcA0vV909 AQDzY5SXFKGEHSa+wIVL7LIWd/FOe89+FoqpIEB0ri0UVgD/UmArKrjUbVLdnMDOQVUu68QwqoHY RarFw5J/gHOHnwc=
=qO5m
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)