Re: Status of Python 3.11

Dag-Erling Smørgrav <[email protected]> Sat, 20 Jun 2026 01:06:59 +0200
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Dag-Erling Smørgrav <[email protected]> writes:
> The oldest version that has patches for all known issues is 3.13.
> Unfortunately, changing the default is highly non-trivial as it tends to
> break a ton of dependents, but if you build your own packages, you can
> try adding this line to make.conf:
>
>     DEFAULT_VERSIONS+=python=3.13 python3=3.13

Correction, setting python3 has no effect, all you need is:

    DEFAULT_VERSIONS+=python=3.13

Beware that net/samba416 and www/py-django60 are pinned to 3.11-3.12 and
will refuse to build if you set the default to anything higher.  You can
_probably_ edit their Makefiles and change the upper bound if you want
to use them with Python 3.13.

DES
-- 
Dag-Erling Smørgrav - [email protected]