From cf60bb5a91678cdaf2dd00067b4cc0853f31b6c3 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Thu, 9 Feb 2023 19:22:56 +0000 Subject: [PATCH] Change requirements for pure py3. --- CHANGES.md | 1 + recommended.txt | 32 +++++++++++++------------------- requirements.txt | 3 +-- 3 files changed, 15 insertions(+), 21 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 9e068fbd..b2ee095e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,7 @@ ### 3.28.0 (2023-xx-xx xx:xx:00 UTC) * Change remove calls to legacy py2 fix encoding function +* Change requirements for pure py3 ### 3.27.2 (2023-02-10 19:25:00 UTC) diff --git a/recommended.txt b/recommended.txt index fab6cb83..726b5ba7 100644 --- a/recommended.txt +++ b/recommended.txt @@ -1,22 +1,16 @@ --extra-index-url https://gitlab+deploy-token-1599941:UNupqjtDab_zxNzvP2gA@gitlab.com/api/v4/projects/279215/packages/pypi/simple -cffi >= 1.15.1 -cryptography != 38.0.2; '3.7' <= python_version and 'Windows' == platform_system -cryptography != 38.0.2; '3.7' <= python_version and 'Linux' == platform_system and ('x86_64' == platform_machine or 'aarch64' == platform_machine) -cryptography <= 3.3.2; '3.7' <= python_version and 'Linux' == platform_system and 'x86_64' != platform_machine and 'aarch64' != platform_machine -cryptography != 38.0.2; '3.7' <= python_version and 'Darwin' == platform_system and 'x86_64' == platform_machine -cryptography <= 3.3.2; '3.7' <= python_version and 'Darwin' == platform_system and 'x86_64' != platform_machine -cryptography <= 3.3.2; '3.0' > python_version +cffi +cryptography != 38.0.2; 'Windows' == platform_system +cryptography != 38.0.2; 'Linux' == platform_system and ('x86_64' == platform_machine or 'aarch64' == platform_machine) +cryptography <= 3.3.2; 'Linux' == platform_system and 'x86_64' != platform_machine and 'aarch64' != platform_machine +cryptography != 38.0.2; 'Darwin' == platform_system and 'x86_64' == platform_machine +cryptography <= 3.3.2; 'Darwin' == platform_system and 'x86_64' != platform_machine lxml >= 4.9.2; 'Windows' == platform_system lxml; 'Windows' != platform_system -orjson; '3.7' <= python_version and 'Windows' == platform_system -orjson; '3.7' <= python_version and 'Linux' == platform_system and ('x86_64' == platform_machine or 'aarch64' == platform_machine or 'armv7l' == platform_machine) -pip >= 22.2.2; '3.7' <= python_version -pip <= 20.3.4; '3.0' > python_version -Levenshtein >= 0.20.5; '3.11' >= python_version and '3.7' <= python_version -rapidfuzz < 3.0.0; '3.7' <= python_version -python-Levenshtein == 0.12.0; '3.0' > python_version -regex >= 2022.9.13; '3.11' >= python_version and '3.7' <= python_version -regex <= 2020.10.28; '3.0' > python_version -scandir >= 1.10.0; '3.0' > python_version -setuptools >= 65.2.0; '3.7' <= python_version -setuptools <= 44.1.1; '3.0' > python_version +orjson; 'Windows' == platform_system +orjson; 'Linux' == platform_system and ('x86_64' == platform_machine or 'aarch64' == platform_machine or 'armv7l' == platform_machine) +pip +Levenshtein +rapidfuzz < 3.0.0 +regex +setuptools diff --git a/requirements.txt b/requirements.txt index c09c9121..2abbce53 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ -Cheetah3 <= 3.2.6, != 3.2.6.post2; '3.0' > python_version -CT3; '3.7' <= python_version +CT3