Skip to content

Commit

Permalink
Update for cryptography v35 release
Browse files Browse the repository at this point in the history
  • Loading branch information
njsmith committed Oct 4, 2021
1 parent 82e6a90 commit b7119f5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def find_meta(meta):
package_dir={"": "src"},
install_requires=[
# Fix cryptographyMinimum in tox.ini when changing this!
"cryptography>=3.3",
"cryptography>=35.0",
"six>=1.5.2",
],
extras_require={
Expand Down
5 changes: 0 additions & 5 deletions tests/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4255,11 +4255,6 @@ def client_callback(*args): # pragma: nocover
handshake_in_memory(client, server)


# XX remove this skipif before merging
@pytest.mark.skipif(
not hasattr(SSL._lib, "DTLSv1_listen"),
reason="need newer cryptography",
)
class TestDTLS(object):
def test_it_works_at_all(self):
s_ctx = Context(DTLS_METHOD)
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ extras =
deps =
coverage>=4.2
cryptographyMain: git+https://github.com/pyca/cryptography.git
cryptographyMinimum: cryptography==3.3
cryptographyMinimum: cryptography==35.0
randomorder: pytest-randomly
setenv =
# Do not allow the executing environment to pollute the test environment
Expand Down

0 comments on commit b7119f5

Please sign in to comment.