Skip to content

Commit 58cb29a

Browse files
committed
Removed deprecated python versions, following oauthlib downstream compatibility
1 parent 0146ecb commit 58cb29a

File tree

3 files changed

+14
-28
lines changed

3 files changed

+14
-28
lines changed

AUTHORS.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
Requests-oauthlib is written and maintained by Kenneth Reitz and various
2-
contributors:
1+
Requests-oauthlib has been written by Kenneth Reitz, various contributors:
32

4-
Development Lead
3+
Initial Write-up
54
----------------
65

76
- Kenneth Reitz <me@kennethreitz.com>
87

9-
Patches and Suggestions
10-
-----------------------
8+
Maintainers & Contributors
9+
--------------------------
1110

1211
- Cory Benfield <cory@lukasa.co.uk>
1312
- Ib Lundgren <ib.lundgren@gmail.com>
1413
- Devin Sevilla <dasevilla@gmail.com>
1514
- Imad Mouhtassem <mouhtasi@gmail.com>
1615
- Johan Euphrosine <proppy@google.com>
1716
- Johannes Spielmann <js@shezi.de>
17+
- Jonathan Huot <jonathan.huot@gmail.com>
1818
- Martin Trigaux <me@mart-e.be>
1919
- Matt McClure <matt.mcclure@mapmyfitness.com>
2020
- Mikhail Sobolev <mss@mawhrin.net>

docs/contributing.rst

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Test simple changes
77

88
Requests-OAuthlib is using `tox`_ as main test tool.
99
It helps creating the required virtualenv for your python version.
10-
For example, if you have installed Python3.7:
10+
For example, if you have installed Python3.8:
1111

1212
.. sourcecode:: bash
1313

14-
$ tox -e py37
14+
$ tox -e py38
1515

1616

1717
Validate documentation changes
@@ -40,13 +40,8 @@ In order to run successfully, you will need all versions of Python installed. We
4040

4141
.. sourcecode:: bash
4242

43-
$ pyenv install 2.7.18
44-
$ pyenv install 3.4.10
45-
$ pyenv install 3.5.10
46-
$ pyenv install 3.6.14
47-
$ pyenv install 3.7.11
48-
$ pyenv install pypy2.7-7.1.1
49-
$ pyenv install pypy3.6-7.1.1
43+
$ pyenv install 3.8.18
44+
$ pyenv install pypy3.10-7.3.13
5045

5146

5247
Publishing a release (for maintainer role)

tox.ini

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,34 @@
11
[tox]
2-
envlist=py{27,34,35,36,37,38,39,310,311,312,py,py3},docs,readme,black
2+
envlist=py{38,39,310,311,312,py3},docs,readme,black
33

44
[testenv]
55
description=run test on {basepython}
66
deps=
77
-r{toxinidir}/requirements-test.txt
88
commands=coverage run --source=requests_oauthlib -m unittest discover
99

10-
# special py27 requirements as upstream libraries stopped
11-
# supporting latest versions
12-
[testenv:py27]
13-
deps=
14-
-r{toxinidir}/requirements-test-27.txt
15-
[testenv:pypy]
16-
deps=
17-
-r{toxinidir}/requirements-test-27.txt
18-
1910
# tox -e docs to mimic readthedocs build.
2011
# should be similar to .readthedocs.yaml pipeline
2112
[testenv:docs]
2213
description=mimic readthedocs build
23-
basepython=python3.7
14+
basepython=python3.11
2415
skipsdist=True
2516
deps=
2617
-r{toxinidir}/docs/requirements.txt
2718
changedir=docs
28-
whitelist_externals=make
19+
allowlist_externals=make
2920
commands=make clean html
3021

3122
# tox -e readme to mimic pypi validation of readme/rst files.
3223
[testenv:readme]
3324
description=mimic pypi validation of readme/rst files
34-
basepython=python3.7
25+
basepython=python3.11
3526
deps=twine>=1.12.0
3627
commands=
3728
twine check .tox/dist/*
3829

3930
[testenv:black]
4031
description=show diff of code format
41-
basepython=python3.7
32+
basepython=python3.11
4233
deps=black
4334
commands=black --check --diff .

0 commit comments

Comments
 (0)