python312 and openssl

Daniel J. Luke dluke at geeklair.net
Sun Oct 20 19:24:44 UTC 2024


> On Oct 20, 2024, at 3:07 PM, Kastus Shchuka <macports at tprfct.net> 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?

If python312 works with libressl, you could try modifying the dependency to be something like 'path:lib/libssl.dylib:openssl' instead of 'port:openssl' (or you could open a ticket and ask the maintainer to make the change).

The openssl port is just a shim that points to openssl3 (so if you install it 'normally' it will use macports openssl3 port).

-- 
Daniel J. Luke



More information about the macports-users mailing list