summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoris Roovers <joris.roovers@gmail.com>2019-11-13 17:52:27 +0100
committerJoris Roovers <joris.roovers@gmail.com>2019-11-13 17:52:27 +0100
commitf75b7790a7c7d7681fcfc2b2cf09b56768d25f51 (patch)
tree28a6f2491171f4269e8c9e5c50c097a6b78e5239
parent655957c9eb1c774409b7bbc9ddc2815cf9d9382a (diff)
Python 3.8 support
Temporarily disabled PEP8 enforcement in TravisCI as the Python 3.8 required an upgrade to flake8==3.7.9 which caused some new violations. Will be fixed in follow-up commit.
-rw-r--r--.travis.yml4
-rw-r--r--CHANGELOG.md3
-rw-r--r--Vagrantfile3
-rwxr-xr-xrun_tests.sh2
-rw-r--r--setup.py1
-rw-r--r--test-requirements.txt2
6 files changed, 11 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 3d0eac7..e6d3055 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,6 +16,8 @@ matrix:
# See https://github.com/travis-ci/travis-ci/issues/9815
dist: xenial
sudo: true
+ - python: "3.8"
+ os: linux
- python: "pypy"
os: linux
- python: "pypy3.5"
@@ -50,7 +52,7 @@ script:
- "./run_tests.sh"
- "./run_tests.sh --integration"
- "./run_tests.sh --build"
- - "./run_tests.sh --pep8"
+# - "./run_tests.sh --pep8"
- "./run_tests.sh --lint"
- "./run_tests.sh --git"
after_success:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e4d340f..1d758f7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog #
+## v0.13.0 (next up)
+- Python 3.8 support
+
## v0.12.0 (2019-07-15) ##
Contributors:
diff --git a/Vagrantfile b/Vagrantfile
index fbb0c20..47716fd 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -7,7 +7,8 @@ INSTALL_DEPS=<<EOF
cd /vagrant
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get update
-sudo apt-get install -y --allow-unauthenticated python2.7-dev python3.4-dev python3.5-dev python3.6-dev python3.7-dev
+sudo apt-get install -y --allow-unauthenticated python2.7-dev python3.4-dev python3.5-dev python3.6-dev python3.7-dev python3.8-dev
+sudo apt-get install -y --allow-unauthenticated python3.8-distutils # Needed to work around python3.8+virtualenv issue
sudo apt-get install -y python-virtualenv git ipython python-pip python3-pip silversearcher-ag jq
sudo apt-get purge -y python3-virtualenv
sudo pip3 install virtualenv
diff --git a/run_tests.sh b/run_tests.sh
index 293a6fc..25a83d3 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -456,7 +456,7 @@ exit_code=0
# If the users specified 'all', then just replace $envs with the list of all envs
if [ "$envs" == "all" ]; then
- envs="27,34,35,36,37,pypy2,pypy35"
+ envs="27,34,35,36,37,38,pypy2,pypy35"
fi
original_envs="$envs"
envs=$(echo "$envs" | tr ',' '\n') # Split the env list on comma so we can loop through it
diff --git a/setup.py b/setup.py
index 8d06681..73232b2 100644
--- a/setup.py
+++ b/setup.py
@@ -57,6 +57,7 @@ setup(
"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",
"Environment :: Console",
diff --git a/test-requirements.txt b/test-requirements.txt
index c169d2a..eebd298 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,5 +1,5 @@
unittest2==1.1.0; python_version <= '2.7'
-flake8==3.5.0
+flake8==3.7.9
coverage==4.5.3
python-coveralls==2.9.2
radon==3.0.3