[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-dev
Subject:    python*: the SSL module does not work properly ([SSL: CERTIFICATE_VERIFY_FAILED])
From:       Vadim-Valdis Yudaev <judaew () macports ! org>
Date:       2022-02-07 13:15:36
Message-ID: 149BE64B-9211-4E9A-BCC3-B1431EDCFCB8 () macports ! org
[Download RAW message or body]

Hi,

Python seems to depend on curl-ca-bundle. Without this port, the SSL =
module does not work properly. This can be reproduced with urllib:

{{{
port deactivate curl-ca-bundle
python3.10 -c 'from urllib.request import urlopen; =
urlopen("https://www.python.org")'
}}}

Due to this bug, kitty for `kitty +kitten themes` does not work =
correctly.

See https://trac.macports.org/ticket/64604 and =
https://github.com/kovidgoyal/kitty/issues/4628

I also found a similar issue with Python for Ubuntu: =
https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1879310

Should curl-ca-bundle port be added as a Python dependency?

- Yudaev=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic