From f57e9fd42e85c6faf3a7122d74a994930ac1b168 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Mon, 20 Feb 2023 00:16:35 +0200 Subject: [PATCH] Bump cryptography for 64-bit ARM and x86 Wheels for these are now being published, so there is no more problem with rustc dependency. But modern Linux distributions doesn't support old versions of cryptography anymore. Using 37.0.4 not 39.0.1, as tests are failing with newer versions. --- jmdaemon/setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jmdaemon/setup.py b/jmdaemon/setup.py index c27cc63..bb33684 100644 --- a/jmdaemon/setup.py +++ b/jmdaemon/setup.py @@ -9,7 +9,9 @@ setup(name='joinmarketdaemon', author_email='', license='GPL', packages=['jmdaemon'], - install_requires=['txtorcon==22.0.0', 'cryptography==3.3.2', + install_requires=['txtorcon==22.0.0', + 'cryptography==3.3.2; platform_machine != "aarch64" and platform_machine != "amd64" and platform_machine != "x86_64"', + 'cryptography==37.0.4; platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "x86_64"', 'pyopenssl==21.0.0', 'libnacl==1.8.0', 'joinmarketbase==0.9.10dev'], python_requires='>=3.6',