You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2020/01/10 21:57:59 UTC

[allura] 02/03: [#8347] disable pylint, remove dep

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8347
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 57660a713378b27c75a6274f4aa45d7ee1b15e3b
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Thu Jan 9 23:20:08 2020 +0000

    [#8347] disable pylint, remove dep
---
 AlluraTest/alluratest/test_syntax.py |  2 ++
 requirements.in                      |  2 +-
 requirements.txt                     | 12 ++----------
 3 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/AlluraTest/alluratest/test_syntax.py b/AlluraTest/alluratest/test_syntax.py
index cc4646d..36fa733 100644
--- a/AlluraTest/alluratest/test_syntax.py
+++ b/AlluraTest/alluratest/test_syntax.py
@@ -19,6 +19,7 @@ import os.path
 from subprocess import Popen, PIPE
 import sys
 from itertools import izip_longest
+from unittest import SkipTest
 
 toplevel_dir = os.path.abspath(os.path.dirname(__file__) + "/../..")
 
@@ -71,6 +72,7 @@ def test_no_tabs():
 
 
 def run_linter(files):
+    raise SkipTest('pylint see [#8346]')
     if run('pylint -E --disable=all --enable=exposed-api-needs-kwargs --load-plugins alluratest.pylint_checkers {}'.format(' '.join(files))) != 0:
         raise Exception('Custom Allura pylint errors found.')
 
diff --git a/requirements.in b/requirements.in
index d2d28c3..7c70916 100644
--- a/requirements.in
+++ b/requirements.in
@@ -54,7 +54,7 @@ mock
 nose
 poster==0.8.1
 pyflakes
-pylint
+#pylint -- disabled due to [#8346]  (also requires diff versions on py2 vs 3, including transitive deps which gets tricky with pip-compile)
 testfixtures
 WebTest==2.0.33
 
diff --git a/requirements.txt b/requirements.txt
index 5a7b7c2..640726b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,9 +6,8 @@
 #
 activitystream==0.2.2
 asn1crypto==0.24.0        # via cryptography
-astroid==1.6.6            # via pylint
 backlash==0.1.4
-backports.functools-lru-cache==1.5  # via astroid, isort, pylint, soupsieve
+backports.functools-lru-cache==1.5  # via soupsieve
 backports.shutil-get-terminal-size==1.0.0  # via ipython
 beaker==1.10.1
 beautifulsoup4==4.8.0
@@ -17,7 +16,6 @@ certifi==2019.6.16        # via requests
 cffi==1.12.2              # via cryptography
 chardet==3.0.4
 colander==1.7.0
-configparser==3.7.4       # via pylint
 crank==0.8.1              # via turbogears2
 creoleparser==0.7.5       # via pypeline
 cryptography==2.6.1
@@ -26,13 +24,12 @@ decorator==4.4.0
 docutils==0.15.2          # via pypeline
 easywidgets==0.3.5
 emoji==0.5.3
-enum34==1.1.6             # via astroid, colander, cryptography, traitlets
+enum34==1.1.6             # via colander, cryptography, traitlets
 faulthandler==3.1 ; python_version < "3.3"
 feedparser==5.2.1
 formencode==1.3.1
 funcsigs==1.0.2           # via beaker, mock
 future==0.17.1            # via timermiddleware
-futures==3.3.0            # via isort
 genshi==0.7.3             # via creoleparser
 gitdb2==2.0.4             # via gitpython
 gitpython==2.1.11
@@ -45,13 +42,10 @@ ipaddress==1.0.22         # via cryptography
 ipython-genutils==0.2.0   # via traitlets
 ipython==5.8.0
 iso8601==0.1.12           # via colander
-isort==4.3.21             # via pylint
 jinja2==2.10
-lazy-object-proxy==1.4.1  # via astroid
 markdown-checklist==0.4.1
 markdown==2.6.11
 markupsafe==1.1.1
-mccabe==0.6.1             # via pylint
 ming==0.5.6
 mock==3.0.5
 nose==1.3.7
@@ -71,7 +65,6 @@ ptyprocess==0.6.0         # via pexpect
 pycparser==2.19           # via cffi
 pyflakes==2.1.1
 pygments==2.4.2
-pylint==1.9.5
 pymongo==2.8.1
 pypeline[creole,markdown,rst,textile]==0.5.1
 pysolr==3.6.0
@@ -86,7 +79,6 @@ requests==2.22.0
 scandir==1.10.0           # via pathlib2
 setproctitle==1.1.9
 simplegeneric==0.8.1      # via ipython
-singledispatch==3.4.0.3   # via astroid, pylint
 six==1.12.0
 smmap2==2.0.4             # via gitdb2
 soupsieve==1.9.3          # via beautifulsoup4