#66939 closed defect (fixed)

certbot @2.3.0: Runtime error after update of py-cryptography

Reported by: lterrill Owned by: Marius Schamschula <mschamschula@…>
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: Schamschula (Marius Schamschula), stromnov (Andrey Stromnov)
Port: py-cryptography

Description

pkg_resources.ContextualVersionConflict: (cryptography 39.0.1 (/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages), Requirement.parse('cryptography<39,>=38.0.0'), {'PyOpenSSL'})

Change History (3)

comment:1 Changed 21 months ago by Schamschula (Marius Schamschula)

Cc: stromnov added
Keywords: py310-cryptography removed
Port: py-cryptography added; certbot removed
Summary: certbot @2.3.0_0+python310: Runtime error after update of py310-cryptography @39.0.1certbot @2.3.0: Runtime error after update of py-cryptography

Unfortunately, rebuilding certbot against py-cryptography does not fix this. Until certbot supports the rust based version of py-cryptography, this will be the case.

There are two solutions:

1) re-activate py310-cryptography @38.0.3_0

2) ask the maintainer to create py310-cryptography38

I've posted this on the letsencrypt.org discussion board: https://community.letsencrypt.org/t/cryptography-39-breaks-certbot/192966

comment:2 Changed 21 months ago by stromnov (Andrey Stromnov)

It looks like a dependency inconsistency in the certbot source tree:

https://github.com/certbot/certbot/blob/v2.3.0/tools/requirements.txt#L35

comment:3 Changed 21 months ago by Marius Schamschula <mschamschula@…>

Owner: set to Marius Schamschula <mschamschula@…>
Resolution: fixed
Status: newclosed

In 0c5405b31e4c9f43dfe9a0f63ab010cef6fd590e/macports-ports (master):

py-openssl: update to 23.0.0 because of py-cryptography 39.0.1

Closes: #66939
See: https://community.letsencrypt.org/t/cryptography-39-breaks-certbot/192966

Note: See TracTickets for help on using tickets.