Skip to content

Commit 673bfb5

Browse files
committed
drop support for python2 and try to fix py39 build on travis-ci.com
1 parent a39ecb8 commit 673bfb5

File tree

5 files changed

+7
-19
lines changed

5 files changed

+7
-19
lines changed

.travis.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@ python:
77
- "3.8"
88
- "3.7"
99
- "3.6"
10-
- "2.7"
11-
- "pypy"
1210
- "pypy3"
1311

1412
# Enable Python 3.7. Requires OpenSSL 1.0.2+ which is not available for Trusty
15-
matrix:
16-
include:
17-
- python: 3.7
18-
dist: xenial
19-
sudo: true
13+
#matrix:
14+
# include:
15+
# - python: 3.7
16+
# dist: xenial
17+
# sudo: true
2018

2119
before_install:
2220
- "wget https://s3.amazonaws.com/textblob/nltk_data.tar.gz"

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ for details.
1818
Features
1919
--------
2020

21-
- Works with Python3.9
2221
- All directly accessible `textblob_de` classes (e.g. `Sentence()` or
2322
`Word()`) are initialized with default models for German
2423
- Properties or methods that do not yet work for German raise a
@@ -38,7 +37,6 @@ Features
3837
- Polarity detection (`PatternAnalyzer`) - Still **EXPERIMENTAL**,
3938
does not yet have information on subjectivity
4039
- Full `pattern.text.de` API support on Python3
41-
- Supports Python 2 and 3
4240
- See [working features
4341
overview](http://langui.ch/nlp/python/textblob-de-dev/) for details
4442

@@ -134,11 +132,6 @@ WordList(['das', 'sein', 'ein', 'hässlich', 'Auto'])
134132
[('das', 'DT'), ('sein', 'VB'), ('ein', 'DT'), ('hässlich', 'JJ'), ('Auto', 'NN')]
135133
```
136134

137-
Note
138-
139-
Make sure that you use unicode strings on Python2 if your input contains
140-
non-ascii characters (e.g. `word = u"schön"`).
141-
142135
Access to `pattern` API in Python3
143136
----------------------------------
144137

@@ -166,7 +159,7 @@ Documentation and API Reference
166159
Requirements
167160
------------
168161

169-
- Python >= 2.6 or >= 3.3
162+
- Python >= 3.6
170163

171164
TODO
172165
----

requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
setuptools==39.2.0
1+
setuptools
22
pep8==1.5.7
33
autopep8
44
flake8

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
textblob>=0.9.0
2-
nltk<=3.4.5

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ def read(fname):
143143
'Natural Language :: German',
144144
'Operating System :: OS Independent',
145145
'Programming Language :: Python',
146-
'Programming Language :: Python :: 2',
147-
'Programming Language :: Python :: 2.7',
148146
'Programming Language :: Python :: 3',
149147
'Programming Language :: Python :: 3.6',
150148
'Programming Language :: Python :: 3.7',

0 commit comments

Comments
 (0)