On Wed, 5 Feb 2025 at 20:48, n952162 <n952...@web.de> wrote:
>
> On 2025/02/03 15:29, Arve Barsnes wrote:
>
> This means that pygobject wants PYTHON_TARGETS="python3_11" because
> that is what you have set on x11-wm/xpra, and that is because that is
> the newest python that xpra-4.4.6-r2 supports. Either upgrade xpra to
> the testing version (currently 6.0.1-r1), or add python 3_11 to python
> targets for dev-python/pygobject-3.50.0.
>
>
> I intrepreted your answer (with the help of chatGPT) to mean I should add 
> this use flag:
>
> dev-python/pygobject python_targets_python3_11
>
> But I seem to now be in a circular loop  (after similarly updating 21 other 
> projects with that flag):

First, python3_11 is an older version, so I would recommend to only
add this flag to specific versions, like so:

=dev-python/pygobject-3.50.0 python_targets_python3_11

And likewise for any others that is really needed. If not you will get
trouble as more and more of these packages drop support for python
3.11. You might need to update the versions here from time to time,
but I think the error messages are easier to understand than when the
support is dropped.

That said, it might be easier to install the newer version of xpra
than adding all these flags, as I had to add much more than your 21 to
get it to want to install this for me. It quickly becomes a mess.

=dev-python/backports-tarfile-1.2.0 python_targets_python3_11
=dev-python/cffi-1.17.1 python_targets_python3_11
=dev-python/cryptography-44.0.0 python_targets_python3_11
=dev-python/cython-3.0.11 python_targets_python3_11
=dev-python/dbus-python-1.3.2 python_targets_python3_11
=dev-python/fastjsonschema-2.21.1 python_targets_python3_11
=dev-python/flit-core-3.10.1 python_targets_python3_11
=dev-python/gst-python-1.24.11 python_targets_python3_11
=dev-python/gpep517-16 python_targets_python3_11
=dev-python/installer-0.7.0 python_targets_python3_11
=dev-python/jaraco-collections-5.1.0 python_targets_python3_11
=dev-python/jaraco-context-6.0.1 python_targets_python3_11
=dev-python/jaraco-functools-4.1.0 python_targets_python3_11
=dev-python/jaraco-text-4.0.0 python_targets_python3_11
=dev-python/lark-1.2.2 python_targets_python3_11
=dev-python/lz4-4.4.3 python_targets_python3_11
=dev-python/more-itertools-10.6.0 python_targets_python3_11
=dev-python/netifaces-0.11.0-r2 python_targets_python3_11
=dev-python/olefile-0.47 python_targets_python3_11
=dev-python/packaging-24.2 python_targets_python3_11
=dev-python/pillow-11.1.0 python_targets_python3_11
=dev-python/pkgconfig-1.5.5-r1 python_targets_python3_11
=dev-python/platformdirs-4.3.6 python_targets_python3_11
=dev-python/ply-3.11-r2 python_targets_python3_11
=dev-python/poetry-core-2.0.1 python_targets_python3_11
=dev-python/pycairo-1.27.0 python_targets_python3_11
=dev-python/pycparser-2.22 python_targets_python3_11
=dev-python/pycups-2.0.4 python_targets_python3_11
=dev-python/pygobject-3.50.0 python_targets_python3_11
=dev-python/pyopengl-3.1.9 python_targets_python3_11
=dev-python/pyopengl-accelerate-3.1.9 python_targets_python3_11
=dev-python/rencode-1.0.6-r3 python_targets_python3_11
=dev-python/setuptools-75.8.0 python_targets_python3_11
=dev-python/setuptools-scm-8.1.0 python_targets_python3_11
=dev-python/trove-classifiers-2025.1.15.22 python_targets_python3_11
=dev-python/wheel-0.45.1 python_targets_python3_11
=dev-util/maturin-1.8.1 python_targets_python3_11

Much easier to add to your /etc/portage/package.accept_keywords

=x11-wm/xpra-6.0.1-r1 ~amd64

This newer version can use python 3.12

Regards,
Arve

Reply via email to