From 94a321446e07b27b623adadd274841f138fb1b79 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Mon, 23 Jan 2023 13:14:44 +0100 Subject: [PATCH] [FIX] Pin cryptography to keep compatibility with Odoo's pyopenssl==19.0.0 Same as https://github.com/odoo/odoo/pull/99829 --- auto_backup/__manifest__.py | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/auto_backup/__manifest__.py b/auto_backup/__manifest__.py index 35ad1b5c9..ab32b6dd1 100644 --- a/auto_backup/__manifest__.py +++ b/auto_backup/__manifest__.py @@ -24,5 +24,5 @@ "view/db_backup_view.xml", ], "installable": True, - "external_dependencies": {"python": ["pysftp"]}, + "external_dependencies": {"python": ["pysftp", "cryptography==2.6.1"]}, } diff --git a/requirements.txt b/requirements.txt index 61ce5cad1..1bbffd2df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,7 @@ acme<2.0.0 astor cryptography +cryptography==2.6.1 dataclasses dnspython josepy