Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Change dependencies on types-cryptography, upstream includes type hints
Since version 3.4, the cryptography library itself ships with type
hints: https://cryptography.io/en/latest/changelog/#v3-4

This is the first step for removing types-cryptography.  Currently, if I
use `types-paramiko` and `cryptography`, it forces me to use
`types-cryptography` as well. It should be up to the end-user to decide
if they want upstream hints or from typeshed.

As discussed in the removal issue, I have added a dependency on
`types-paramiko` -> `cryptography` and `types-pyOpenSSL` ->
`cryptography`.
  • Loading branch information
intgr committed Aug 5, 2021
commit 882d849c2acd94b25054b046b5db79be0efd304a
2 changes: 1 addition & 1 deletion stubs/paramiko/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = "0.1"
python2 = true
requires = ["types-cryptography"]
requires = ["cryptography"]
2 changes: 1 addition & 1 deletion stubs/pyOpenSSL/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = "20.0"
python2 = true
requires = ["types-cryptography"]
requires = ["cryptography"]