From f4c36c770114dd3ca2697e2eb0e88769b419318c Mon Sep 17 00:00:00 2001 From: Pawel Kowalik Date: Sun, 18 Feb 2024 01:55:20 +0100 Subject: [PATCH] CI: update outdated cryptography lib in full --- requirements.txt | 3 ++- setup.py | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 78d4598..878d85e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ cffi==1.14.5 -cryptography==3.3.2 +cryptography==3.3.2; python_version == '2.7' +cryptography==39.0.1; python_version > '2.7' dnspython==1.16.0 enum34==1.1.10 future==0.18.2 diff --git a/setup.py b/setup.py index f9f4502..d38ddbf 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ ] setup(name='domain_connect', - version='0.0.9', + version='0.0.10', description='Python client library for Domain Connect protocol. See: https://domainconnect.org', long_description_content_type="text/markdown", long_description=open('README.md').read(), @@ -15,7 +15,6 @@ author_email='pawel-kow@users.noreply.github.com', url='https://github.com/Domain-Connect/domainconnect_python', license='https://github.com/Domain-Connect/domainconnect_python/blob/master/LICENSE', - # python 3.5 failing in tests classifiers=[ 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.6', @@ -35,7 +34,8 @@ 'publicsuffixlist >= 0.7.7', 'six >= 1.12.0', 'future >= 0.18.1', - 'cryptography >= 3.3.2' + 'cryptography==3.3.2; python_version == "2.7"', + 'cryptography==39.0.1; python_version > "2.7"' ], tests_require=test_deps, extras_require={