Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 02b4b6c

Browse files
committedOct 4, 2021
Update for cryptography v35 release
1 parent a14fe7b commit 02b4b6c

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed
 

‎setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def find_meta(meta):
9292
package_dir={"": "src"},
9393
install_requires=[
9494
# Fix cryptographyMinimum in tox.ini when changing this!
95-
"cryptography>=3.3",
95+
"cryptography>=35.0",
9696
],
9797
extras_require={
9898
"test": ["flaky", "pretend", "pytest>=3.0.1"],

‎tests/test_ssl.py

-5
Original file line numberDiff line numberDiff line change
@@ -4225,11 +4225,6 @@ def client_callback(*args): # pragma: nocover
42254225
handshake_in_memory(client, server)
42264226

42274227

4228-
# XX remove this skipif before merging
4229-
@pytest.mark.skipif(
4230-
not hasattr(SSL._lib, "DTLSv1_listen"),
4231-
reason="need newer cryptography",
4232-
)
42334228
class TestDTLS(object):
42344229
def test_it_works_at_all(self):
42354230
s_ctx = Context(DTLS_METHOD)

‎tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ extras =
1010
deps =
1111
coverage>=4.2
1212
cryptographyMain: git+https://github.com/pyca/cryptography.git
13-
cryptographyMinimum: cryptography==3.3
13+
cryptographyMinimum: cryptography==35.0
1414
randomorder: pytest-randomly
1515
setenv =
1616
# Do not allow the executing environment to pollute the test environment

0 commit comments

Comments
 (0)
Please sign in to comment.