Skip to content

Commit

Permalink
Removed obsolete versions in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHuot committed Jan 6, 2024
1 parent 0fc850e commit 2035d69
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -2,7 +2,7 @@ OAuthLib - Python Framework for OAuth1 & OAuth2
===============================================

*A generic, spec-compliant, thorough implementation of the OAuth request-signing
logic for Python 3.6+.*
logic for Python 3.8+*

.. image:: https://github.com/oauthlib/oauthlib/actions/workflows/python-build.yml/badge.svg
:target: https://github.com/oauthlib/oauthlib/actions
Expand Down
13 changes: 6 additions & 7 deletions docs/contributing.rst
Expand Up @@ -152,8 +152,8 @@ request that fails this test suite will be **rejected**.
Testing multiple versions of Python
-----------------------------------

OAuthLib supports Python 3.5, 3.6, 3.7 and PyPy 2.7 & PyPy 3. Testing
all versions conveniently can be done using `Tox`_.
OAuthLib supports Python 3.8+ & PyPy 3. Testing
all versions conveniently at once can be done using `Tox`_.

.. sourcecode:: bash

Expand All @@ -167,11 +167,10 @@ The versions beloew may not be up to date.

.. sourcecode:: bash

$ pyenv install 3.5.7
$ pyenv install 3.6.9
$ pyenv install 3.7.4
$ pyenv install pypy2.7-7.1.1
$ pyenv install pypy3.6-7.1.1
$ pyenv install -l # check which versions you want to use
$ pyenv install 3.8.18
$ pyenv install 3.11.7
$ pyenv install pypy3.10-7.3.13

.. _`Tox`: https://tox.readthedocs.io/en/latest/install.html
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/installation/
Expand Down
2 changes: 1 addition & 1 deletion docs/oauth1/security.rst
Expand Up @@ -17,7 +17,7 @@ A few important facts regarding OAuth security
* **Tokens must be random**, OAuthLib provides a method for generating
secure tokens and it's packed into ``oauthlib.common.generate_token``,
use it. If you decide to roll your own, use ``secrets.SystemRandom``
for Python 3.6 and later. The ``secrets`` module is designed for
for Python 3.8 and later. The ``secrets`` module is designed for
generating cryptographically strong random numbers. For earlier versions
of Python, use ``random.SystemRandom`` which is based on ``os.urandom``
rather than the default ``random`` based on the efficient but not truly
Expand Down

0 comments on commit 2035d69

Please sign in to comment.