Skip to content

Commit

Permalink
Drop Python 3.4 support (#286)
Browse files Browse the repository at this point in the history
Remove references to Python 3.4 in Travis and Tox config. Also in
Python doc links in Watson documentation.

Tox was failing in Travis due to a critical error installing arrow. This
was due to Python 3.4 support being deprecated since March 2019.
  • Loading branch information
davidag authored and jmaupetit committed Jun 12, 2019
1 parent 30e19f5 commit 5a11241
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ language: python

matrix:
include:
- python: 3.4
- python: 3.7
os: linux
dist: trusty
dist: xenial
env: TOXENV=flake8
- python: 2.7
os: linux
dist: trusty
env: TOXENV=py27
- python: 3.4
os: linux
dist: trusty
env: TOXENV=py34
- python: 3.5
os: linux
dist: trusty
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Update zsh shell completion (#264)

### Removed

- Python 3.4 support (#286).

## [1.7.0] - 2019-03-25

### Added
Expand Down
4 changes: 2 additions & 2 deletions docs/user-guide/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Watson configuration and data are stored inside your user's application folder.
* **Windows**: `%appdata%\watson\config`, which usually expands to `C:\Users\<user>\AppData\Roaming\watson\config`
* **Linux**: `~/.config/watson/config`

The configuration file is a typical [python configuration (INI) file](https://docs.python.org/3.4/library/configparser.html#supported-ini-file-structure), that looks like:
The configuration file is a typical [python configuration (INI) file](https://docs.python.org/3.7/library/configparser.html#supported-ini-file-structure), that looks like:

```ini
[Simple Values]
Expand Down Expand Up @@ -55,7 +55,7 @@ empty string value here =
# Did I mention we can indent comments, too?
```

_This example configuration file has been taken from the [official python documentation](https://docs.python.org/3.4/library/configparser.html#supported-ini-file-structure)._
_This example configuration file has been taken from the [official python documentation](https://docs.python.org/3.7/library/configparser.html#supported-ini-file-structure)._


## Editing
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def parse_requirements(requirements, ignore=('setuptools',)):
"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 :: 3.7",
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 = flake8,py27,py34,py35,py36,py37
envlist = flake8,py27,py35,py36,py37
skip_missing_interpreters = True

[testenv]
Expand Down

0 comments on commit 5a11241

Please sign in to comment.