An old version of pyopenssl is included from the runner env:
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1573, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
Contrast this path with packages installed during the test in the runner:
Related to https://github.com/pyca/pyopenssl/issues/1143
An old version of pyopenssl is included from the runner env:
Contrast this path with packages installed during the test in the runner:
Manually adding pyopenssl to requirements.txt should fix this.