Certbot crashes after update of python installed

Dean E. Weimer dweimer at dweimer.net
Mon Feb 22 18:16:22 UTC 2021


On 2021-02-22 11:49 am, Tim Daneliuk wrote:
> On 2/22/21 9:52 AM, Jerry wrote:
>> At the very least, there should be something in "UPDATING" that
>> references this problem, and a reasonable method to work around this
>> problem.
> 
> Well, Python 2.x has been noted as on its way to EOL for several years
> and FreeBSD explicitly notes it as so.  This seems like a non problem.
> 
> 
> I have Python software that depends on 2.x and 3.x.  To avoid having to
> fiddle with what version is used where, I make use of the pew-based
> solution which is simple puts what you need in distinct containers.

Its not a Python 2.x to 3.x issue, its the Certbot dependency on 
py-openssl, the update made on Feb 19th to version 20.0.1 of py-openssl, 
missed a dependency requirement. I had mine working with python 3.9 for 
a while. It had recently broke after some updates, but I hadn't had time 
to look into yet. Here is what I found.

from https://pypi.org/project/pyOpenSSL/

20.0.0 (2020-11-27)
Backward-incompatible changes:

     The minimum cryptography version is now 3.2.
     Remove deprecated OpenSSL.tsafe module.
     Removed deprecated OpenSSL.SSL.Context.set_npn_advertise_callback, 
OpenSSL.SSL.Context.set_npn_select_callback, and 
OpenSSL.SSL.Connection.get_next_proto_negotiated.
     Drop support for Python 3.4
     Drop support for OpenSSL 1.0.1 and 1.0.2


So the real issue is the py-openssl port, and it looks like someone has 
already filed a bug report.

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

-- 
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/


More information about the freebsd-questions mailing list