If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
Release: https://pypi.org/pypi/pyOpenSSL/23.0.0
Homepage: https://pyopenssl.org/
Diff: https://github.com/pyca/pyopenssl/compare/22.1.0...23.0.0
Stubsabot analysis of the diff between the two releases:
- Total lines of Python code added: 83.
- Total lines of Python code deleted: 37.
If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
* Temporarily remove `cachetools` stubs. They will be added back soon, and meanwhile they will continue to be available on pypi.
* Remove `filelock.logger()` (no longer exists in filelock 3.2)
* Delete `OpenSSL.crypto` from stubtest whitelist
Co-authored-by: Akuli <akuviljanen17@gmail.com>
The method always returns a str. See implementation at:
30e82d4ba5/src/OpenSSL/SSL.py (L2420-L2430)
If version were ever None, it would raise an exception on the .decode()
line.