Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Mar 2025 04:57:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 271673] lang/python312: New port, update to 3.12.8
Message-ID:  <bug-271673-21822-6gWWf5HQAS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271673-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271673-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271673

--- Comment #42 from Charlie Li <vishwin@freebsd.org> ---
(In reply to Konstantin Belousov from comment #40)
Ironically this proves my point/argument of not making available newer Pyth=
on
distributions yet. From a maintainer-support angle, keeping the complaining=
 and
such contained here with this one subject is better than multiple threads on
multiple subjects, explained henceforth.

Let's say we do commit/make available lang/python312 and lang/python313, but
without the python.mk bits to register them as valid FLAVORs. From a user
(generously) perspective:
- sees CPython > 3.11 available in ports/packages
- installs one or both
- changes ${PYTHON_DEFAULT} to that version

Ports/packages user:
- finds out no packages for the desired CPython available/built from ports
- starts thread about the aforementioned
- somebody posts a patch enabling the intentionally not registered FLAVOURs
- people test said patch locally
- "wtf hardly anything builds"
- chaos ensues over trying to get stuff to build

For the user who claims to only use specifically venv virtual environments,
unfortunately you are still interacting with Python ports/packages as
dependencies for other programs (Python or not) from ports/packages. But ev=
en
with a venv, you will have to run ensurepip yourself in there to bootstrap a
usable and update-able pip. We do not ship a bootstrapped pip in the Python
distribution port build, nor should we, as it prevents/conflicts with pkg(8)
managing ${PYTHON_SITELIBDIR}.

Bottom line, the Python ecosystem is confusing and fast-changing enough, ev=
en
for maintainers and others who keep close tabs, let alone everyone else. We
don't need to incite more confusion and debt.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271673-21822-6gWWf5HQAS>