Re: update to security/py-cryptography breaks security/py-openssl 21.0.0,1

From: Li-Wen Hsu <lwhsu_at_freebsd.org>
Date: Wed, 30 Aug 2023 02:06:14 UTC
Yes, I’m also waiting this one:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266680


On Wed, Aug 30, 2023 at 09:43 <jonc@chen.org.nz> wrote:

> Hi,
>
> The latest update of py-cryptography to 41.0.3 breaks py-openssl 21.0.0,1.
> ie:
>
> 1:09pm> python3
> Python 3.9.17 (main, Jun 16 2023, 03:51:47)
> [Clang 15.0.7 (https://github.com/llvm/llvm-project.git
> llvmorg-15.0.7-0-g8dfdc on freebsd13
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import OpenSSL
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", line
> 8, in <module>
>     from OpenSSL import crypto, SSL
>   File "/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py", line
> 3279, in <module>
>     _lib.OpenSSL_add_all_algorithms()
> AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
> >>>
>
> Googling on the 'Net seems to suggest that py-openssl needs to be updated
> to version >= 22.1.0.
>
> Cheers
> --
> Jonathan Chen <jonc@chen.org.nz>
>