Skip to content

Commit 637c894

Browse files
com4auvipy
authored andcommitted
Remove python 3.5 support; add python 3.8 support
- Python 3.5 has reached end-of-life. - Add support for Python 3.8 - Move dist to bionic (xenial is EOL in April) - Upgrade pip in travis.yml's `before_install`. this should install a wheel for pyca/cryptography - Install rust for pypy builds. It is a requirement for cryptography as no pypy wheels exist.
1 parent d54965b commit 637c894

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

.travis.yml

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
language: python
2-
python: 3.7
3-
dist: xenial
2+
python: 3.8
3+
dist: bionic
44
cache: pip
55
matrix:
66
include:
7-
- python: 3.5
8-
env: TOXENV=py35
97
- python: 3.6
108
env: TOXENV=py36
119
- python: 3.7
1210
env: TOXENV=py37
13-
- python: 3.7
11+
- python: 3.8
12+
env: TOXENV=py38
13+
- python: 3.8
1414
env: TOXENV=bandit
15-
- python: pypy3.5
15+
- python: pypy3
1616
env: TOXENV=pypy3
17-
install:
18-
- pip install -U setuptools
19-
- pip install tox coveralls
17+
before_install:
18+
- python -m pip install --upgrade pip setuptools
19+
- python -m pip install tox coveralls
20+
- if [ "$TOXENV" == "pypy3" ]; then curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && source $HOME/.cargo/env ; fi
2021
script: tox
2122
after_success: COVERALLS_PARALLEL=true coveralls
2223
notifications:

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ OAuthLib - Python Framework for OAuth1 & OAuth2
22
===============================================
33

44
*A generic, spec-compliant, thorough implementation of the OAuth request-signing
5-
logic for Python 3.5+.
5+
logic for Python 3.6+.
66
77
.. image:: https://travis-ci.org/oauthlib/oauthlib.svg?branch=master
88
:target: https://travis-ci.org/oauthlib/oauthlib

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def fread(fn):
3434
platforms='any',
3535
license='BSD',
3636
packages=find_packages(exclude=('docs', 'tests', 'tests.*')),
37-
python_requires='>=3.5',
37+
python_requires='>=3.6',
3838
extras_require={
3939
'rsa': rsa_require,
4040
'signedtoken': signedtoken_require,
@@ -51,9 +51,9 @@ def fread(fn):
5151
'Operating System :: POSIX :: Linux',
5252
'Programming Language :: Python',
5353
'Programming Language :: Python :: 3',
54-
'Programming Language :: Python :: 3.5',
5554
'Programming Language :: Python :: 3.6',
5655
'Programming Language :: Python :: 3.7',
56+
'Programming Language :: Python :: 3.8',
5757
'Programming Language :: Python :: 3 :: Only',
5858
'Programming Language :: Python :: Implementation',
5959
'Programming Language :: Python :: Implementation :: CPython',

tox.ini

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py35,py36,py37,pypy,pypy3,docs,readme,bandit,isort
2+
envlist = py36,py37,py38,pypy,pypy3,docs,readme,bandit,isort
33

44
[testenv]
55
deps=
@@ -22,21 +22,21 @@ commands=make clean html
2222

2323
# tox -e readme to mimick PyPI long_description check
2424
[testenv:readme]
25-
basepython=python3.7
25+
basepython=python3.8
2626
deps=twine>=1.12.0
2727
whitelist_externals=echo
2828
commands=
2929
twine check dist/*
3030

3131
[testenv:bandit]
32-
basepython=python3.7
32+
basepython=python3.8
3333
skipsdist=True
3434
deps=bandit
3535
commands=bandit -b bandit.json -r oauthlib/
3636
whitelist_externals=bandit
3737

3838
[testenv:isort]
39-
basepython = python3.7
39+
basepython = python3.8
4040
usedevelop = false
4141
deps = isort
4242
changedir = {toxinidir}

0 commit comments

Comments
 (0)