Skip to content

Commit b7119f5

Browse files
committed
Update for cryptography v35 release
1 parent 82e6a90 commit b7119f5

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
@@ -96,7 +96,7 @@ def find_meta(meta):
9696
package_dir={"": "src"},
9797
install_requires=[
9898
# Fix cryptographyMinimum in tox.ini when changing this!
99-
"cryptography>=3.3",
99+
"cryptography>=35.0",
100100
"six>=1.5.2",
101101
],
102102
extras_require={

tests/test_ssl.py

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

42574257

4258-
# XX remove this skipif before merging
4259-
@pytest.mark.skipif(
4260-
not hasattr(SSL._lib, "DTLSv1_listen"),
4261-
reason="need newer cryptography",
4262-
)
42634258
class TestDTLS(object):
42644259
def test_it_works_at_all(self):
42654260
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)