Bug 290056 - devel/py-cffi: update to 2.0.0
Summary: devel/py-cffi: update to 2.0.0
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-07 01:25 UTC by Siva Mahadevan
Modified: 2025-11-23 09:28 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)
me: maintainer-feedback? (sunpoet)


Attachments
[PATCH] devel/py-cffi: update to 2.0.0 (1.45 KB, patch)
2025-10-07 01:25 UTC, Siva Mahadevan
me: maintainer-approval? (sunpoet)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Siva Mahadevan freebsd_triage 2025-10-07 01:25:46 UTC
Created attachment 264362 [details]
[PATCH] devel/py-cffi: update to 2.0.0

Patch attached.
Comment 1 Michael Osipov freebsd_committer freebsd_triage 2025-10-27 08:56:52 UTC
Maintainer timeout, will test all dependent ports in poudriere first.
Comment 2 Michael Osipov freebsd_committer freebsd_triage 2025-10-27 11:50:57 UTC
Ports depending:
archivers/py-brotlicffi
archivers/py-brotlipy
archivers/py-zstandard
audio/py-vosk
audio/py-SoundFile
audio/py-sounddevice
cad/py-pymtl
comms/py-pynitrokey
databases/py-dbt-core
databases/py-lmdb
databases/py-psycopg2cffi
devel/py-pytest-codspeed
devel/py-aiortc
devel/py-atomiclong
devel/py-azure-datalake-store
devel/py-cle
devel/py-gevent
devel/py-google-crc32c
devel/py-llvmcpy
devel/py-onigurumacffi
devel/py-oslo.privsep
devel/py-persistent
devel/py-pygit2
devel/py-pylibsrtp
devel/py-rchitect
devel/py-tartiflette
devel/py-xattr
dns/py-pycares
graphics/py-cairocffi
graphics/py-pyvips
irc/hexchat
mail/py-notmuch2
math/py-clingcon
math/py-clingo
math/py-mip
math/py-rpy2
math/py-rvlib
math/py-secp256k1
math/py-libceed
net-mgmt/py-napalm
net/py-nnpy
net/py-trio
www/py-autobahn
www/seahub
print/py-weasyprint
science/py-eccodes
science/py-dftd4
science/py-pymbd
security/py-cryptography-legacy
security/py-angr
security/py-argon2-cffi-bindings
security/py-coincurve
security/py-cryptography
security/py-pynacl
security/py-pyvex
textproc/py-cmarkgfm
textproc/py-misaka
textproc/py-python-augeas
x11-fonts/py-fclist-cffi
x11-toolkits/py-pangocffi
x11-wm/qtile
x11/py-xcffib
filesystems/openzfs
Comment 3 Siva Mahadevan freebsd_triage 2025-10-27 12:56:21 UTC
I would be happy to maintain this port, along with https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287119 if needed. The latter has been stale for a very long time and FreeBSD Jenkins CI depends on it being up to date for src/ tree tests.
Comment 4 Michael Osipov freebsd_committer freebsd_triage 2025-10-27 19:11:24 UTC
Took couple of hours to run everything. 

[00:20:44] Built ports: devel/py-xattr@py311 devel/py-cbor2@py311 devel/py-googleapis-common-protos@py311 devel/py-tox@py311 textproc/py-cmarkgfm@py311 devel/py-grpcio-status@py311 devel/level-zero www/py-google-api-core@py311 devel/py-hypothesis@py311 devel/py-rpds-py@py311 devel/py-referencing@py311 databases/py-dbt-core@py311 devel/uv devel/py-uv-build@py311 devel/py-cucumber-tag-expressions@py311
[00:20:44] Failed ports: security/py-angr@py311:configure
[00:20:44] Inspected ports: audio/libvorbis devel/swig devel/gmake audio/flac x11/libSM devel/gettext-tools devel/librttopo security/libgpg-error security/nettle www/libjwt security/libksba databases/gdbm devel/p5-Locale-gettext audio/libcanberra print/psutils graphics/jbig2dec devel/libdatrie misc/help2man devel/libthai lang/python311 archivers/zstd security/libassuan devel/p5-Locale-libintl textproc/p5-XML-Parser x11/libxcb textproc/freexl archivers/libarchive filesystems/openzfs print/texinfo dns/libidn textproc/groff textproc/gsed devel/m4 devel/bison x11/libX11 x11/libXfixes x11/libXdamage math/mpfr devel/binutils@native math/mpc math/py-gmpy2@py311 security/nss x11/libXext x11/libXcomposite x11/libXinerama x11/libXScrnSaver x11/libXi devel/boost-libs devel/py-pyyaml@py311 dns/libidn2 x11-toolkits/libXt x11-toolkits/libXmu lang/gcc13 math/openblas x11/libXpm x11/libXrender x11/libXrandr security/pinentry-curses devel/py-pyicu@py311 devel/py-cffi@py311 archivers/py-brotli@py311 databases/py-sqlite3@py311 net/py-nnpy@py311 security/py-pynacl@py311 devel/py-google-crc32c@py311 archivers/py-brotlicffi@py311 devel/py-pylibsrtp@py311 devel/py-onigurumacffi@py311 security/py-argon2-cffi-bindings@py311 databases/py-lmdb@py311 x11/libXcursor devel/py-grpcio@py311 devel/py-gevent@py311 security/libgcrypt x11-toolkits/libXaw x11/libXtst graphics/libexif textproc/libxml2 textproc/libxslt devel/py-lxml@py311 devel/talloc security/xmlsec1 databases/postgresql17-client databases/py-psycopg2cffi@py311 dns/libpsl graphics/wayland devel/dbus devel/glib20@bootstrap multimedia/libvdpau graphics/libglvnd devel/gobject-introspection@bootstrap math/py-secp256k1@py311 comms/hidapi textproc/augeas net/openldap26-client multimedia/libv4l comms/py-hidapi@py311 net/py-python-ldap@py311 comms/libusbsio comms/py-libusbsio@py311 security/rhash devel/cmake-core ftp/curl math/suitesparse-ccolamd devel/spdlog devel/libgit2 www/libevhtp security/libfido2 lang/rust devel/py-pygit2@py311 science/libkml graphics/tiff science/mctc-lib graphics/webp science/mstore graphics/proj graphics/openjph science/multicharge graphics/lcms2 graphics/libraw graphics/libgeotiff graphics/libplacebo math/suitesparse-amd multimedia/aom audio/libsndfile math/suitesparse-camd astro/cfitsio databases/mysql80-client databases/libzdb databases/py-mysqlclient@py311 science/libmbd graphics/libyuv science/hdf5 math/matio science/py-pymbd@py311 print/freetype2 science/netcdf x11-fonts/mkfontscale x11-fonts/fontconfig x11-fonts/libXft graphics/gd x11-toolkits/tk86 devel/py-maturin@py311 databases/sfcgal graphics/openjpeg databases/spatialite science/eccodes math/blas math/suitesparse-colamd math/lapack math/cblas math/suitesparse-cholmod audio/kaldi-vosk devel/cargo-c audio/vosk-api math/suitesparse-umfpack math/py-numpy@py311 science/dftd4 graphics/openexr security/py-coincurve@py311 science/py-dftd4@py311 x11-toolkits/py-tkinter@py311 shells/bash archivers/libzip science/py-scipy@py311 science/py-scikit-sparse@py311 devel/glib20@default devel/desktop-file-utils devel/gobject-introspection@default security/p11-kit accessibility/at-spi2-core print/harfbuzz graphics/cairo multimedia/libass print/libraqm graphics/py-cairo@py311 devel/py-pygobject@py311 devel/dbus-glib graphics/liblqr-1 devel/llvm15@default net/avahi-app devel/py-dbus@py311 misc/shared-mime-info devel/llvm19@default x11-toolkits/pango graphics/gdk-pixbuf2 graphics/libjxl graphics/libavif graphics/libwmf@x11 graphics/py-pillow@py311 graphics/gtk-update-icon-cache devel/py-llvmlite@py311 graphics/libdrm security/gnutls math/py-matplotlib@py311 print/cups security/gnupg x11-toolkits/gtk20 security/gpgme multimedia/libva security/gpgmepp lang/vala net/libproxy graphics/librsvg2-rust irc/hexchat sysutils/polkit multimedia/ffmpeg sysutils/consolekit2 graphics/libheif audio/pulseaudio devel/libsearpc graphics/poppler multimedia/py-av@py311 graphics/poppler-glib print/ghostscript10 graphics/gdal net-mgmt/seafile-server graphics/py-gdal@py311 graphics/ImageMagick7@x11 math/R graphics/vips math/py-rpy2@py311 graphics/py-pyvips@py311 graphics/graphviz mail/gmime30 graphics/py-pygraphviz@py311 mail/notmuch mail/py-notmuch2@py311 devel/hwloc2 devel/onetbb devel/py-numba@py311

py-angr fails for another reason with py-archinfo. I am good to apply this one.
Comment 5 Michael Osipov freebsd_committer freebsd_triage 2025-10-27 19:12:18 UTC
sunpoet@ any objections?
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2025-10-27 20:52:40 UTC
The patch is not OK.

It does not handle the dependent ports. At the time of patch submission, at least 2 ports declare cffi < 2.0.0. See ports a50f8b26efb19185e02731837b432387cbdec7a2 and ports e4cfa3854d7fefbaae44ba381a55729e7573b92f.

Additionally, it might need runtime test for dependent ports.

I would say no for this update right now.
Comment 7 Michael Osipov freebsd_committer freebsd_triage 2025-10-27 23:42:32 UTC
(In reply to Po-Chuan Hsieh from comment #6)

Those are gone, you addressed them. I have built all dependent ports and they built fine. Runtime is, of course, another thing. My reviews remain open for the changes.
Comment 8 Michael Osipov freebsd_committer freebsd_triage 2025-10-28 08:14:19 UTC
https://reviews.freebsd.org/D53384
Comment 9 Michael Osipov freebsd_committer freebsd_triage 2025-11-11 18:40:59 UTC
sunpoet, can you give us an update on the changed conditions?
Comment 10 Michael Osipov freebsd_committer freebsd_triage 2025-11-23 08:37:39 UTC
FTR: https://github.com/tartiflette/tartiflette/pull/640
Comment 11 Po-Chuan Hsieh freebsd_committer freebsd_triage 2025-11-23 09:18:55 UTC
I'll update py-cffi to 2.0.0 when it is required, such as py-cryptography 46+.

But it is not urgent.
Comment 12 Michael Osipov freebsd_committer freebsd_triage 2025-11-23 09:28:59 UTC
(In reply to Po-Chuan Hsieh from comment #11)

That's the point 2.0.0 is now upstream and others start to use it. py-crypto is the last version to support OpenSSL < 3. This should land this quarter to prepare people for the move and EOL of 13. It should not happen next quarter.