Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2025 19:03:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 289075] Mk/Uses/python.mk: Make cython3 default
Message-ID:  <bug-289075-21822-72GmPNFZny@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-289075-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-289075-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289075-21822-72GmPNFZny>