Commit 4b509a9
Fix cryptography dependency (#46)
The `cryptography` package is never required directly by the
`nexmo` package. Correct `install_requires` so that nexmo
requires the `PyJWT[crypto]` dependency (which is how
`PyJWT` spells its optional dependency on `cryptography`
in its `extras_require`). Now if `PyJWT` ever changes the
underlying dependency it uses to implement its optional
`crypto` functionality away from `cryptography` to some
other library, nexmo will pull the replacement transitive
dependency rather than continuing to pull the now-wrong
transitive dependency, leaving things in a broken state.
`cryptography` *is* directly required by the tests, so add it
to `tests_require`.1 parent ca0e90a commit 4b509a9
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments