Open cmin764 opened 2 weeks ago
We are seeing the same issue when using truststore with requests and talking to some APIs, but not others. Haven't figured out yet what the determining factor is really.
However, it works if I pin requests = "==2.31.0"
even with truststore = "==0.9.0"
, so maybe more of a requests bug? Related to https://github.com/psf/requests/pull/6731?
Related to this older Issue, we started to encounter this problem through our robocorp libraries (where injection gets done -- so at CLI level, not library) and now I observe it even in our CI during the test runs. (while I couldn't reproduce locally on the same system and Python version)
_original_super_SSLContext = super(_original_SSLContext, _original_SSLContext)
? Even in the standardssl
module I see the same pattern when calling theverify_mode
method. By looking at the docs we have the following:as clearly we don't have
.verify_flags
available with PyPI.