From 505d61e3f6ad9008ec267fd0a1af395b90ac33d2 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Tue, 14 Jun 2022 20:12:05 +0200 Subject: [PATCH] No longer installed pylint/astroid on Python 2.7 Signed-off-by: Andreas Maier --- dev-requirements.txt | 4 ---- minimum-constraints.txt | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 3c5ff2912..7a73422b4 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -78,19 +78,15 @@ Babel>=2.7.0 # Pylint 2.0 / astroid 2.0 removed py27, added py37 # Pylint 2.7 / astroid 2.5 removed support for py35 # Pylint 2.7-2.9 had issue https://github.com/PyCQA/pylint/issues/4118 (issues #2672, #2673) -pylint>=1.6.4,<2.0.0; python_version == '2.7' pylint>=2.5.2; python_version == '3.5' pylint>=2.10.0; python_version >= '3.6' -astroid>=1.4.9,<2.0.0; python_version == '2.7' astroid>=2.4.0; python_version == '3.5' astroid>=2.7.2; python_version >= '3.6' typed-ast>=1.4.0,<1.5.0; python_version >= '3.6' and python_version < '3.8' and implementation_name=='cpython' # lazy-object-proxy is used by astroid -lazy-object-proxy>=1.4.3; python_version == '2.7' lazy-object-proxy>=1.4.3; python_version >= '3.5' # wrapt 1.13.0 started depending on MS Visual C++ 9.0 on Python 2.7 on Windows, # which is not available by default on GitHub Actions -wrapt>=1.12,<1.13; sys_platform == 'win32' and python_version == '2.7' wrapt>=1.12; python_version >= '3.5' # isort 5.0.0 removed support for py27,py35 # isort 4.2.8 fixes a pylint issue with false positive on import order of ssl on Windows diff --git a/minimum-constraints.txt b/minimum-constraints.txt index f4edd8272..a0ee832ba 100644 --- a/minimum-constraints.txt +++ b/minimum-constraints.txt @@ -213,16 +213,13 @@ autodocsumm==0.2.5; python_version >= '3.6' Babel==2.7.0 # PyLint (no imports, invoked via pylint script): -pylint==1.6.4; python_version == '2.7' pylint==2.5.2; python_version == '3.5' pylint==2.10.0; python_version >= '3.6' -astroid==1.4.9; python_version == '2.7' astroid==2.4.0; python_version == '3.5' astroid==2.7.2; python_version >= '3.6' typed-ast==1.4.0; python_version >= '3.6' and python_version < '3.8' and implementation_name=='cpython' -lazy-object-proxy==1.4.3; python_version == '2.7' lazy-object-proxy==1.4.3; python_version >= '3.5' -wrapt==1.12 +wrapt==1.12; python_version >= '3.5' isort==4.3.8 tomlkit==0.10.1; python_version >= '3.7'