diff --git a/setup.py b/setup.py index eeed16e75..1dce0f1a3 100755 --- a/setup.py +++ b/setup.py @@ -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={ diff --git a/tests/test_ssl.py b/tests/test_ssl.py index 4f9b5baf9..7be307779 100644 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py @@ -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) diff --git a/tox.ini b/tox.ini index decabbd8a..5d573ca09 100644 --- a/tox.ini +++ b/tox.ini @@ -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