Skip to content

Commit b07d216

Browse files
committed
Add Python 3.8 & 3.9 as supported version
Since Py 3.8 & 3.9 is supported, we should update the identified, as it is shown on PIP and gives wrong impressions that Py 3.8 is not supported
1 parent fb3ec4e commit b07d216

File tree

3 files changed

+6
-39
lines changed

3 files changed

+6
-39
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
tox-env: py36
1818
- python-version: 3.7
1919
tox-env: py37,docs,readme,black
20+
- python-version: 3.8
21+
tox-env: py38
22+
- python-version: 3.9
23+
tox-env: py39
2024
- python-version: pypy3
2125
tox-env: pypy3
2226
steps:

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ def readall(path):
6060
"Programming Language :: Python :: 3.5",
6161
"Programming Language :: Python :: 3.6",
6262
"Programming Language :: Python :: 3.7",
63+
"Programming Language :: Python :: 3.8",
64+
"Programming Language :: Python :: 3.9",
6365
"Programming Language :: Python :: Implementation :: CPython",
6466
"Programming Language :: Python :: Implementation :: PyPy",
6567
],

tox.ini

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +0,0 @@
1-
[tox]
2-
envlist=py27,py34,py35,py36,py37,pypy,pypy3,docs,readme,black
3-
4-
[testenv]
5-
deps=
6-
-r{toxinidir}/requirements-test.txt
7-
commands=coverage run --source=requests_oauthlib -m unittest discover
8-
9-
# special py27 requirements as upstream libraries stopped
10-
# supporting latest versions
11-
[testenv:py27]
12-
deps=
13-
-r{toxinidir}/requirements-test-27.txt
14-
[testenv:pypy]
15-
deps=
16-
-r{toxinidir}/requirements-test-27.txt
17-
18-
# tox -e docs to mimick readthedocs build.
19-
# should be similar to .readthedocs.yaml pipeline
20-
[testenv:docs]
21-
basepython=python3.7
22-
skipsdist=True
23-
deps=
24-
-r{toxinidir}/docs/requirements.txt
25-
changedir=docs
26-
whitelist_externals=make
27-
commands=make clean html
28-
29-
# tox -e readme to mimick pypi validation of readme/rst files.
30-
[testenv:readme]
31-
basepython=python3.7
32-
deps=twine>=1.12.0
33-
commands=
34-
twine check .tox/dist/*
35-
36-
[testenv:black]
37-
basepython=python3.7
38-
deps=black
39-
commands=black --check .

0 commit comments

Comments
 (0)