Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for EOL Python 3.3 #1755

Merged
merged 2 commits into from
Dec 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ debian/pylint.substvars
debian/pylint
.coverage
.coverage.*
.idea
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ matrix:
env: TOXENV=py27
- python: 2.7.6
env: TOXENV=py27
# This is used by Ubuntu Trusty
- python: 3.3
env: TOXENV=py33
- python: 3.4
env: TOXENV=py34
- python: 3.5-dev
Expand Down
3 changes: 0 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ environment:
- PYTHON: "C:\\Python27"
TOXENV: "py27"

- PYTHON: "C:\\Python33"
TOXENV: "py33"

- PYTHON: "C:\\Python34"
TOXENV: "py34"

Expand Down
2 changes: 1 addition & 1 deletion doc/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ it is also working on PyPy.
2.4 What versions of Python is Pylint supporting?
--------------------------------------------------

Since Pylint 1.4, we support only Python 2.7+ and Python 3.3+. If code
Since Pylint 1.8, we support only Python 2.7 and Python 3.4+. If code
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or should this be 2.0 if following semver?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, yes, but python_requires kind of mitigates.

uses new Python 3.6 syntax, minimal required version is Pylint 1.7.

Using this strategy really helps in maintaining a code base compatible
Expand Down
7 changes: 7 additions & 0 deletions pylint/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,14 @@ def has_environment_marker_range_operators_support():
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: Jython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Debuggers',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing'
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ def install(**kwargs):
if USE_SETUPTOOLS:
if '--force-manifest' in sys.argv:
sys.argv.remove('--force-manifest')
# install-layout option was introduced in 2.5.3-1~exp1
elif sys.version_info < (2, 5, 4) and '--install-layout=deb' in sys.argv:
sys.argv.remove('--install-layout=deb')
packages = [modname] + get_packages(join(base_dir, 'pylint'), modname)
if USE_SETUPTOOLS:
if install_requires:
Expand Down Expand Up @@ -163,6 +160,7 @@ def install(**kwargs):
cmdclass=cmdclass,
extras_require=extras_require,
test_suite='test',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
setup_requires=['pytest-runner'],
tests_require=['pytest'],
**kwargs)
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py33, py34, py35, py36, pypy, jython, pylint
envlist = py27, py34, py35, py36, pypy, jython, pylint
skip_missing_interpreters = true

[testenv:pylint]
Expand Down