python*: the SSL module does not work properly ([SSL: CERTIFICATE_VERIFY_FAILED])

Vadim-Valdis Yudaev judaew at
Mon Feb 7 13:15:36 UTC 2022


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("")'

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

See and

I also found a similar issue with Python for Ubuntu:

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

- Yudaev

More information about the macports-dev mailing list