From 233328d4955546df57b2f82e5b05bb9d129568b3 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Mon, 28 Oct 2019 16:00:38 +0100 Subject: [PATCH] Test with Python 3.8 (and drop support for 3.4) --- .travis.yml | 4 ++-- Jenkinsfile | 3 ++- README.md | 2 +- setup.cfg | 2 +- setup.py | 4 ++-- tox.ini | 2 +- 6 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index b7ec51372..511040303 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ language: python python: - "2.7" - - "3.4" - "3.5" - "3.6" - "3.7" + - "3.8" cache: pip dist: xenial # command to install dependencies @@ -27,4 +27,4 @@ deploy: script: .github/deploy.sh on: branch: master - python: 3.7 + python: 3.8 diff --git a/Jenkinsfile b/Jenkinsfile index 938a27f3e..0339dbbb8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,6 @@ def pys = [ - [name: 'Python 3.7', docker:'python:3.7-buster', tox:'py37,flake8', main: true], + [name: 'Python 3.8', docker:'python:3.8-buster', tox:'py38,flake8', main: true], + [name: 'Python 3.7', docker:'python:3.7-buster', tox:'py37', main: false], [name: 'Python 3.6', docker:'python:3.6-buster', tox:'py36', main: false], [name: 'Python 3.5', docker:'python:3.5-buster', tox:'py35', main: false], [name: 'Python 2.7', docker:'python:2.7-buster', tox:'py27', main: false] diff --git a/README.md b/README.md index 680ecda8e..a83fd0d18 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ For advanced options and features execute `dosage --help`. ## Dependencies [Python](http://www.python.org/): for Python 2.x at least 2.7.0, for Python 3.x -at least Python 3.4. Dosage requires the following Python modules: +at least Python 3.5. Dosage requires the following Python modules: - colorama - lxml diff --git a/setup.cfg b/setup.cfg index ea9089f25..3100560ea 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,10 +19,10 @@ classifier = 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 + Programming Language :: Python :: 3.8 Operating System :: OS Independent [files] diff --git a/setup.py b/setup.py index bb698747c..6dceb38cd 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs # Copyright (C) 2012-2014 Bastian Kleineidam -# Copyright (C) 2015-2018 Tobias Gruetzmacher +# Copyright (C) 2015-2019 Tobias Gruetzmacher from __future__ import absolute_import, division, print_function @@ -10,6 +10,6 @@ from setuptools import setup setup( setup_requires=['pbr>=1.9', 'setuptools>=17.1'], - python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', pbr=True, ) diff --git a/tox.ini b/tox.ini index 83ec1311f..76eff28f9 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py34, py35, py36, py37, flake8 +envlist = py27, py35, py36, py37, py38, flake8 [testenv] commands =