From 20532ec93c3be3cb649be628683d303e1d25aede Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 9 Nov 2019 16:45:40 +0200 Subject: [PATCH 1/3] Add support for Python 3.8 --- .travis.yml | 14 ++++++++------ appveyor.yml | 11 ++++++----- setup.py | 1 + tox.ini | 4 ++-- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3a9a96c..ed01656 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,8 +30,8 @@ jobs: cache: directories: - $HOME/.cache/pre-commit - - python: '3.7' - env: TOXENV=py37-pytestlatest + - python: '3.8' + env: TOXENV=py38-pytestlatest - python: '2.7' env: TOXENV=py27-pytestlatest @@ -43,12 +43,14 @@ jobs: - python: "3.6" env: TOXENV=py36-pytestlatest - python: "3.7" - env: TOXENV=py37-pytestmaster - - python: "3.7" - env: TOXENV=py37-pytestfeatures + env: TOXENV=py37-pytestlatest + - python: "3.8" + env: TOXENV=py38-pytestmaster + - python: "3.8" + env: TOXENV=py38-pytestfeatures - stage: deploy - python: '3.7' + python: '3.8' env: install: pip install -U setuptools setuptools_scm script: skip diff --git a/appveyor.yml b/appveyor.yml index d0b0d29..ea522dc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,17 +5,18 @@ environment: - TOXENV: "py35-pytestlatest" - TOXENV: "py36-pytestlatest" - TOXENV: "py37-pytestlatest" - - TOXENV: "py37-pytestmaster" - - TOXENV: "py37-pytestfeatures" + - TOXENV: "py38-pytestlatest" + - TOXENV: "py38-pytestmaster" + - TOXENV: "py38-pytestfeatures" install: - - C:\Python37\python -m pip install -U pip setuptools - - C:\Python37\python -m pip install -U tox setuptools_scm + - C:\Python38\python -m pip install -U pip setuptools + - C:\Python38\python -m pip install -U tox setuptools_scm build: false # Not a C# project, build stuff at the test step instead. test_script: - - C:\Python37\python -m tox + - C:\Python38\python -m tox # We don't deploy anything on tags with AppVeyor, we use Travis instead, so we # might as well save resources diff --git a/setup.py b/setup.py index 92a3dd8..e50898f 100644 --- a/setup.py +++ b/setup.py @@ -46,5 +46,6 @@ setup( "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", ], ) diff --git a/tox.ini b/tox.ini index d38b463..3a52a95 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] envlist= linting - py{27,34,35,36,37}-pytestlatest - py37-pytest{master,features} + py{27,34,35,36,37,38}-pytestlatest + py38-pytest{master,features} [testenv] passenv = USER USERNAME From 94d231c4628941fe1b6a7e2a2fddf4518e7d29ab Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 9 Nov 2019 16:50:34 +0200 Subject: [PATCH 2/3] Either appveyor.yml or .appveyor.yml is allowed, let's hide with other dotfiles --- appveyor.yml => .appveyor.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename appveyor.yml => .appveyor.yml (100%) diff --git a/appveyor.yml b/.appveyor.yml similarity index 100% rename from appveyor.yml rename to .appveyor.yml From 7eb08599c125bb876c3824f94874e2417da1196a Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 9 Nov 2019 17:02:35 +0200 Subject: [PATCH 3/3] Add news file --- changelog/486.feature | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/486.feature diff --git a/changelog/486.feature b/changelog/486.feature new file mode 100644 index 0000000..746bc5f --- /dev/null +++ b/changelog/486.feature @@ -0,0 +1 @@ +Add support for Python 3.8.