Skip to content

Commit a868e96

Browse files
committed
Add Python2 Deprecation Notice to README
1 parent c26ed9e commit a868e96

3 files changed

Lines changed: 18 additions & 4 deletions

File tree

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
language: python
22
python:
3-
- "2.7"
4-
- "3.4"
5-
- "3.5"
63
- "3.6"
74
- "3.7"
85
- "3.8"

Changes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ a large number of substitutions, and also fixes the following issues:
2121
- Fix issue in `set_person` method (bug #143)
2222
- Significantly improve code coverage of tests (add `test_coverage.py`)
2323

24+
Dropped support for Python 2.7 as it this language version has reached
25+
its end-of-life date. Minimum Python version supported is now 3.6+
26+
2427
## 1.14.9 - Sept 21 2017
2528

2629
This release fixes some regular expressions and adds better Unicode

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,21 @@ This is a RiveScript interpreter for the Python programming language. RiveScript
88
is a scripting language for chatterbots, making it easy to write
99
trigger/response pairs for building up a bot's intelligence.
1010

11-
This library is compatible with both Python 2 and Python 3.
11+
### Python 2 EOL Notice
12+
13+
Historically, this library supported both Python 2 and Python 3 until the
14+
day that Python 2 entered end-of-life status which happened on
15+
January 1, 2020.
16+
17+
The final version with Python 2 support is **v1.14.9** which you may still
18+
install from PyPI if you need to support a Python2 environment. Going
19+
forward, RiveScript releases will target modern, supported releases of the
20+
Python 3 language. Today, this means Python 3.6 and newer.
21+
22+
```bash
23+
# Python2 last supported version of RiveScript is 1.14.9
24+
pip install rivescript==1.14.9
25+
```
1226

1327
## Documentation
1428

0 commit comments

Comments
 (0)