Re: Python 3.10 and Python 3.11

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 06 Jul 2022 13:05:42 UTC
Kubilay Kocak <koobs@FreeBSD.org> writes:

> On 5/07/2022 2:14 pm, The Doctor wrote:
>
>> Will they be properly recognised so that ports like
>> ceph can use them?
>
> If you can provide a patch adding them, leaving them last in the
> preferred order in python.mk (x,y,z,3.11,3.10) , we're happy to
> review/accept (all else equal).
>
> If not, please open an issue requesting the addition:
>
> "Mk/Uses:python.mk: Add Python 3.10 and 3.11 to version list"

net/cepth14 has USES+=python:3.8-3.9, so ignoring 3.10 and 3.11 seems
intentional. According to upstream documentation[1] Ceph 14 has reached
EOL on 2021-06-30. Possible solutions are: accept multiple pythonXY packages,
backport Ceph fixes for newer Python or port newer Ceph version.

I don't use Ceph but DEFAULT_VERSIONS+=python=3.10 python3=3.10 worked
fine for me for ~1 year without issues.

[1] https://docs.ceph.com/en/latest/releases/index.html