Skip to content

Commit

Permalink
revert, and just use < v43.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MehmedGIT committed Jul 29, 2024
1 parent 64d5abb commit 52a099e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
atomicwrites >= 1.3.0
beanie~=1.7
click >=7
cryptography >= 43.0.0
cryptography < 43.0.0
Deprecated == 1.2.0
docker
fastapi>=0.78.0
Expand Down
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
autopep8
cryptography >= 43.0.0
cryptography < 43.0.0
pytest >= 4.0.0
generateDS == 2.35.20
pytest-benchmark >= 3.2.3
Expand Down
8 changes: 1 addition & 7 deletions src/ocrd_network/runtime_data/connection_clients.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
from __future__ import annotations
from docker import APIClient, DockerClient
from docker.transport import SSHHTTPAdapter

# TODO: A workaround to supress the annoying paramiko
# warnings which fail bash lib tests - core #1260
from warnings import catch_warnings
from cryptography.utils import CryptographyDeprecationWarning
with catch_warnings(action="ignore", category=CryptographyDeprecationWarning):
from paramiko import AutoAddPolicy, SSHClient
from paramiko import AutoAddPolicy, SSHClient


class CustomDockerClient(DockerClient):
Expand Down

0 comments on commit 52a099e

Please sign in to comment.