Skip to content

Commit

Permalink
MAINT: Remove 2.7 support (codespell-project#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jun 9, 2020
1 parent 166147f commit 9c3db1a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dist: bionic
language: python
cache: pip
python:
- 2.7
- 3.5
- 3.6
- 3.7
Expand All @@ -31,8 +30,7 @@ before_install:
- python --version # just to check
- pip install -U pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
- retry pip install pytest pytest-cov pytest-dependency flake8 coverage codecov chardet setuptools docutils check-manifest
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then retry pip install aspell-python-py2; fi
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "3" ]; then retry pip install aspell-python-py3; fi
- retry pip install aspell-python-py3
- cd $SRC_DIR

install:
Expand All @@ -45,9 +43,7 @@ script:
# this file has an error
- "! codespell codespell_lib/tests/test_basic.py"
- flake8
- if [ "$TRAVIS_PYTHON_VERSION" != "2.7" ]; then
python setup.py check --restructuredtext --strict;
fi;
- python setup.py check --restructuredtext --strict
- pytest codespell_lib
- make check-manifest

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Useful links
Requirements
------------

Python 2.7 or above.
Python 3.5 or above.

Installation
------------
Expand Down
3 changes: 0 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ environment:
- PYTHON: C:\Python37-x64
PYTHON_VERSION: 3.7
PYTHON_ARCH: 64
- PYTHON: C:\Python27
PYTHON_VERSION: 2.7
PYTHON_ARCH: 32

cache:
# Cache downloaded pip packages and built wheels.
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
'Operating System :: Unix',
'Operating System :: MacOS'],
platforms='any',
python_requires='>=3.5',
packages=[
'codespell_lib', 'codespell_lib.tests',
'codespell_lib.data',
Expand Down

0 comments on commit 9c3db1a

Please sign in to comment.