Skip to content

Commit

Permalink
Revert "Add an exception at install for python < 3.6.2 (pylint-dev#5171
Browse files Browse the repository at this point in the history
…)"

This reverts commit 37e330c.
  • Loading branch information
Pierre-Sassoulas committed Oct 17, 2021
1 parent 06a70a2 commit 0563861
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions setup.py
@@ -1,20 +1,3 @@
import sys

from setuptools import setup


class PylintIncompatiblePythonError(Exception):
def __init__(self) -> None:
super().__init__(
"The last version compatible with Python <= 3.6.2 is pylint '2.9.3'. "
f"You're using {'.'.join([str(v) for v in sys.version_info[:3]])}. "
"Please install pylint 2.9.3 explicitly or upgrade your python interpreter "
"to at least 3.6.2. Remember that Python 3.6 end life is December 2021. "
"See https://github.com/PyCQA/pylint/issues/5065 for more detail."
)


if sys.version_info < (3, 6, 2):
raise PylintIncompatiblePythonError()

setup()

0 comments on commit 0563861

Please sign in to comment.