On Sun, Oct 20, 2024 at 12:07:21PM -0700, Kastus Shchuka wrote: > I cannot upgrade python312 port since it was bumped up to 3.12.7_0. > > I am using libressl, and obviously I cannot install openssl port at the same > time as libressl. > > python312 port declares library dependency on openssl: > > Library Dependencies: bzip2, expat, gettext-runtime, libedit, libffi, ncurses, > openssl, sqlite3, xz, zlib > > Are there any reasons for that? Can python312 port use openssl3? Can it use > libressl?
Python 3.12 can currently not use libressl, the possibility to build it against libressl was removed on purpose because it would fail: https://github.com/macports/macports-ports/commit/a7e01ca3ad01cdef1fcd595ec257e0525dac8396 https://trac.macports.org/ticket/70767 Somebody needs to contribute code to Python upstream to make it work with libressl, or somebody needs to contribute code to libressl to provide the API Python expects. -- Clemens
