[Bug 289075] Mk/Uses/python.mk: Make cython3 default

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 25 Oct 2025 19:03:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289075

--- Comment #18 from Po-Chuan Hsieh <sunpoet@FreeBSD.org> ---
This is planned to use cython 3.x by default. That's why I committed ports
150c0018fdfece47d43cc508378c8faf26046149.

However, it is planned in a different way. My original plan is as follows:

1. Request exp-run for a patch which includes the following changes to identify
all ports that do not work with cython 3.x.
(1) Update lang/cython to 3.1.4
(2) Update Mk/Uses/python.mk to align _PYTHON_FEATURE_CYTHON* with
_PYTHON_FEATURE_CYTHON3*

2. For the failed ports, check if a newer version or commit fixes the problem.
   See also:
https://cython.readthedocs.io/en/latest/src/userguide/migrating_to_cy30.html

3. Update/fix these ports to support cython 3.x.

4. Retire USE_PYTHON=cython3*.

In my personal opinion, I do not support this change at this time.

Additionally, I don't think it is a good idea to have 3 sets of knobs
(cython_legacy, cython and cython3) simutanously.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.