Date: Tue, 6 May 2025 10:34:02 -0700 From: Pete Wright <pete@nomadlogic.org> To: python@freebsd.org Subject: Re: certbot fails after python update to python311 Message-ID: <d419d579-94b9-4a56-95c9-4121be727ba1@nomadlogic.org> In-Reply-To: <77c8d811-0231-413f-938c-515103285bd2@gmail.com> References: <77c8d811-0231-413f-938c-515103285bd2@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/6/25 03:59, Thomas Krebs wrote: > Hi, > certbot fails since a recent update to python311: > > Traceback (most recent call last): > File "/usr/local/bin/certbot", line 5, in <module> > from certbot.main import main > File "/usr/local/lib/python3.11/site-packages/certbot/main.py", line 6, > in <module> > from certbot._internal import main as internal_main > File "/usr/local/lib/python3.11/site-packages/certbot/_internal/ > main.py", line 20, in <module> > import josepy as jose > File "/usr/local/lib/python3.11/site-packages/josepy/__init__.py", line > 41, in <module> > from josepy.json_util import ( > File "/usr/local/lib/python3.11/site-packages/josepy/json_util.py", line > 25, in <module> > from OpenSSL import crypto > File "/usr/local/lib/python3.11/site-packages/OpenSSL/__init__.py", line > 8, in <module> > from OpenSSL import SSL, crypto > File "/usr/local/lib/python3.11/site-packages/OpenSSL/SSL.py", line 42, > in <module> > from OpenSSL.crypto import ( > File "/usr/local/lib/python3.11/site-packages/OpenSSL/crypto.py", line > 26, in <module> > from typing_extensions import deprecated > ModuleNotFoundError: No module named 'typing_extensions' > > I'm on FreeBSD 13.5-RELEASE-p1 with Python 3.11.12, certbot 3.2.0,1 and > py311-openssl-25.0.0,1 > > Any Help? > ran into same issue, looks like a missing dependency - `pkg install py311-typing-extensions` should get it working again. i was too lazy to submit a bug report for this, maybe today i will if i remember. -pete -- Pete Wright pete@nomadlogic.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d419d579-94b9-4a56-95c9-4121be727ba1>