On Thu, Jun 13, 2024 at 11:11 AM Stuart Henderson <s...@spacehopper.org> wrote: >
> > There are ~40 ports using cython in the first place, and some are > > already held back at old versions due to updates requiring cython >=3. > > Presumably some will build with either version. So we need to know which > > ports are actually broken. can we please move forward with this and update to Cython 3? > > > > These ports are happy with cython 3.x if updated to newer upstream > version (I have diffs for them): > > textproc/py-yaml needs a release candidate update for now > net/py-msgpack > geo/py-fiona > geo/py-proj > geo/py-rasterio > textproc/py-stemmer no new release, but backported setup.py patch > > These use python 2 and fail with cython 3: > > games/pygame_sdl2 > games/renpy please mark these as BROKEN > The following ports didn't build and I don't have diffs to fix/update > them. If anyone wants to push this forward then figuring out how to patch > or update these would be helpful: > > math/mlpack ? > math/py-h5py,python3 3.11.0 supports newer cython, but needs newer > numpy > math/py-pandas,python3 ? > math/py-scikit-image,python3 0.22.0/newer, need newer numpy (0.22.0: > 1.23.3, 0.23.x: 2.x) > math/py-scipy,python3 ? please mark the above as BROKEN for now. I use scipy and pandas so will be motivated to fix once we have Cython 3 in the tree. > > These built ok as-is: > > astro/py-astropy,python3 > databases/py-peewee,python3 > devel/py-pydantic,python3 > devel/py-pydantic-compat,python3 > devel/py-rencode,python3 > devel/py-timelib,python3 > devel/py-wheezy.template,python3 > geo/lib2geom > geo/py-shapely,python3 > math/py-PyWavelets,python3 > math/py-cftime,python3 > math/py-cvxpy,python3 > math/py-netcdf4,python3 > math/py-numpy,python3 > math/py-scikit-learn,python3 > math/py-tables,python3 > net/libdnet > net/poezio > net/py-zmq,python3 > print/printrun > print/py-fonttools,python3 > security/py-gssapi,python3 > sysutils/borgbackup/1.2 > sysutils/borgbackup/2.0 > sysutils/py-statgrab,python3 > textproc/py-cchardet,python3 > textproc/py-patiencediff,python3 > > My WIP diff is attached. ok @daniel on your dff to update to Cython 3