Skip to content

Commit

Permalink
Drop Python 3.4; test against 3.7 and 3.8 (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Apr 26, 2020
1 parent e2450fa commit 5467800
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
@@ -1,9 +1,10 @@
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
before_install:
- wget https://s3.amazonaws.com/textblob/nltk_data-0.11.0.tar.gz
- tar -xzvf nltk_data-0.11.0.tar.gz -C ~
Expand All @@ -12,11 +13,11 @@ install:
- pip install -r dev-requirements.txt
- pip install -U six
- pip install -U .
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then pip install -r docs/requirements.txt;
- if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]; then pip install -r docs/requirements.txt;
fi
script:
- python run_tests.py
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then cd docs && make doctest; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]; then cd docs && make doctest; fi

jobs:
include:
Expand All @@ -25,10 +26,10 @@ jobs:
python: "3.6"
env: []
# Override before_install, install, and script to no-ops
before_install: true
install: true
before_install: skip
install: skip
script: echo "Releasing to PyPI..."
after_success: true
after_success: skip
deploy:
provider: pypi
user: sloria
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -10,6 +10,8 @@ Deprecations:

Other changes:

- *Backwards-incompatible*: Drop support for Python 3.4.
- Test against Python 3.7 and Python 3.8.
- Pin NLTK to ``nltk<3.5`` on Python 2 (:issue:`315`).

0.15.3 (2019-02-24)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -85,7 +85,7 @@ Full documentation is available at https://textblob.readthedocs.io/.
Requirements
------------

- Python >= 2.7 or >= 3.4
- Python >= 2.7 or >= 3.5

Project Links
-------------
Expand Down
2 changes: 1 addition & 1 deletion docs/install.rst
Expand Up @@ -82,7 +82,7 @@ Old:
Python
++++++

TextBlob supports Python >=2.7 or >=3.4.
TextBlob supports Python >=2.7 or >=3.5.


Dependencies
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -56,9 +56,10 @@ def read(fname):
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
"Topic :: Text Processing :: Linguistic",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist =py27,py34,py35,py36
envlist =py27,py35,py36,py37,py38
[testenv]
deps = -rdev-requirements.txt
commands=
Expand Down

0 comments on commit 5467800

Please sign in to comment.