Rename openssl-python to pyOpenSSL#5649
Conversation
Remove stubtest allowlist Set package version
|
Stubtest found a couple of legitimate issues. |
|
I'd consider fixing the issues out of scope for this PR, so I have just added them to the allowlist, but maybe @jolaf wants to take a stab when this is merged? |
|
I see Is there a reason for still having some stub tests disabled? |
|
|
|
See #5657. I've re-enabled the tests and fixed all problems but one: The root of the problem seems to be here: But I don't have any idea what would be a correct fix. |
since at least here: python/typeshed#5649 Two fixups to keep mypy happy. The first handles that `get_notAfter` could return None. Before this would raise a generic `AttributeError`; now it raises a ValueError with specific message. The second ensures the callback to `set_verify` returns bool, not NoneType. (AFAICS this was fine because PyOpenSSL only ever used the truthiness of the callback's return value.)
Remove stubtest allowlist
Set package version
Closes: #5647