Created attachment 264362 [details] [PATCH] devel/py-cffi: update to 2.0.0 Patch attached.
Maintainer timeout, will test all dependent ports in poudriere first.
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
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.
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.
sunpoet@ any objections?
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.
(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.
https://reviews.freebsd.org/D53384
sunpoet, can you give us an update on the changed conditions?
FTR: https://github.com/tartiflette/tartiflette/pull/640
I'll update py-cffi to 2.0.0 when it is required, such as py-cryptography 46+. But it is not urgent.
(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.