From 5b1e220f5ea6944cb606e54303cfc30349fbe130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Wed, 2 Dec 2020 12:43:20 +0100 Subject: [PATCH] tox: Bump our Python versions. --- .travis.yml | 12 ++++++------ setup.py | 4 ++-- tox.ini | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index ccd725b..84318a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,14 +16,14 @@ before_install: matrix: include: - - python: 3.6 - env: TOXENV=py36 - - python: 3.7 - env: TOXENV=py37 - - python: 3.7 + - python: 3.8 + env: TOXENV=py38 + - python: 3.9 + env: TOXENV=py39 + - python: 3.9 env: TOXENV=coverage -install: pip install tox-travis PyGObject dbus-python aioresponses +install: pip install tox-travis aioresponses script: tox after_success: diff --git a/setup.py b/setup.py index c70017f..5cbad28 100644 --- a/setup.py +++ b/setup.py @@ -27,14 +27,14 @@ setup( "peewee >= 3.13.1", "janus >= 0.5", "cachetools >= 3.0.0", - "prompt_toolkit>2<4", + "prompt_toolkit > 2, < 4", "typing;python_version<'3.5'", "matrix-nio[e2e] >= 0.14, < 0.16" ], extras_require={ "ui": [ "dbus-python >= 1.2, < 1.3", - "PyGObject >= 3.36, < 3.37", + "PyGObject >= 3.36, < 3.39", "pydbus >= 0.6, < 0.7", "notify2 >= 0.3, < 0.4", ] diff --git a/tox.ini b/tox.ini index fb97e24..2fb9dd8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,11 @@ # content of: tox.ini , put in same dir as setup.py [tox] -envlist = py36,py37,coverage +envlist = py38,py39,coverage [testenv] basepython = - py36: python3.6 - py37: python3.7 - py3: python3.7 + py38: python3.8 + py39: python3.9 + py3: python3.9 deps = -rtest-requirements.txt install_command = pip install {opts} {packages} @@ -15,7 +15,7 @@ commands = pytest usedevelop = True [testenv:coverage] -basepython = python3.7 +basepython = python3.9 commands = pytest --cov=pantalaimon --cov-report term-missing coverage xml