Skip to content

Commit 9635626

Browse files
committed
Update Python version information
Add Python 3.8 and enforce Python 3.6+. Update Tox and TravisCI configurations accordingly.
1 parent 7475ba3 commit 9635626

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

.travis.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
language: python
22

3+
dist: xenial
4+
35
services:
46
- docker
57

@@ -9,22 +11,17 @@ env:
911
- DOCKER_USER=jsf9k
1012
- secure: "IAbtmubLq2hL71aollQEfoV+t9Zbqn4rNVqi5YNerqxvXr6WiDzwmYUujOCnQiHli8xkIU0J8OSPX0aA4cOTxPGiZeNguGuVWmR2ZCB8SMyjbKJOEIpLZv/jG1Be6dVXiJwKwQM3yX4pqPfLIuYkE6S1GAodudPzcJ8xM/h1qzJijknJEqsCJQw43zSHZ/epYulgWcmnCAmaoehZTCjVcW4l8iyVHSNfgO7gu5iWC9y4AIIX96E9TZkSDeud1yqUcORMwfdOl2pHhDh3KnF8HZSOCetTHP7JacLUMJiiCpKN34Xn9RQgjbVKOrF/rcC8WEDrWKn14SFfgUP0dl6lCr6P9HE4aHKvrH/nCyflFOANbEKMywE8DzNA3zd7MC0HQkyb40LAiBSbTD58myUsc+WlmaZyvpJ7akukbmVjVPQWNvs1laz/bqyLdPh4WMqgOTbP7BrgDeIrCVedwdvhqq9KEaoak8RBs/Wb8LisI6j+vAY/HKlVnuIXRL0RNGTko96kBluEpAsWDjls39Hmu5hl1glbqCWDW9+dE0/Zx4MuSt4OVAywMW+lzxA16SdqDLCZqGv00vnPpxuBAvEEQbVtsmQ6lR+fwTYKFEDZM7axRwBlLzIDEzSoz4K0fSq3EuU4mkoVZKcHGnuHuRqaNhce0zzZx3lHdNTm7oa7b0U="
1113

12-
# Matrix approach here due to: https://github.com/travis-ci/travis-ci/issues/9815
13-
matrix:
14-
include:
15-
- python: 3.6
16-
dist: xenial
17-
sudo: true
18-
- python: 3.7
19-
dist: xenial
20-
sudo: true
14+
python:
15+
- 3.6
16+
- 3.7
17+
- 3.8
2118

2219
before_install:
2320
- sudo apt-get install -y shellcheck
2421

2522
install:
2623
- pip install flake8 pytest-cov pytest coveralls
27-
- pip install -e .
24+
- pip install --editable .
2825

2926
script:
3027
- shellcheck bump_version.sh tag.sh travis_scripts/*.sh
@@ -43,7 +40,7 @@ deploy:
4340
distributions: sdist bdist_wheel
4441
on:
4542
tags: true
46-
python: '3.7'
43+
python: '3.8'
4744
# - provider: script
4845
# script: bash travis_scripts/deploy_to_docker_hub.sh
4946
# on:

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ def readme():
5353
"Programming Language :: Python :: 3",
5454
"Programming Language :: Python :: 3.6",
5555
"Programming Language :: Python :: 3.7",
56+
"Programming Language :: Python :: 3.8",
5657
],
58+
python_requires=">=3.6",
5759
# What does your project relate to?
5860
keywords="email authentication, STARTTLS",
5961
packages=["trustymail"],

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py34,py35,py36,py37,flake8
2+
envlist = py36,py37,py38,flake8
33
skip_missing_interpreters = true
44
; usedevelop = true
55

0 commit comments

Comments
 (0)