Skip to content

Update supported python versions in classifier #860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ request that fails this test suite will be **rejected**.
Testing multiple versions of Python
-----------------------------------

OAuthLib supports Python 3.6+ and PyPy3. 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
Original file line number Diff line number Diff line change
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
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def fread(fn):
platforms='any',
license='BSD-3-Clause',
packages=find_packages(exclude=('docs', 'tests', 'tests.*')),
python_requires='>=3.6',
python_requires='>=3.8',
extras_require={
'rsa': rsa_require,
'signedtoken': signedtoken_require,
Expand All @@ -52,8 +52,6 @@ def fread(fn):
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand Down